:root {
  color-scheme: dark;
  --bg: #0a0c14;
  --panel: #11141f;
  --line: #ffffff0c;
  --muted: #7b839a;
  --text: #eeeff7;
  --purple: #ad98f8;
  --mint: #8ed7c0;
  --sidebar: 218px;
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  border: 0;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid #c1aeff;
  outline-offset: 4px;
}
button,
input,
select {
  transition:
    background 0.2s,
    border-color 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
}
svg {
  flex-shrink: 0;
  vertical-align: middle;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 32px;
  font-weight: 650;
  letter-spacing: -1px;
  line-height: 1.3;
}
h2 {
  font-size: 19px;
  letter-spacing: -0.35px;
  font-weight: 600;
}
h3 {
  font-size: 16px;
  font-weight: 600;
}
button svg {
  pointer-events: none;
}
small {
  font-size: 11px;
}
::selection {
  background: #a899ed44;
  color: #fff;
}
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
::-webkit-scrollbar-thumb {
  background: #343348;
  border-radius: 5px;
}
::-webkit-scrollbar-track {
  background: #0b0e17;
}
.muted {
  color: var(--muted);
  font-size: 12px;
}
.eyebrow {
  font:
    500 9px/1.5 'Segoe UI',
    sans-serif;
  letter-spacing: 1.6px;
  color: #7e839b;
  text-transform: uppercase;
}
.small-print {
  font-size: 11px;
  line-height: 1.8;
}
.mint-text {
  color: #8ed7c0;
}
.amber-text {
  color: #e9b77c;
}
.shell {
  min-height: 100dvh;
}
.sidebar {
  width: var(--sidebar);
  background: #0d0f18;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  border-right: 1px solid var(--line);
  padding: 30px 18px 20px;
  display: flex;
  flex-direction: column;
  z-index: 5;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 2px 9px 40px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.7px;
}
.brand-mark {
  color: #c0b2f7;
}
.brand-light {
  font-weight: 350;
  margin-left: 3px;
}
.brand small {
  display: block;
  font-size: 7px;
  font-weight: 500;
  letter-spacing: 3px;
  margin-top: 5px;
  color: #777c91;
}
.nav-label {
  font-size: 8px;
  letter-spacing: 1.5px;
  color: #50576d;
  padding: 0 14px;
  margin-bottom: 15px;
}
.nav-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px;
  border-radius: 7px;
  background: transparent;
  color: #81869b;
  font-size: 12px;
  text-align: left;
  position: relative;
  margin-bottom: 6px;
}
.nav-item svg {
  width: 18px;
}
.nav-item small {
  margin-left: auto;
  font-size: 9px;
  color: #75768d;
}
.nav-item:hover {
  background: #ffffff04;
  color: #dcd9ec;
}
.nav-item.active {
  background: linear-gradient(90deg, #a295ef1d, #a295ef0b);
  color: #c6baff;
}
.nav-item.active:before {
  content: '';
  position: absolute;
  left: -18px;
  top: 14px;
  bottom: 14px;
  width: 2px;
  background: #bfa8ff;
  box-shadow: 0 0 12px #bda4ff66;
}
.sidebar-bottom {
  margin-top: auto;
}
.orbit-note {
  display: flex;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  padding: 17px 12px;
  border-radius: 8px;
  margin: 45px 3px 24px;
  color: #686e84;
  font-size: 10px;
  line-height: 1.9;
}
.orbit-note strong {
  font-weight: 400;
  color: #9093a7;
}
.tiny-orbit {
  width: 26px;
  height: 26px;
  border: 1px solid #6b5d9455;
  border-radius: 50%;
  position: relative;
}
.tiny-orbit:after {
  content: '';
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  border: 1px solid #b8a0ff;
  box-shadow: 0 0 13px #b197ff44;
}
.profile {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 20px 6px;
  margin-top: 18px;
  text-align: left;
}
.profile-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border: 1px solid #857aa344;
  border-radius: 9px;
  background: #aaa0d014;
  color: #b2a5e1;
}
.profile > span:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.profile strong {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 11px;
  font-weight: 600;
}
.profile small {
  display: block;
  color: #696e82;
  font-size: 9px;
  margin-top: 5px;
}
.profile > svg {
  color: #696e82;
}
.sidebar-footer {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 8px;
  letter-spacing: 1px;
  color: #60687d;
  padding: 20px 9px 0;
}
.sidebar-footer > span:last-child {
  margin-left: auto;
  font-size: 8px;
}
.status-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: #83ceb0;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 6px #83ceb022;
}
.status-dot.offline {
  background: #d6a36d;
}
.main-wrap {
  margin-left: var(--sidebar);
}
.topbar {
  height: 73px;
  padding: 0 36px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.breadcrumb {
  font-size: 9px;
  letter-spacing: 1.3px;
  color: #596176;
}
.breadcrumb span {
  margin: 0 14px;
  color: #3b4255;
}
.breadcrumb strong {
  color: #b1b4c3;
  font-weight: 500;
}
.topbar-right {
  display: flex;
  gap: 23px;
  align-items: center;
}
.connection-pill {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 10px;
  color: #999db0;
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  padding: 7px;
  color: #9397ae;
  border-radius: 6px;
}
.icon-button:hover {
  color: #fff;
  background: #ffffff09;
}
.pilot-badge {
  width: 29px;
  height: 29px;
  border-radius: 7px;
  background: #232432;
  border: 1px solid #ffffff0c;
  display: grid;
  place-items: center;
  font-size: 9px;
  color: #c5bedc;
}
.main-content {
  padding: 32px 36px 30px;
  max-width: 1640px;
  margin: auto;
  min-height: calc(100dvh - 129px);
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 27px;
  gap: 20px;
}
.page-heading .eyebrow {
  margin-bottom: 7px;
  color: #88809d;
}
.page-heading p {
  font-size: 12px;
  color: #888ba0;
  line-height: 1.7;
  margin-top: 8px;
}
.season-tag {
  display: flex;
  gap: 7px;
  align-items: center;
  border: 1px solid #91c6ad20;
  background: #91c6ad05;
  padding: 9px 11px;
  border-radius: 5px;
  color: #8cad9e;
  font-size: 8px;
  letter-spacing: 1px;
}
.hero-banner {
  height: 348px;
  position: relative;
  overflow: hidden;
  border: 1px solid #9c87db2c;
  border-radius: 12px;
  background:
    radial-gradient(ellipse at 78% 60%, #32204738, transparent 60%),
    linear-gradient(110deg, #181522, #0a0d18 55%, #111326);
  isolation: isolate;
}
.hero-banner canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.hero-banner:after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #12121deb, transparent 65%);
  z-index: -1;
}
.hero-content {
  padding: 37px 35px;
  position: relative;
  z-index: 2;
  pointer-events: none;
}
.hero-content button {
  pointer-events: auto;
}
.banner-label {
  font-size: 8px;
  letter-spacing: 2.2px;
  color: #c4b0f8;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}
.banner-label > span {
  display: block;
  width: 15px;
  height: 1px;
  background: #c4b0f8;
}
.hero-content h2 {
  font-size: clamp(28px, 2.75vw, 47px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -1.1px;
  max-width: 560px;
}
.hero-content h2 span {
  color: #bba4f4;
}
.hero-content > p {
  color: #9996ae;
  font-size: 11px;
  line-height: 1.9;
  margin-top: 17px;
}
.banner-actions {
  display: flex;
  gap: 10px;
  margin-top: 23px;
}
.button {
  padding: 12px 17px;
  border: 1px solid transparent;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  min-height: 41px;
}
.button:hover:not(:disabled) {
  transform: translateY(-1px);
}
.button.primary {
  background: #b9a3f6;
  color: #1a142c;
  border-color: #d3c0ff33;
  box-shadow: 0 3px 18px #9b72f312;
}
.button.primary:hover:not(:disabled) {
  background: #c8b5ff;
  box-shadow: 0 4px 23px #9b72f32a;
}
.button.primary svg:last-child:not(:first-child) {
  margin-left: 7px;
}
.button.secondary {
  background: #1c1e2c;
  border-color: #ffffff12;
  color: #dedbed;
}
.button.secondary:hover {
  background: #282638;
}
.button.glass {
  background: #b9a3f609;
  border-color: #cbb9ef27;
  color: #d9cdee;
}
.button.ghost {
  background: transparent;
  border-color: #ffffff12;
  color: #999daf;
}
.button.small {
  padding: 9px 13px;
  min-height: 35px;
  font-size: 10px;
}
.button.wide {
  width: 100%;
}
.banner-facts {
  display: flex;
  gap: 18px;
  margin-top: 24px;
  color: #8c889c;
  font-size: 9px;
}
.banner-facts span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.banner-facts svg {
  color: #8f809f;
  width: 13px;
}
.hole-annotation {
  position: absolute;
  right: 24px;
  top: 30px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #9c8caf;
  font-size: 8px;
  letter-spacing: 1.5px;
}
.hole-annotation small {
  display: block;
  margin-top: 5px;
  font-size: 6px;
  letter-spacing: 1.1px;
  color: #716780;
}
.crosshair {
  font-size: 28px;
  font-weight: 200;
  color: #9e88bd;
}
.hero-coordinates {
  position: absolute;
  bottom: 20px;
  right: 25px;
  font-family: monospace;
  font-size: 7px;
  letter-spacing: 0.7px;
  color: #766681;
}
.play-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 17px 0 31px;
}
.option-card {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 18px 20px;
  background: #12141f;
  border: 1px solid #ffffff0b;
  border-radius: 8px;
  text-align: left;
}
.option-card:hover {
  border-color: #a395db44;
  background: #171826;
}
.option-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 9px;
}
.option-icon.purple {
  color: #b8a4f3;
  background: #b8a4f30a;
  border: 1px solid #b8a4f31c;
}
.option-icon.mint {
  color: #89cdbb;
  background: #89cdbb08;
  border: 1px solid #89cdbb16;
}
.option-card strong {
  display: block;
  font-weight: 550;
  font-size: 12px;
}
.option-card small {
  display: block;
  font-size: 10px;
  color: #777d92;
  margin-top: 5px;
}
.option-tag {
  margin-left: auto;
  font-size: 7px;
  letter-spacing: 1px;
  color: #7f8398;
  border: 1px solid #ffffff09;
  padding: 5px 6px;
  border-radius: 3px;
}
.option-card > svg {
  color: #6e7086;
  width: 15px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 18px;
}
.section-heading .eyebrow {
  margin-bottom: 6px;
  font-size: 8px;
  letter-spacing: 1.3px;
}
.section-heading h2 {
  font-size: 17px;
}
.count-badge {
  font-size: 9px;
  letter-spacing: 0;
  background: #a99bbc0c;
  border: 1px solid #a99bbc13;
  color: #928ba6;
  padding: 3px 6px;
  border-radius: 4px;
  vertical-align: middle;
  margin-left: 10px;
}
.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #a49eaf;
  background: transparent;
  font-size: 10px;
  padding: 3px 0;
  white-space: nowrap;
}
.text-button:hover {
  color: #d4bfff;
}
.hero-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 11px;
}
.hero-card {
  background: linear-gradient(150deg, color-mix(in srgb, var(--hero) 8%, #141724), #11151e);
  padding: 0;
  text-align: left;
  border: 1px solid #ffffff0c;
  border-radius: 7px;
  overflow: hidden;
  position: relative;
}
.hero-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--hero) 50%, transparent);
  box-shadow: 0 6px 24px #0004;
}
.hero-card.selected {
  border-color: var(--hero);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--hero) 10%, transparent);
}
.hero-card-art {
  height: 158px;
  overflow: hidden;
  position: relative;
}
.hero-card-art:after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 65%, #11141f66);
}
.hero-card-art .portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.23);
  transform-origin: center 35%;
  transition: transform 0.4s;
}
.hero-card:hover .portrait {
  transform: scale(1.31);
}
.hero-number {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 8px;
  font-family: monospace;
  color: color-mix(in srgb, var(--hero) 55%, transparent);
}
.selected-check {
  position: absolute;
  right: 7px;
  top: 7px;
  width: 18px;
  height: 18px;
  background: var(--hero);
  display: grid;
  place-items: center;
  color: #161625;
  border-radius: 50%;
  z-index: 1;
}
.hero-card-label {
  padding: 12px;
  border-top: 1px solid #ffffff07;
  background: #10131c90;
  position: relative;
}
.hero-card-label strong {
  display: block;
  font-size: 12px;
  letter-spacing: 1px;
  font-weight: 700;
}
.hero-card-label span {
  display: block;
  margin-top: 5px;
  color: #777d91;
  font-size: 9px;
}
.hero-card.selected .hero-card-label strong {
  color: var(--hero);
}
.selected-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  color: #6f748a;
  font-size: 10px;
}
.selected-summary > span:first-child {
  font-size: 17px;
}
.selected-summary strong {
  color: #b5afc6;
  font-size: 9px;
  letter-spacing: 0.8px;
}
.summary-separator {
  height: 11px;
  width: 1px;
  background: #ffffff15;
  margin: 0 3px;
}
.selected-summary .text-button {
  margin-left: auto;
  font-size: 9px;
}
.bottom-panels {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 15px;
  margin-top: 28px;
}
.tip-panel,
.record-panel {
  border: 1px solid #ffffff0b;
  border-radius: 7px;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 18px;
  background: linear-gradient(120deg, #a28add04, transparent);
}
.tip-mark {
  color: #90809f;
}
.tip-panel .eyebrow {
  font-size: 7px;
  color: #9a8daa;
  letter-spacing: 1.2px;
}
.tip-panel p {
  font-size: 10px;
  line-height: 1.7;
  margin-top: 5px;
  color: #7e7c91;
}
.tip-panel strong {
  font-weight: 400;
  color: #afa7bd;
}
.tip-panel .text-button {
  margin-left: auto;
  font-size: 9px;
}
.record-panel {
  color: #8f859f;
  gap: 13px;
}
.record-panel > div span {
  font-size: 9px;
  display: block;
  color: #7d7b90;
}
.record-panel strong {
  display: block;
  margin-top: 5px;
  font-family: monospace;
  letter-spacing: 2px;
  font-size: 17px;
  color: #c9c5d6;
  font-weight: 400;
}
.record-panel > span {
  font-size: 6px;
  letter-spacing: 1.1px;
  margin-left: auto;
  color: #636277;
  align-self: flex-start;
  padding-top: 4px;
}
.main-footer {
  max-width: 1640px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 19px 36px;
  color: #484f65;
  font-size: 7px;
  letter-spacing: 0.7px;
  border-top: 1px solid var(--line);
}
.main-footer > span:first-child {
  font-weight: 600;
  font-size: 6px;
  letter-spacing: 1px;
}
.main-footer i {
  font-style: normal;
  padding: 0 4px;
  color: #6b5e80;
}
/* Crew selection */
.hero-detail {
  display: grid;
  grid-template-columns: 40% 60%;
  background:
    radial-gradient(ellipse at 13% 60%, color-mix(in srgb, var(--hero) 11%, transparent), transparent 55%),
    #11141f;
  border: 1px solid #ffffff10;
  border-radius: 12px;
  margin-bottom: 30px;
  overflow: hidden;
  min-height: 480px;
}
.hero-showcase {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.hero-showcase > .portrait {
  width: 100%;
  max-width: 370px;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 10px 45px #0008);
}
.showcase-orbit {
  position: absolute;
  width: 80%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--hero) 20%, transparent);
  top: 15%;
  left: 10%;
}
.showcase-orbit:before,
.showcase-orbit:after {
  content: '';
  position: absolute;
  inset: -25px;
  border: 1px dashed color-mix(in srgb, var(--hero) 9%, transparent);
  border-radius: 50%;
}
.showcase-orbit:after {
  inset: 30px;
  border-style: solid;
}
.showcase-number {
  position: absolute;
  top: 20px;
  left: 24px;
  font-size: 70px;
  font-weight: 800;
  color: color-mix(in srgb, var(--hero) 10%, transparent);
  letter-spacing: -4px;
}
.showcase-class {
  position: absolute;
  bottom: 22px;
  left: 20px;
  color: var(--hero);
  font-size: 9px;
  letter-spacing: 2px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  z-index: 2;
}
.hero-bio {
  padding: 35px 40px 35px 10px;
}
.hero-bio > h2 {
  font-size: 54px;
  font-weight: 800;
  letter-spacing: 1px;
  margin: 7px 0;
}
.hero-bio > p {
  font-size: 12px;
  line-height: 1.8;
  color: #8d91a7;
  max-width: 560px;
}
.difficulty {
  font-size: 8px;
  letter-spacing: 1px;
  color: #757b91;
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 18px;
}
.difficulty > span {
  display: flex;
  gap: 4px;
}
.difficulty i {
  height: 5px;
  width: 19px;
  background: #373545;
  transform: skew(-20deg);
}
.difficulty i.filled {
  background: var(--hero);
}
.passive {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--hero);
  font-size: 10px;
  margin: 19px 0;
  padding: 11px;
  background: color-mix(in srgb, var(--hero) 6%, transparent);
  border: 1px solid color-mix(in srgb, var(--hero) 12%, transparent);
  border-radius: 5px;
}
.abilities-list {
  display: grid;
  gap: 16px;
}
.ability-description {
  display: flex;
  gap: 14px;
  align-items: center;
}
.ability-symbol {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid color-mix(in srgb, var(--hero) 25%, transparent);
  border-radius: 7px;
  font-size: 25px;
  color: var(--hero);
  background: color-mix(in srgb, var(--hero) 5%, transparent);
  flex-shrink: 0;
}
.ability-description > div {
  flex: 1;
}
.ability-description strong {
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 7px;
}
.ability-description small {
  margin-left: auto;
  font-weight: 400;
  color: #7e7d91;
  font-size: 9px;
}
.ability-description p {
  font-size: 10px;
  line-height: 1.6;
  color: #85879d;
  margin-top: 5px;
}
.hero-detail-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 25px;
}
.chosen-tag {
  display: flex;
  gap: 6px;
  color: #82baa7;
  font-size: 10px;
}
kbd {
  display: inline-grid;
  place-items: center;
  background: #c7bbf211;
  border: 1px solid #c7bbf222;
  border-bottom-width: 2px;
  min-width: 22px;
  height: 23px;
  padding: 1px 5px;
  border-radius: 4px;
  color: #b8b3c6;
  font: 10px/1 monospace;
}
/* Rooms and lobby */
.room-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 24px;
}
.room-toolbar > div:last-child {
  display: flex;
  gap: 20px;
  align-items: center;
}
.segmented {
  display: flex;
  padding: 4px;
  border-radius: 6px;
  background: #141620;
  border: 1px solid #ffffff09;
}
.segmented button {
  color: #868b9e;
  background: transparent;
  padding: 9px 13px;
  font-size: 11px;
  border-radius: 4px;
}
.segmented button.active {
  background: #282336;
  color: #d1c1f4;
}
.segmented small {
  margin-left: 5px;
  color: #867b9d;
}
.rooms-list {
  display: grid;
  gap: 12px;
}
.room-card {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 23px;
  background: #11141e;
  border: 1px solid #ffffff0d;
  border-radius: 8px;
}
.room-emblem {
  width: 65px;
  height: 65px;
  background: radial-gradient(#74629b33, transparent);
  display: grid;
  place-items: center;
  color: #b39bd9;
  border: 1px solid #b39bd917;
  border-radius: 50%;
}
.room-info {
  flex: 1;
}
.room-info .eyebrow {
  font-size: 9px;
}
.room-info h3 {
  margin: 9px 0 7px;
}
.room-info p {
  font-size: 11px;
  color: #757d95;
}
.room-info p span {
  padding: 0 8px;
}
.room-state {
  font-size: 7px;
  padding: 4px 6px;
  color: #c49e77;
  background: #c49e7710;
  border-radius: 3px;
  margin-left: 8px;
  letter-spacing: 1px;
}
.room-state.open {
  color: #88bea9;
  background: #88bea910;
}
.room-capacity {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 5px 9px;
  margin-right: 20px;
  color: #a7a5bd;
}
.room-capacity strong {
  font-size: 13px;
}
.room-capacity strong span {
  font-weight: 400;
  color: #63677d;
}
.room-capacity small {
  grid-column: 2;
  color: #63677d;
  font-size: 9px;
}
.empty-state {
  min-height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  border: 1px solid #ffffff0c;
  border-radius: 10px;
  background: radial-gradient(ellipse at center, #8465bd0b, transparent 60%);
  padding: 40px;
}
.empty-orbit {
  height: 135px;
  display: grid;
  place-items: center;
  color: #9d88cc;
  filter: drop-shadow(0 0 25px #997dc144);
}
.empty-state h2 {
  font-size: 25px;
  margin: 14px 0;
}
.empty-state p {
  font-size: 12px;
  line-height: 1.9;
  color: #7e8398;
  margin-bottom: 25px;
}
.lobby-layout {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 23px;
}
.panel {
  padding: 24px;
  background: #11141f;
  border: 1px solid #ffffff0c;
  border-radius: 9px;
}
.lobby-layout .panel {
  margin-bottom: 18px;
}
.invite-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 17px 20px;
  background: #a58ce60b;
  border: 1px solid #a58ce627;
  border-radius: 8px;
  margin-bottom: 18px;
}
.invite-bar > span {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 11px;
  color: #b3a4cb;
}
.room-code {
  display: flex;
  align-items: center;
  gap: 9px;
  background: transparent;
  letter-spacing: 3px;
  color: #d0bef6;
  font: 600 18px monospace;
}
.crew-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid #ffffff06;
}
.crew-avatar {
  width: 44px;
  height: 46px;
  border: 1px solid color-mix(in srgb, var(--hero) 30%, transparent);
  border-radius: 7px;
  background: color-mix(in srgb, var(--hero) 8%, transparent);
  overflow: hidden;
}
.crew-avatar .portrait {
  width: 100%;
  height: 100%;
  transform: scale(1.5);
  transform-origin: 50% 35%;
}
.crew-row > div:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.crew-row strong {
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.crew-row strong svg {
  color: #e6c182;
}
.crew-row small {
  display: block;
  font-size: 9px;
  color: #737990;
  margin-top: 5px;
}
.you-tag {
  font-size: 7px;
  letter-spacing: 0.7px;
  color: #a49bb8;
  padding: 3px 4px;
  border-radius: 3px;
  background: #b2a1d110;
}
.ready-state {
  font-size: 9px;
  color: #88879b;
  display: flex;
  gap: 5px;
  align-items: center;
}
.ready-state.ready {
  color: #84c3ac;
}
.bot-avatar {
  width: 44px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px dashed #ffffff18;
  border-radius: 7px;
  color: #636c84;
}
.bot-row strong {
  color: #858ba1;
  font-weight: 400;
}
.bot-row .ready-state {
  color: #588b7a;
}
.empty-slot {
  height: 57px;
  border-bottom: 1px dashed #ffffff09;
  opacity: 0.65;
}
.empty-slot > span {
  width: 44px;
  font-size: 20px;
  text-align: center;
  color: #4a536c;
}
.empty-slot small {
  margin: 0;
}
.lobby-launch {
  margin-top: 21px;
  text-align: center;
}
.lobby-launch > small {
  display: block;
  font-size: 9px;
  color: #676e83;
  margin-top: 10px;
}
.lobby-hero-art {
  display: flex;
  align-items: center;
  gap: 15px;
}
.lobby-hero-art > .portrait {
  width: 110px;
  height: 132px;
  margin-bottom: 8px;
}
.lobby-hero-art h2 {
  font-size: 29px;
  font-weight: 800;
  letter-spacing: 0.6px;
}
.lobby-hero-art p {
  color: #777b91;
  font-size: 10px;
  margin: 6px 0 12px;
}
.mini-hero-picker {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 5px;
}
.mini-hero-picker button {
  aspect-ratio: 1;
  background: color-mix(in srgb, var(--hero) 7%, transparent);
  border: 1px solid color-mix(in srgb, var(--hero) 15%, transparent);
  border-radius: 5px;
  color: var(--hero);
  font-size: 18px;
}
.mini-hero-picker button.active {
  border-color: var(--hero);
  background: color-mix(in srgb, var(--hero) 18%, transparent);
}
.chat-panel .section-heading {
  margin-bottom: 12px;
}
.chat-messages {
  height: 104px;
  overflow: auto;
  margin-bottom: 14px;
  font-size: 11px;
  line-height: 1.7;
}
.chat-messages p {
  padding: 4px 0;
  color: #a09bb3;
  overflow-wrap: anywhere;
}
.chat-messages strong {
  color: #c1acd9;
  font-weight: 500;
  margin-right: 6px;
}
.chat-form {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid #ffffff09;
}
.chat-form input {
  background: transparent;
  border: 0;
  padding: 0;
  font-size: 11px;
}
.chat-form .icon-button {
  color: #b5a2e3;
}
.chat-panel .eyebrow {
  font-size: 7px;
}
/* Forms and dialogs */
label {
  display: block;
  font-size: 10px;
  font-weight: 500;
  color: #a5a5b8;
}
input,
select {
  display: block;
  width: 100%;
  background: #0b0e18;
  color: #d8d6e5;
  border: 1px solid #ffffff14;
  border-radius: 5px;
  padding: 11px 12px;
  margin-top: 8px;
  font-size: 12px;
  min-width: 0;
}
select {
  appearance: auto;
  cursor: pointer;
  font-size: 11px;
  padding: 11px 9px;
}
select:disabled {
  opacity: 0.6;
  cursor: default;
}
input::placeholder {
  color: #555b72;
}
input:focus,
select:focus {
  border-color: #a692db88;
  outline: none;
  box-shadow: 0 0 0 3px #a692db0a;
}
.form-two,
.settings-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px 15px;
}
.settings-fields {
  margin: 20px 0;
}
.form-divider {
  font-size: 8px;
  letter-spacing: 1.5px;
  color: #636a80;
  border-bottom: 1px solid #ffffff09;
  padding: 22px 0 11px;
}
.toggle-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  gap: 16px;
  padding: 14px 0;
  grid-column: 1/-1;
}
.toggle-field > span:first-child {
  flex: 1;
}
.toggle-field small {
  display: block;
  font-size: 9px;
  color: #6a728a;
  font-weight: 400;
  margin-top: 6px;
}
.toggle-field input {
  position: absolute;
  right: 0;
  width: 36px;
  height: 22px;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}
.switch {
  width: 35px;
  height: 20px;
  border-radius: 12px;
  border: 1px solid #ffffff14;
  background: #292a38;
  position: relative;
  flex-shrink: 0;
  pointer-events: none;
}
.switch:after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #85869a;
  transition: transform 0.2s;
}
.toggle-field input:checked + .switch {
  background: #ad99ec;
  border-color: #bdadf0;
}
.toggle-field input:checked + .switch:after {
  background: #282037;
  transform: translateX(15px);
}
.toggle-field input:focus-visible + .switch {
  outline: 2px solid #c6b4ff;
  outline-offset: 4px;
}
.form-note {
  display: block;
  text-align: center;
  color: #626a83;
  font-size: 9px;
  margin-top: 13px;
}
.modal-open {
  overflow: hidden;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: #050611c9;
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px;
  animation: fade-in 0.2s;
}
.modal {
  position: relative;
  background: linear-gradient(135deg, #191827, #10141f);
  border: 1px solid #b9a1e92c;
  border-radius: 13px;
  padding: 33px;
  width: 540px;
  max-width: 100%;
  max-height: calc(100dvh - 50px);
  overflow: auto;
  box-shadow: 0 25px 100px #0009;
}
.modal > .eyebrow {
  color: #8e7ba7;
  font-size: 8px;
  margin: 0 0 12px;
}
.modal h2 {
  font-size: 24px;
  letter-spacing: -0.6px;
  font-weight: 600;
}
.modal-subtitle {
  font-size: 11px;
  line-height: 1.8;
  color: #8a87a0;
  margin: 10px 0 25px;
  max-width: 90%;
}
.modal-close {
  position: absolute;
  right: 17px;
  top: 15px;
}
.modal form > label {
  margin-bottom: 21px;
}
.modal .code-input {
  font: 600 24px monospace;
  letter-spacing: 8px;
  text-align: center;
  text-transform: uppercase;
  padding: 16px;
}
.pause-actions {
  display: grid;
  gap: 12px;
}
.toast {
  padding: 14px 19px;
  border: 1px solid #b6a6e738;
  border-radius: 7px;
  background: #201d30ee;
  box-shadow: 0 6px 30px #0005;
  color: #e0d8f6;
  font-size: 12px;
  line-height: 1.5;
  max-width: 380px;
  animation: toast-in 0.3s ease;
}
.toast.error {
  border-color: #e9979944;
  color: #f1babc;
  background: #2c1e2aee;
}
#toasts {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  display: grid;
  gap: 10px;
  pointer-events: none;
}
.preferences-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 25px;
  max-width: 1000px;
}
.preferences h2 {
  margin-bottom: 20px;
}
.preferences .toggle-field {
  padding: 23px 0;
  border-bottom: 1px solid #ffffff08;
  font-size: 13px;
}
.preferences .toggle-field:last-child {
  border: 0;
}
.range-field,
.select-field {
  padding: 23px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  border-bottom: 1px solid #ffffff08;
  font-size: 13px;
}
.range-field input {
  width: 50%;
  padding: 0;
  accent-color: #b9a3f6;
}
.select-field select {
  width: 55%;
  margin: 0;
}
.pilot-stats > .eyebrow {
  font-size: 8px;
}
.pilot-stats h2 {
  font-size: 24px;
  margin: 15px 0 20px;
}
.pilot-stats > div {
  border-bottom: 1px solid #ffffff09;
  padding: 18px 0;
  display: flex;
  align-items: center;
  gap: 20px;
}
.pilot-stats > div strong {
  font-size: 30px;
  font-family: monospace;
  font-weight: 400;
  color: #c1aceb;
  min-width: 100px;
}
.pilot-stats > div span {
  font-size: 11px;
  color: #7c829b;
}
.pilot-stats button {
  margin-top: 25px;
}
.guide-lead {
  background: linear-gradient(110deg, #9b7bdc0d, transparent);
  border: 1px solid #a79aba20;
  display: flex;
  gap: 38px;
  align-items: center;
  padding: 32px;
  border-radius: 10px;
  margin-bottom: 24px;
}
.guide-orbit {
  color: #b6a0e7;
}
.guide-lead h2 {
  font-size: 25px;
}
.guide-lead p {
  max-width: 760px;
  font-size: 12px;
  line-height: 1.9;
  color: #9390aa;
  margin: 13px 0;
}
.guide-lead strong {
  font-size: 11px;
  font-weight: 500;
  color: #c0b2da;
}
.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.step-number {
  font-size: 10px;
  letter-spacing: 3px;
  color: #8c72b5;
  display: block;
  margin-bottom: 17px;
}
.guide-grid h2 {
  font-size: 18px;
  margin-bottom: 20px;
}
.control-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 17px;
}
.control-row > span {
  display: flex;
  gap: 3px;
}
.control-row p {
  font-size: 10px;
  color: #9292a7;
  line-height: 1.5;
}
.control-row kbd {
  font-size: 8px;
  min-width: 18px;
  padding: 2px 4px;
  height: 22px;
}
.guide-item {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}
.guide-item > span {
  font-size: 30px;
  line-height: 1;
  color: #9686b6;
}
.guide-item strong {
  font-size: 12px;
  font-weight: 500;
}
.guide-item p,
.guide-paragraph {
  font-size: 11px;
  line-height: 1.9;
  color: #85879e;
  margin-top: 7px;
}
.guide-paragraph {
  margin-bottom: 20px;
}
.guide-paragraph strong {
  color: #c5bed8;
  font-weight: 500;
}
.guide-warning {
  display: flex;
  gap: 10px;
  background: #b4a08109;
  border: 1px solid #b4a08115;
  padding: 12px;
  border-radius: 5px;
  font-size: 10px;
  line-height: 1.8;
  color: #a49b9e;
}
.guide-warning svg {
  color: #bda181;
}
.phase-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-top: 26px;
  border: 1px solid #ffffff0b;
  border-radius: 9px;
  padding: 22px;
}
.phase-track > div {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 6px 10px;
}
.phase-track > div > span {
  font-size: 20px;
  font-family: monospace;
  grid-row: 1/3;
}
.phase-track strong {
  font-size: 11px;
  font-weight: 500;
}
.phase-track small {
  font-size: 9px;
  color: #6d7087;
}
/* The arena */
.game-screen {
  position: fixed;
  inset: 0;
  background: #080b16;
  overflow: hidden;
  touch-action: none;
  user-select: none;
}
.game-screen canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: crosshair;
}
.game-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 110px;
  padding: 25px 30px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background: linear-gradient(#070b16ba, transparent);
  pointer-events: none;
}
.game-top > * {
  pointer-events: auto;
}
.game-logo {
  display: flex;
  gap: 12px;
  align-items: center;
  color: #bfb0e7;
}
.game-logo strong {
  font-size: 14px;
  letter-spacing: 1.5px;
  color: #d7d5e8;
}
.match-info {
  text-align: center;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  min-width: 230px;
}
.match-info > span {
  display: block;
  font-size: 9px;
  letter-spacing: 2px;
  color: #b5a1e3;
}
.match-info > strong {
  display: block;
  font: 400 31px/1.5 monospace;
  letter-spacing: 3px;
  color: #ece5fa;
}
.match-info > span:last-child {
  font-size: 8px;
  letter-spacing: 1.5px;
  color: #87879e;
}
.game-top-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  color: #648b83;
  font: 9px monospace;
}
.game-left {
  position: absolute;
  top: 125px;
  left: 30px;
  pointer-events: none;
  width: 185px;
}
.gravity-label {
  padding: 14px 16px;
  background: #0d1222a8;
  border: 1px solid #978bad1c;
  border-radius: 6px;
  backdrop-filter: blur(5px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.gravity-label > span {
  font-size: 7px;
  letter-spacing: 1px;
  color: #87889e;
}
.gravity-label > strong {
  font: 12px monospace;
  color: #c4adeb;
}
.gravity-meter {
  width: 100%;
  height: 3px;
  background: #a79abb13;
  border-radius: 3px;
  overflow: hidden;
}
.gravity-meter i {
  display: block;
  background: linear-gradient(90deg, #a18ad2, #e395b0);
  height: 100%;
  transition: width 1s;
}
.survivor-list {
  padding: 16px 0;
}
.survivor {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  color: #8989a0;
  background: #0b101858;
  margin-bottom: 3px;
  border-radius: 4px;
  font-size: 10px;
}
.survivor > span:first-child {
  font-size: 15px;
  width: 18px;
  text-align: center;
}
.survivor > span:nth-child(2) {
  flex: 1;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.survivor small {
  font: 8px monospace;
  color: #799a8c;
}
.survivor.self {
  background: #a695dd14;
  color: #d0c5e5;
  border: 1px solid #b09add1b;
}
.survivor.eliminated {
  opacity: 0.4;
}
.survivor.eliminated > span:nth-child(2) {
  text-decoration: line-through;
}
.game-announcement {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  pointer-events: none;
  white-space: nowrap;
  text-shadow: 0 2px 20px #030511;
}
.game-announcement > span {
  display: block;
  font-size: 12px;
  letter-spacing: 4px;
  color: #c7b6e5;
}
.game-announcement > strong {
  display: block;
  font-size: 110px;
  line-height: 1.5;
  font-weight: 300;
  color: #e8ddff;
}
.game-announcement > strong.launch-text {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: 5px;
  margin-top: 20px;
}
.game-announcement > small {
  font-size: 10px;
  letter-spacing: 1px;
  color: #9a94b0;
  display: block;
  margin-top: 15px;
}
.game-announcement > .storm-warning {
  font-size: 14px;
  color: #eac087;
  letter-spacing: 2px;
  background: #271e1599;
  border: 1px solid #efbe7a33;
  padding: 14px 20px;
  border-radius: 5px;
}
.game-feed {
  position: absolute;
  right: 28px;
  top: 115px;
  pointer-events: none;
  text-align: right;
}
.game-feed > div {
  font-size: 10px;
  padding: 9px 13px;
  color: #b09ba8;
  background: #1c152333;
  border-right: 2px solid #a9739744;
  margin-bottom: 5px;
  animation: fade-in 0.3s;
}
.game-bottom {
  position: absolute;
  bottom: 30px;
  left: 28px;
  right: 220px;
  display: flex;
  align-items: flex-end;
  gap: 25px;
  pointer-events: none;
}
.game-bottom > div {
  pointer-events: auto;
}
.player-hud {
  display: flex;
  gap: 11px;
  align-items: center;
  background: #0d1120d9;
  border: 1px solid #b6a5d920;
  border-radius: 9px;
  padding: 10px 16px 10px 8px;
  backdrop-filter: blur(8px);
  width: 247px;
}
.hud-avatar {
  width: 66px;
  height: 69px;
  border-radius: 6px;
  overflow: hidden;
  background: color-mix(in srgb, var(--hero) 6%, transparent);
}
.hud-avatar .portrait {
  width: 100%;
  height: 100%;
  transform: scale(1.4);
  transform-origin: 50% 40%;
}
.player-hud .eyebrow {
  font-size: 7px;
  color: #a699c8;
}
.player-hud strong {
  display: block;
  font-size: 19px;
  letter-spacing: 1px;
  margin: 2px 0 7px;
}
.player-hud small {
  display: block;
  margin-top: 5px;
  font-size: 7px;
  letter-spacing: 1px;
  color: #7c859e;
}
.energy-bar {
  height: 4px;
  background: #b3a0d01a;
  width: 120px;
  overflow: hidden;
  border-radius: 3px;
}
.energy-bar i {
  display: block;
  height: 100%;
  width: 100%;
  background: #b4a0ee;
  box-shadow: 0 0 10px #b4a0ee55;
  transition: width 0.15s;
}
.ability-bar {
  display: flex;
  gap: 9px;
  position: absolute;
  left: calc(50vw - 28px);
  transform: translateX(-50%);
  bottom: 0;
}
.ability-slot {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  border: 1px solid #b4a0db44;
  border-radius: 8px;
  background: linear-gradient(#28223dbb, #111627ed);
  color: #c9b4f5;
  backdrop-filter: blur(6px);
  overflow: visible;
  isolation: isolate;
  padding: 8px 4px 17px;
}
.ability-slot:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--cooldown, 0);
  background: #0a0e1cce;
  z-index: -1;
  transition: height 0.1s;
}
.ability-slot:hover:not(:disabled) {
  border-color: #debdff;
  background: #4f3f6799;
}
.ability-slot:disabled {
  opacity: 0.8;
}
.ability-glyph {
  font-size: 29px;
  line-height: 1.2;
}
.ability-name {
  font-size: 7px;
  color: #a9a0b8;
  margin-top: 7px;
  line-height: 1.4;
}
.ability-slot kbd {
  position: absolute;
  bottom: -8px;
  height: 20px;
  min-width: 24px;
  background: #282536;
  border-color: #c9b4f544;
  font-size: 8px;
}
.cooldown-number {
  position: absolute;
  font: 600 27px monospace;
  color: #ece3ff;
  text-shadow: 0 2px 10px #000;
  top: 20px;
}
.on-cooldown .ability-glyph {
  opacity: 0.2;
}
.spectate-panel {
  position: absolute;
  top: 28%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  background: #0a0f20dd;
  border: 1px solid #b999cd33;
  backdrop-filter: blur(12px);
  padding: 25px 30px;
  border-radius: 9px;
}
.spectate-panel > span {
  display: block;
  font-size: 8px;
  color: #ab8cac;
  letter-spacing: 1.5px;
}
.spectate-panel > strong {
  display: block;
  font-size: 23px;
  font-weight: 400;
  margin: 13px 0 20px;
}
.spectate-panel button {
  margin: auto;
}
.touch-joystick {
  display: none;
  position: absolute;
  bottom: 35px;
  left: 30px;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  border: 1px solid #b1a0d344;
  background: #b1a0d311;
  touch-action: none;
  align-items: center;
  justify-content: center;
}
.touch-joystick > span {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #c6b1f333;
  border: 1px solid #c6b1f388;
  pointer-events: none;
}
.results-backdrop {
  position: absolute;
  inset: 0;
  background: #050811c9;
  backdrop-filter: blur(12px);
  display: grid;
  place-items: center;
  padding: 25px;
  overflow: auto;
  z-index: 10;
  animation: fade-in 0.5s;
}
.results-card {
  width: 640px;
  max-width: 100%;
  background: radial-gradient(ellipse at 50% 0, #654a9620, transparent 60%), #111520;
  border: 1px solid #ae91d733;
  border-radius: 15px;
  padding: 32px 38px;
  text-align: center;
  box-shadow: 0 20px 100px #0005;
}
.result-icon {
  color: #c8abea;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.results-card > .eyebrow {
  font-size: 8px;
  color: #8b789f;
}
.results-card > h1 {
  font-size: 27px;
  margin: 12px 0;
}
.results-card > p {
  font-size: 11px;
  color: #8b859e;
  line-height: 1.7;
}
.result-personal {
  display: flex;
  justify-content: center;
  gap: 45px;
  border-top: 1px solid #ffffff0b;
  border-bottom: 1px solid #ffffff0b;
  padding: 23px 0;
  margin: 22px 0;
}
.result-personal strong {
  display: block;
  font: 27px monospace;
  color: #d0bbef;
}
.result-personal span {
  display: block;
  font-size: 7px;
  letter-spacing: 1px;
  color: #7f7a95;
  margin-top: 7px;
}
.results-table {
  display: grid;
  gap: 4px;
}
.results-table > div {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 11px 13px;
  border: 1px solid transparent;
  border-radius: 5px;
  text-align: left;
}
.results-table > div.self {
  background: #a38bb410;
  border-color: #a38bb420;
}
.results-table > div > span:first-child {
  font: 11px monospace;
  color: #ad9bbc;
  width: 20px;
}
.results-table strong {
  font-size: 11px;
  font-weight: 500;
  flex: 1;
}
.results-table small {
  font-size: 9px;
  color: #6e6c83;
}
.results-table b {
  font: 12px monospace;
  color: #b7adc5;
}
.result-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
}
@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Responsive cockpit */
@media (min-width: 1700px) {
  .hero-banner {
    height: 420px;
  }
  .hero-content {
    padding: 48px;
  }
  .hero-content h2 {
    font-size: 54px;
  }
  .hero-content > p {
    font-size: 13px;
    margin-top: 22px;
  }
  .banner-actions {
    margin-top: 28px;
  }
  .banner-facts {
    margin-top: 27px;
    font-size: 10px;
  }
  .hero-card-art {
    height: 190px;
  }
  .main-content {
    padding-top: 40px;
  }
  .play-options {
    margin-bottom: 38px;
  }
}
@media (max-width: 1250px) {
  :root {
    --sidebar: 185px;
  }
  .sidebar {
    padding-left: 13px;
    padding-right: 13px;
  }
  .brand {
    font-size: 15px;
    padding-left: 5px;
    gap: 8px;
  }
  .brand-mark svg {
    width: 28px;
  }
  .brand small {
    font-size: 6px;
    letter-spacing: 2.4px;
  }
  .nav-label {
    font-size: 7px;
    letter-spacing: 1px;
  }
  .nav-item {
    font-size: 11px;
    padding: 13px 10px;
  }
  .nav-item.active:before {
    left: -13px;
  }
  .main-content {
    padding: 28px;
  }
  .topbar {
    padding: 0 28px;
  }
  .hero-content {
    padding: 32px 27px;
  }
  .hero-content h2 {
    font-size: 33px;
  }
  .hero-banner {
    height: 326px;
  }
  .banner-facts {
    gap: 12px;
    font-size: 8px;
  }
  .hero-grid {
    gap: 8px;
  }
  .hero-card-art {
    height: 135px;
  }
  .hero-card-label {
    padding: 11px 8px;
  }
  .hero-card-label strong {
    font-size: 11px;
  }
  .hero-card-label span {
    font-size: 8px;
  }
  .option-card {
    padding: 16px;
    gap: 11px;
  }
  .option-card strong {
    font-size: 11px;
  }
  .option-tag {
    display: none;
  }
  .bottom-panels {
    grid-template-columns: 1fr;
  }
  .record-panel {
    display: none;
  }
  .hero-bio {
    padding: 30px 30px 30px 5px;
  }
  .guide-grid {
    grid-template-columns: 1fr 1fr;
  }
  .guide-grid > article:last-child {
    grid-column: 1/-1;
  }
  .hero-detail {
    grid-template-columns: 38% 62%;
  }
  .lobby-layout {
    grid-template-columns: 1.2fr 1fr;
    gap: 15px;
  }
  .panel {
    padding: 20px;
  }
  .invite-bar {
    gap: 10px;
    padding: 15px;
  }
  .invite-bar > span {
    font-size: 9px;
  }
  .room-code {
    font-size: 16px;
  }
  .invite-bar .text-button {
    font-size: 9px;
  }
  .hero-bio h2 {
    font-size: 46px;
  }
  .main-footer > span:last-child {
    display: none;
  }
}
@media (max-width: 1000px) {
  :root {
    --sidebar: 75px;
  }
  .sidebar {
    padding: 25px 10px 15px;
    align-items: center;
  }
  .brand {
    padding: 2px 0 38px;
  }
  .brand > span:last-child,
  .nav-label,
  .nav-item > span,
  .nav-item > small,
  .orbit-note,
  .profile > span:nth-child(2),
  .profile > svg,
  .sidebar-footer {
    display: none;
  }
  .sidebar nav,
  .sidebar-bottom {
    width: 100%;
  }
  .nav-item {
    justify-content: center;
    padding: 15px 5px;
  }
  .nav-item svg {
    width: 20px;
  }
  .nav-item.active:before {
    left: -10px;
  }
  .profile {
    justify-content: center;
    margin-top: 20px;
    padding: 17px 0;
  }
  .topbar {
    height: 65px;
  }
  .breadcrumb {
    font-size: 8px;
  }
  .page-heading h1 {
    font-size: 28px;
  }
  .hero-content h2 {
    font-size: 34px;
  }
  .hero-banner {
    height: 330px;
  }
  .hole-annotation {
    font-size: 6px;
  }
  .hole-annotation small {
    font-size: 5px;
  }
  .hero-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }
  .hero-card-art {
    height: 170px;
  }
  .hero-card-label {
    padding: 12px;
  }
  .hero-card-label strong {
    font-size: 13px;
  }
  .hero-card-label span {
    font-size: 10px;
  }
  .hero-card.compact .hero-card-art {
    height: 140px;
  }
  .hero-card.compact .portrait {
    transform: scale(1.3);
  }
  .main-footer > span:nth-child(2) {
    font-size: 7px;
  }
  .hero-detail {
    grid-template-columns: 36% 64%;
  }
  .hero-bio {
    padding: 30px 25px 30px 10px;
  }
  .hero-bio h2 {
    font-size: 40px;
  }
  .lobby-layout {
    grid-template-columns: 1.1fr 1fr;
  }
  .invite-bar {
    flex-wrap: wrap;
  }
  .invite-bar > span {
    width: 100%;
  }
  .invite-bar .text-button {
    margin-left: auto;
  }
  .phase-track {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
  .game-logo strong {
    display: none;
  }
  .player-hud {
    width: 210px;
  }
  .hud-avatar {
    width: 50px;
  }
  .player-hud strong {
    font-size: 16px;
  }
  .ability-slot {
    width: 80px;
    height: 85px;
  }
  .energy-bar {
    width: 105px;
  }
  .game-left {
    left: 20px;
    width: 163px;
  }
  .survivor {
    font-size: 9px;
  }
}
@media (max-width: 740px) {
  .main-content {
    padding: 24px 20px;
  }
  .topbar {
    padding: 0 20px;
  }
  .topbar-right {
    gap: 12px;
  }
  .breadcrumb {
    letter-spacing: 0.6px;
    font-size: 7px;
  }
  .breadcrumb span {
    margin: 0 8px;
  }
  .connection-pill {
    font-size: 8px;
  }
  .season-tag {
    display: none;
  }
  .page-heading {
    margin-bottom: 23px;
    align-items: flex-start;
  }
  .page-heading h1 {
    font-size: 26px;
  }
  .page-heading p {
    font-size: 11px;
  }
  .hero-banner {
    height: 350px;
  }
  .hero-content {
    padding: 29px 23px;
  }
  .hero-content h2 {
    font-size: 31px;
    letter-spacing: -1px;
  }
  .hero-banner:after {
    background: linear-gradient(90deg, #12121dea, #12121d20);
  }
  .hole-annotation {
    display: none;
  }
  .banner-label {
    font-size: 7px;
    letter-spacing: 1.6px;
  }
  .banner-facts {
    flex-wrap: wrap;
    max-width: 290px;
    gap: 9px 15px;
    font-size: 8px;
  }
  .banner-facts > span:last-child {
    width: 100%;
  }
  .banner-actions {
    gap: 8px;
  }
  .button {
    font-size: 10px;
    padding: 11px 14px;
  }
  .banner-actions .button.primary svg:last-child {
    display: none;
  }
  .play-options {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 27px;
  }
  .option-card {
    padding: 14px 16px;
  }
  .option-card > svg:last-child {
    margin-left: auto;
  }
  .section-heading h2 {
    font-size: 15px;
    line-height: 1.5;
  }
  .section-heading > .text-button {
    font-size: 8px;
  }
  .section-heading .eyebrow {
    font-size: 6px;
  }
  .hero-grid {
    gap: 9px;
  }
  .hero-card.compact .hero-card-art {
    height: 118px;
  }
  .hero-card-label {
    padding: 10px 8px;
  }
  .hero-card-label strong {
    font-size: 11px;
  }
  .hero-card-label span {
    font-size: 8px;
  }
  .selected-summary {
    font-size: 8px;
    gap: 7px;
    flex-wrap: wrap;
  }
  .selected-summary > .text-button {
    font-size: 8px;
  }
  .selected-summary > span:nth-child(3) {
    display: none;
  }
  .tip-panel {
    padding: 15px;
  }
  .tip-panel p {
    font-size: 9px;
  }
  .tip-panel .eyebrow {
    font-size: 6px;
  }
  .tip-panel .text-button {
    display: none;
  }
  .tip-mark svg {
    width: 22px;
  }
  .main-footer {
    padding: 20px;
    font-size: 6px;
  }
  .main-footer > span:nth-child(2) {
    display: none;
  }
  .hero-detail {
    grid-template-columns: 1fr;
  }
  .hero-showcase {
    height: 285px;
  }
  .hero-showcase > .portrait {
    width: 240px;
    margin-bottom: -25px;
  }
  .showcase-orbit {
    width: 230px;
    left: calc(50% - 115px);
    top: 15px;
  }
  .showcase-number {
    left: 20px;
    top: 15px;
  }
  .hero-bio {
    padding: 25px;
  }
  .hero-bio h2 {
    font-size: 40px;
  }
  .hero-bio > .eyebrow {
    font-size: 8px;
  }
  .hero-detail-actions {
    gap: 12px;
  }
  .chosen-tag {
    font-size: 9px;
  }
  .hero-card-art {
    height: 140px;
  }
  .room-toolbar {
    flex-wrap: wrap;
  }
  .room-toolbar > div:last-child {
    width: 100%;
    justify-content: space-between;
  }
  .room-card {
    gap: 13px;
    padding: 17px;
    flex-wrap: wrap;
  }
  .room-emblem {
    width: 45px;
    height: 45px;
  }
  .room-info h3 {
    font-size: 15px;
  }
  .room-info p {
    font-size: 10px;
  }
  .room-capacity {
    margin-left: auto;
    margin-right: 0;
  }
  .room-card > .button {
    margin-left: auto;
  }
  .room-state {
    display: block;
    margin: 6px 0 0;
    width: max-content;
  }
  .empty-state {
    padding: 25px;
    min-height: 380px;
  }
  .empty-state h2 {
    font-size: 22px;
  }
  .empty-state p {
    font-size: 11px;
  }
  .page-heading > .button {
    padding: 10px;
  }
  .lobby-layout {
    grid-template-columns: 1fr;
  }
  .lobby-layout > div:last-child {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }
  .invite-bar {
    flex-wrap: nowrap;
  }
  .invite-bar > span {
    width: auto;
  }
  .guide-lead {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
    padding: 25px;
  }
  .guide-orbit {
    display: none;
  }
  .guide-lead h2 {
    font-size: 23px;
  }
  .guide-lead strong {
    font-size: 10px;
    line-height: 1.8;
    display: block;
  }
  .guide-grid {
    grid-template-columns: 1fr;
  }
  .guide-grid > article:last-child {
    grid-column: auto;
  }
  .guide-grid h2 {
    font-size: 20px;
  }
  .control-row p {
    font-size: 11px;
  }
  .guide-item p,
  .guide-paragraph {
    font-size: 12px;
  }
  .phase-track {
    padding: 18px;
  }
  .phase-track strong {
    font-size: 10px;
  }
  .phase-track small {
    font-size: 8px;
  }
  .preferences-layout {
    grid-template-columns: 1fr;
  }
  .modal-backdrop {
    padding: 15px;
  }
  .modal {
    padding: 27px 23px;
    max-height: calc(100dvh - 30px);
  }
  .modal h2 {
    font-size: 23px;
  }
  .form-two {
    grid-template-columns: 1fr;
    gap: 17px;
  }
  .modal .settings-fields {
    gap: 16px 12px;
  }
  .settings-fields select {
    font-size: 10px;
    padding: 10px 8px;
  }
  .modal-subtitle {
    max-width: 100%;
    font-size: 11px;
  }
  .game-top {
    padding: 18px;
  }
  .game-top-actions {
    gap: 8px;
  }
  .game-top-actions #ping-label {
    display: none;
  }
  .game-logo svg {
    width: 24px;
  }
  .match-info {
    min-width: 180px;
  }
  .match-info > span {
    font-size: 7px;
  }
  .match-info > strong {
    font-size: 26px;
  }
  .game-left {
    top: 110px;
    left: 14px;
    width: 135px;
  }
  .gravity-label {
    padding: 10px;
  }
  .gravity-label > span {
    font-size: 6px;
  }
  .survivor {
    font-size: 8px;
    padding: 6px;
  }
  .survivor > span:first-child {
    font-size: 12px;
  }
  .game-feed {
    top: 115px;
    right: 12px;
    max-width: 45%;
  }
  .game-feed > div {
    font-size: 8px;
  }
  .game-bottom {
    bottom: 30px;
    left: 15px;
    right: 145px;
  }
  .player-hud {
    display: none;
  }
  .ability-bar {
    left: calc(50vw - 15px);
  }
  .ability-slot {
    width: 69px;
    height: 78px;
  }
  .ability-glyph {
    font-size: 25px;
  }
  .ability-name {
    font-size: 6px;
  }
  .ability-slot kbd {
    font-size: 7px;
  }
  .game-announcement > small {
    font-size: 8px;
    letter-spacing: 0;
  }
  .game-announcement > span {
    font-size: 9px;
    letter-spacing: 2px;
  }
  .game-announcement > strong.launch-text {
    font-size: 35px;
    letter-spacing: 2px;
  }
  .game-announcement > .storm-warning {
    font-size: 10px;
    padding: 12px;
  }
  .spectate-panel {
    width: 290px;
    max-width: 90%;
    padding: 22px 18px;
  }
  .spectate-panel > span {
    font-size: 7px;
    letter-spacing: 1px;
  }
  .spectate-panel > strong {
    font-size: 20px;
  }
  .results-card {
    padding: 27px 20px;
  }
  .results-card > h1 {
    font-size: 23px;
  }
  .results-card > p {
    font-size: 10px;
  }
  .results-table > div {
    padding: 10px;
    gap: 10px;
  }
  .results-table small {
    display: none;
  }
  .result-personal {
    gap: 25px;
  }
  .result-personal strong {
    font-size: 23px;
  }
  .result-personal span {
    font-size: 6px;
  }
  .result-actions {
    flex-direction: column;
  }
  .result-actions > .button {
    width: 100%;
  }
  .toast {
    font-size: 11px;
    max-width: calc(100vw - 40px);
    width: max-content;
  }
}
@media (max-width: 480px) {
  :root {
    --sidebar: 0px;
  }
  .sidebar {
    position: fixed;
    top: auto;
    bottom: 0;
    width: 100%;
    height: 61px;
    padding: 4px 10px;
    background: #10131eeb;
    backdrop-filter: blur(14px);
    border-right: 0;
    border-top: 1px solid #ffffff12;
    display: block;
  }
  .brand,
  .sidebar-bottom {
    display: none;
  }
  .sidebar nav {
    display: flex;
    justify-content: space-around;
  }
  .nav-item {
    flex-direction: column;
    gap: 5px;
    padding: 7px 10px;
    margin: 0;
    font-size: 8px;
    width: 65px;
  }
  .nav-item > span {
    display: block;
  }
  .nav-item > svg {
    width: 18px;
    height: 18px;
  }
  .nav-item.active:before {
    display: none;
  }
  .main-wrap {
    padding-bottom: 61px;
  }
  .topbar {
    height: 58px;
    padding: 0 17px;
  }
  .breadcrumb {
    font-size: 6px;
  }
  .breadcrumb span {
    margin: 0 5px;
  }
  .breadcrumb strong {
    font-size: 6px;
  }
  .topbar-right {
    gap: 11px;
  }
  .connection-pill {
    font-size: 7px;
  }
  .topbar-right .icon-button {
    padding: 0;
  }
  .pilot-badge {
    width: 24px;
    height: 24px;
    font-size: 8px;
  }
  .main-content {
    padding: 23px 17px;
  }
  .page-heading h1 {
    font-size: 26px;
  }
  .page-heading p {
    font-size: 10px;
  }
  .hero-content {
    padding: 27px 21px;
  }
  .hero-content h2 {
    font-size: 29px;
    line-height: 1.25;
  }
  .hero-banner {
    height: 347px;
  }
  .hero-content > p {
    font-size: 10px;
  }
  .hero-coordinates {
    font-size: 5px;
    bottom: 13px;
    right: 14px;
  }
  .banner-actions {
    margin-top: 24px;
  }
  .button {
    font-size: 10px;
  }
  .hero-grid {
    gap: 8px;
  }
  .hero-card.compact .hero-card-art {
    height: 104px;
  }
  .hero-card-label strong {
    font-size: 9px;
  }
  .hero-card-label span {
    font-size: 7px;
  }
  .hero-card-label {
    padding: 9px 7px;
  }
  .hero-number {
    font-size: 6px;
    left: 7px;
    top: 7px;
  }
  .selected-check {
    width: 14px;
    height: 14px;
    right: 5px;
    top: 5px;
  }
  .selected-check svg {
    width: 9px;
  }
  .section-heading h2 {
    font-size: 14px;
  }
  .section-heading > .text-button {
    font-size: 0;
    gap: 0;
  }
  .section-heading > .text-button svg {
    width: 18px;
    height: 18px;
  }
  .count-badge {
    font-size: 8px;
    margin-left: 7px;
    padding: 2px 5px;
  }
  .selected-summary .text-button {
    font-size: 7px;
  }
  .selected-summary {
    gap: 6px;
  }
  .summary-separator {
    margin: 0 2px;
  }
  .bottom-panels {
    margin-top: 23px;
  }
  .tip-panel {
    gap: 11px;
  }
  .tip-panel p {
    font-size: 8px;
  }
  .hero-card-art {
    height: 110px;
  }
  .hero-detail-actions .chosen-tag {
    font-size: 8px;
  }
  .hero-bio {
    padding: 23px 20px;
  }
  .hero-bio > p {
    font-size: 11px;
  }
  .guide-lead {
    padding: 22px;
  }
  .invite-bar {
    gap: 10px;
  }
  .invite-bar > span {
    font-size: 8px;
    gap: 5px;
  }
  .invite-bar > span > svg {
    width: 16px;
  }
  .room-code {
    font-size: 15px;
    gap: 5px;
  }
  .invite-bar > .text-button {
    font-size: 8px;
  }
  .room-toolbar {
    gap: 16px;
  }
  .page-heading > .button {
    font-size: 9px;
    padding: 10px;
  }
  .page-heading > .button > svg {
    width: 14px;
  }
  .preferences .select-field {
    gap: 15px;
    font-size: 11px;
  }
  .results-card .result-personal {
    gap: 18px;
  }
  .game-announcement > small {
    font-size: 7px;
  }
  .game-left {
    width: 120px;
  }
  .survivor-list {
    padding-top: 9px;
  }
  .survivor {
    font-size: 7px;
  }
  .survivor small {
    font-size: 6px;
  }
}
@media (pointer: coarse) {
  .touch-joystick {
    display: flex;
  }
  .game-bottom {
    left: auto;
    right: 22px;
    bottom: 45px;
  }
  .ability-bar {
    position: static;
    transform: none;
  }
  .ability-slot {
    width: 68px;
    height: 76px;
  }
  .game-screen .player-hud {
    display: none;
  }
  .game-screen canvas {
    touch-action: none;
  }
  .game-left {
    top: 100px;
  }
  .game-top-actions {
    gap: 8px;
  }
}
@media (pointer: coarse) and (max-width: 600px) {
  .game-bottom {
    right: 15px;
    bottom: 43px;
  }
  .ability-slot {
    width: 56px;
    height: 66px;
  }
  .ability-bar {
    gap: 6px;
  }
  .ability-name {
    font-size: 5px;
  }
  .ability-glyph {
    font-size: 22px;
  }
  .touch-joystick {
    width: 94px;
    height: 94px;
    left: 18px;
    bottom: 32px;
  }
  .game-screen canvas {
    width: 100%;
    height: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}
.spectate-panel {
  top: auto;
  bottom: 155px;
  padding: 15px 24px;
  background: #0a0f20c9;
}
.spectate-panel > strong {
  font-size: 17px;
  margin: 7px 0 12px;
}
.spectate-panel > span {
  font-size: 7px;
}
.spectate-panel .button {
  font-size: 10px;
  padding: 8px 12px;
  min-height: 31px;
}
@media (max-width: 740px) {
  .spectate-panel {
    bottom: 140px;
    padding: 13px 18px;
  }
  .spectate-panel > strong {
    font-size: 15px;
  }
  .spectate-panel > span {
    font-size: 6px;
  }
}
