:root {
  color-scheme: dark;
  --bg: #101616;
  --panel: #171f1f;
  --border: #2a3332;
  --muted: #8d9b97;
  --text: #e9eeea;
  --mint: #8be5bf;
  --red: #ee9297;
  --blue: #91b4f0;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
}
.extras-panel {
  padding: 24px;
}
.extras-description,
.queue-rule {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
  margin: 12px 0 18px;
}
.command-form {
  margin: 20px 0;
}
.command-selector label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: var(--muted);
  font-size: 11px;
  max-width: 380px;
}
.command-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 18px 0;
}
.command-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 12px;
  min-width: 0;
}
.command-field small {
  color: var(--muted);
  font-size: 10px;
}
.command-field input,
.command-field select {
  width: 100%;
  min-width: 0;
}
.command-result {
  margin-top: 22px;
  font-size: 12px;
}
.report-heading h3 {
  font-size: 16px;
}
.report-heading p {
  color: var(--muted);
  font-size: 11px;
  margin: 8px 0 20px;
  line-height: 1.8;
}
.report-chart {
  margin: 20px 0;
  overflow-x: auto;
}
.report-chart svg {
  display: block;
  width: 100%;
  height: auto;
  min-width: 720px;
}
.command-result td {
  white-space: normal;
  overflow-wrap: anywhere;
  min-width: 65px;
  vertical-align: top;
}
.command-result th,
.command-result td {
  padding: 12px 9px;
}
.lobby-presence,
.match-vote-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px;
  margin: 12px 0;
  background: #23362b;
  border: 1px solid #3c5446;
  border-radius: 7px;
  font-size: 11px;
  color: #b7d1bf;
}
.lobby-presence > span,
.match-vote-controls > span {
  flex: 1;
  min-width: 140px;
}
.lobby-presence strong {
  color: var(--mint);
}
@media (max-width: 760px) {
  .extras-panel {
    padding: 18px 14px;
  }
  .command-fields {
    grid-template-columns: 1fr;
  }
  .lobby-presence .button,
  .match-vote-controls .button {
    padding: 8px 11px;
    font-size: 10px;
  }
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select,
summary {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.5;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 4px;
}
svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h2 {
  font-size: 17px;
  letter-spacing: -0.4px;
}
h3 {
  font-size: 15px;
}
button {
  border: 0;
}
button,
a {
  touch-action: manipulation;
}
.app-shell {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  width: 240px;
  flex-shrink: 0;
  background: #141b1a;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: 0 auto 0 0;
  padding: 32px 18px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
  font-weight: 850;
  letter-spacing: 2px;
  font-size: 17px;
  line-height: 1.2;
}
.brand-symbol {
  background: var(--mint);
  color: #152b24;
  display: inline-flex;
  width: 42px;
  height: 44px;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 950;
  letter-spacing: -9px;
  transform: skew(-7deg);
  border-radius: 7px;
  padding-right: 9px;
}
.brand-symbol span {
  font-size: 22px;
}
.brand-sub {
  font-size: 8px;
  letter-spacing: 3px;
  display: block;
  margin-top: 6px;
  color: var(--muted);
}
.community {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 36px 0 31px;
  padding: 13px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
}
.server-avatar {
  width: 32px;
  height: 32px;
  background: #34413a;
  border: 1px solid #506352;
  color: #d9e8c5;
  display: grid;
  place-items: center;
  font-size: 12px;
  border-radius: 7px;
  flex-shrink: 0;
}
.community div > span {
  display: block;
  font-size: 9px;
  font-weight: 400;
  color: var(--muted);
  margin-top: 2px;
}
.community-mark {
  margin-left: auto;
  color: var(--muted);
}
.nav-label,
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.7px;
  font-weight: 700;
  color: var(--muted);
}
.nav-label {
  padding: 0 14px;
  margin-bottom: 12px;
}
.nav-item {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 13px;
  background: transparent;
  color: var(--muted);
  padding: 13px 14px;
  border-radius: 7px;
  margin-bottom: 6px;
  text-align: left;
  font-size: 13px;
}
.nav-item.active {
  background: #283b32;
  color: var(--mint);
}
.nav-item:hover {
  background: #22302b;
}
.nav-count {
  margin-left: auto;
  font-size: 10px;
  background: #162820;
  padding: 1px 6px;
  border-radius: 4px;
}
.sidebar-bottom {
  margin-top: auto;
  padding: 80px 12px 25px;
}
.connection-label {
  font-size: 8px;
  letter-spacing: 0.65px;
  color: var(--mint);
  display: flex;
  gap: 6px;
  align-items: center;
  white-space: nowrap;
}
.dot {
  width: 6px;
  height: 6px;
  display: inline-block;
  border-radius: 50%;
  background: var(--mint);
  flex-shrink: 0;
}
.sidebar-bottom p {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.9;
  margin: 12px 0 18px;
}
.discord-link {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}
.discord-link:hover {
  color: var(--mint);
}
.account {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 19px 9px;
  border-top: 1px solid var(--border);
  min-height: 78px;
}
.account strong {
  font-size: 12px;
}
.account div > span {
  display: block;
  color: var(--muted);
  font-size: 10px;
}
.logout {
  margin-left: auto;
  background: none;
  color: var(--muted);
  font-size: 24px;
}
.workspace {
  margin-left: 240px;
  flex: 1;
  min-width: 0;
}
.topbar {
  height: 77px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 38px;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
}
.topbar-club {
  color: var(--muted);
}
.slash {
  color: #50605a;
  padding: 0 16px;
}
.connection {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 9px;
  letter-spacing: 1.2px;
  color: #b3c4ba;
}
.disconnected {
  background: #c2a772;
}
.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 225px;
  gap: 32px;
  padding: 34px 34px 50px 38px;
  max-width: 1680px;
  margin: auto;
}
main {
  min-width: 0;
}
.page-heading {
  margin-bottom: 29px;
}
.page-heading .eyebrow {
  font-size: 9px;
  color: var(--mint);
  letter-spacing: 2px;
}
h1 {
  font-size: 32px;
  letter-spacing: -1.15px;
  font-weight: 650;
  line-height: 1.3;
  margin-top: 8px;
}
.page-heading p {
  color: var(--muted);
  font-size: 12px;
  margin-top: 8px;
}
.hero {
  min-height: 285px;
  border: 1px solid #3b5146;
  background: radial-gradient(
    ellipse at 90% 50%,
    #37523e 0%,
    #263a30 35%,
    #1b2c25 80%
  );
  border-radius: 12px;
  display: flex;
  position: relative;
  overflow: hidden;
  margin-bottom: 22px;
}
.hero-copy {
  position: relative;
  z-index: 1;
  padding: 30px;
  width: 58%;
}
.hero-tags {
  display: flex;
  gap: 12px;
  align-items: center;
  color: #a8bfb1;
  font-size: 8px;
  letter-spacing: 1.3px;
}
.pill {
  border: 1px solid #647a64;
  color: #dce9d7;
  border-radius: 4px;
  padding: 4px 7px;
}
.hero h2 {
  font-size: 37px;
  letter-spacing: -1.3px;
  font-weight: 650;
  margin-top: 18px;
  line-height: 1.25;
}
.hero p {
  font-size: 12px;
  color: #bdccc3;
  margin: 12px 0 23px;
  line-height: 1.8;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 11px 18px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 650;
  white-space: nowrap;
  min-height: 39px;
  transition:
    background 0.15s,
    transform 0.15s;
}
.primary {
  background: var(--mint);
  color: #162c22;
}
.primary:hover:not(:disabled) {
  background: #adf4d4;
  transform: translateY(-1px);
}
.secondary {
  background: #242f2b;
  color: #d9e6df;
  border: 1px solid #3d4a43;
}
.secondary:hover:not(:disabled) {
  background: #34453b;
}
.danger {
  background: #39282a;
  color: #f4aaaa;
  border: 1px solid #694047;
}
.button svg {
  width: 15px;
  height: 15px;
}
.hero-foot {
  margin-top: 19px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 9px;
  color: #b3c6b6;
}
.hero-foot .dot {
  height: 4px;
  width: 4px;
}
.rink-art {
  position: absolute;
  right: -27px;
  top: 18px;
  width: 49%;
  height: 260px;
  transform: rotate(-22deg);
  opacity: 0.85;
}
.rink {
  border: 2px solid #87ad8580;
  border-radius: 80px;
  position: absolute;
  inset: 18px 0;
  background: linear-gradient(110deg, #a5cba30d, #d0e6b50f);
  box-shadow:
    0 0 0 8px #97b19409,
    inset 0 0 35px #74967826;
  overflow: hidden;
}
.center-line {
  position: absolute;
  left: 50%;
  height: 100%;
  width: 2px;
  background: #abc1a050;
}
.blue-line {
  position: absolute;
  height: 100%;
  width: 2px;
  background: #abc1a030;
}
.line-one {
  left: 27%;
}
.line-two {
  right: 27%;
}
.center-circle {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 76px;
  height: 76px;
  transform: translate(-50%, -50%);
  border: 2px solid #abc1a040;
  border-radius: 50%;
}
.faceoff {
  position: absolute;
  width: 47px;
  height: 47px;
  border: 1px solid #abc1a035;
  border-radius: 50%;
}
.f1 {
  left: 9%;
  top: 18%;
}
.f2 {
  left: 9%;
  bottom: 18%;
}
.f3 {
  right: 9%;
  top: 18%;
}
.f4 {
  right: 9%;
  bottom: 18%;
}
.goal {
  position: absolute;
  top: 40%;
  height: 20%;
  width: 14px;
  border: 2px solid #c3d5a460;
  border-radius: 4px;
}
.g1 {
  left: 7px;
}
.g2 {
  right: 7px;
}
.puck {
  position: absolute;
  width: 30px;
  height: 22px;
  background: #111c16;
  border-radius: 50%;
  box-shadow:
    0 6px 0 #0d1611,
    0 18px 18px #0005;
  top: 62%;
  left: 66%;
  transform: rotate(22deg);
  border: 1px solid #56674a;
}
.rink-label {
  position: absolute;
  left: 36%;
  top: 34%;
  text-align: center;
  font-size: 18px;
  font-weight: 850;
  line-height: 1.1;
  letter-spacing: 3px;
  color: #c4d1b226;
  transform: rotate(90deg);
}
.rink-caption {
  position: absolute;
  left: 60px;
  bottom: -1px;
  font-size: 7px;
  letter-spacing: 3px;
  color: #b0c1a86b;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 30px;
}
.stat-card {
  border: 1px solid var(--border);
  background: var(--panel);
  border-radius: 8px;
  padding: 20px 15px;
  display: flex;
  gap: 12px;
  align-items: center;
  position: relative;
  min-height: 104px;
}
.stat-icon {
  color: #a6b9a7;
  align-self: flex-start;
  margin-top: 5px;
}
.stat-icon svg {
  width: 18px;
}
.stat-card div > span {
  font-size: 10px;
  color: var(--muted);
  display: block;
}
.stat-card strong {
  font-size: 26px;
  line-height: 1.6;
  font-weight: 650;
  letter-spacing: -0.7px;
}
.stat-card small {
  font-size: 10px;
  color: var(--muted);
  font-weight: 400;
  margin-left: 7px;
  letter-spacing: 0;
}
.stat-detail {
  font-size: 8px;
  color: var(--muted);
  position: absolute;
  bottom: 13px;
  right: 12px;
}
.panel {
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--panel);
  overflow: hidden;
  margin-bottom: 24px;
}
.panel-heading {
  padding: 21px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.panel-heading h2 {
  font-size: 14px;
  font-weight: 600;
}
.panel-heading p {
  font-size: 10px;
  color: var(--muted);
  margin-top: 5px;
}
.subtle {
  font-weight: 400;
  font-size: 11px;
  color: var(--muted);
  margin-left: 4px;
}
.badge {
  font-size: 9px;
  padding: 5px 8px;
  border-radius: 5px;
  background: #24362a;
  color: #a7c4a6;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.badge .dot {
  width: 4px;
  height: 4px;
}
.waiting {
  background: #302f21;
  color: #c8bf8b;
}
.waiting .dot {
  background: #c8bf8b;
}
.drafting {
  background: #2d2c40;
  color: #b8acec;
}
.drafting .dot {
  background: #b8acec;
}
.playing {
  background: #233547;
  color: #a5c7ee;
}
.playing .dot {
  background: #a5c7ee;
}
.pending {
  background: #3b3526;
  color: #e0c185;
}
.pending .dot {
  background: #e0c185;
}
.disputed,
.cancelled {
  background: #3d2c2e;
  color: #e3a4a4;
}
.disputed .dot,
.cancelled .dot {
  background: #e3a4a4;
}
.queue-slots {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 7px;
  padding: 4px 20px 24px;
}
.queue-slot {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  padding: 12px 2px;
  border: 1px dashed #35403a;
  border-radius: 7px;
  background: #131b18;
}
.queue-slot.occupied {
  border: 1px solid #4b6957;
  background: #22352a;
}
.queue-slot strong {
  font-size: 9px;
  font-weight: 500;
  margin-top: 10px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.queue-slot > span:last-child {
  font-size: 8px;
  color: #74867b;
  margin-top: 3px;
}
.empty-avatar {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px dashed #4b5850;
  border-radius: 50%;
  color: #77867b;
  font-size: 18px;
}
.avatar {
  width: 33px;
  height: 33px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.6px;
  flex-shrink: 0;
  color: #e7ede5;
  background: #4d5d4a;
  border: 1px solid #ffffff18;
}
.color-0 {
  background: #536643;
  color: #e0ebca;
}
.color-1 {
  background: #705e4e;
  color: #f7dbb8;
}
.color-2 {
  background: #514a6b;
  color: #ddd0f5;
}
.color-3 {
  background: #3d6367;
  color: #b9e1e4;
}
.color-4 {
  background: #71535e;
  color: #eec7d9;
}
.panel-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 21px;
  background: #1b2520;
  border-top: 1px solid var(--border);
  gap: 15px;
}
.panel-footer > span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #94a597;
  font-size: 9px;
  flex-wrap: wrap;
}
.panel-footer svg {
  width: 15px;
  height: 15px;
  margin-right: 3px;
}
.panel-footer strong {
  color: #dde5dc;
  font-weight: 500;
}
.separator {
  margin: 0 5px;
  color: #54655a;
}
.panel-footer .button {
  padding: 8px 14px;
  min-height: 32px;
  font-size: 10px;
}
.overview-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.text-button {
  font-size: 9px;
  background: transparent;
  color: #9eb3a2;
  white-space: nowrap;
}
.text-button:hover {
  color: var(--mint);
}
.table-wrap {
  overflow-x: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  white-space: nowrap;
}
th {
  color: #7a8b7f;
  font-size: 9px;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  padding: 0 18px 12px;
}
td {
  padding: 13px 18px;
  border-bottom: 1px solid #28322b;
  font-size: 11px;
}
tbody tr:last-child td {
  border: 0;
}
.rank {
  font-size: 10px;
  color: #7c8b81;
}
.table-player {
  display: flex;
  gap: 9px;
  align-items: center;
}
.table-player .avatar {
  width: 26px;
  height: 26px;
  font-size: 8px;
}
.table-player small {
  font-size: 7px;
  margin-left: 7px;
  color: var(--mint);
}
.elo-cell {
  font-variant-numeric: tabular-nums;
  font-size: 12px;
}
.my-row {
  background: #23332970;
}
.empty-state {
  text-align: center;
  padding: 60px 24px;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 14px;
}
.empty-state > svg {
  width: 32px;
  height: 32px;
  color: #668174;
  margin-bottom: 10px;
}
.empty-state p {
  color: var(--muted);
  font-size: 12px;
  max-width: 330px;
  line-height: 1.8;
}
.compact {
  padding: 46px 24px;
  gap: 8px;
}
.compact h3 {
  font-size: 14px;
}
.compact p {
  font-size: 10px;
  max-width: 220px;
}
.result-row {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-top: 1px solid var(--border);
}
.result-row strong {
  font-size: 11px;
}
.result-row div > span {
  display: block;
  font-size: 9px;
  color: var(--muted);
  margin-top: 3px;
}
.result-row .result-score {
  display: flex;
  gap: 12px;
  align-items: center;
}
.result-row .result-score > span {
  font-size: 20px;
  color: inherit;
}
.red-text {
  color: var(--red) !important;
}
.blue-text {
  color: var(--blue) !important;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 11px;
}
.online-panel {
  border-left: 1px solid var(--border);
  padding-left: 26px;
  margin-top: 5px;
  min-width: 0;
}
.online-panel .panel-heading {
  padding: 0 0 24px;
  gap: 10px;
}
.online-panel h2 {
  font-size: 13px;
}
.small-count {
  font-size: 10px;
  color: #afc6b9;
  background: #27372f;
  border-radius: 4px;
  padding: 1px 6px;
}
.online-label {
  font-size: 8px;
  letter-spacing: 1.2px;
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 21px;
}
.online-label .dot {
  width: 4px;
  height: 4px;
}
.online-member {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}
.online-member strong {
  font-size: 11px;
  font-weight: 550;
  display: block;
  overflow-wrap: anywhere;
}
.online-member div > span {
  font-size: 9px;
  color: var(--muted);
  display: block;
  margin-top: 3px;
}
.presence-avatar {
  position: relative;
  flex-shrink: 0;
}
.presence-dot {
  position: absolute;
  width: 9px;
  height: 9px;
  border: 2px solid var(--bg);
  background: var(--mint);
  border-radius: 50%;
  right: 0;
  bottom: 1px;
}
.presence-dot.idle {
  background: #e2bf75;
}
.presence-dot.dnd {
  background: #e18c8c;
}
.playing-indicator {
  color: #a7cdb6;
  font-size: 16px;
  margin-left: auto;
}
.side-note {
  margin-top: 35px;
  padding: 21px 16px;
  border: 1px solid #344239;
  border-radius: 8px;
  background: linear-gradient(140deg, #28352b, #18251f);
}
.side-note .eyebrow {
  font-size: 7px;
  letter-spacing: 1.3px;
  color: #b4c2a5;
}
.side-note h3 {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  margin-top: 12px;
  letter-spacing: -0.3px;
}
.side-note p {
  color: #a2b29f;
  font-size: 10px;
  line-height: 1.9;
  margin: 12px 0 18px;
}
code {
  font-family: Consolas, monospace;
  font-size: 11px;
  background: #293a30;
  padding: 3px 6px;
  border-radius: 4px;
  color: #bad8c4;
  white-space: nowrap;
}
.side-note code {
  font-size: 9px;
  padding: 4px;
  margin-right: 4px;
}
.presence-note {
  font-size: 9px;
  color: #74837b;
  line-height: 1.9;
  margin-top: 20px;
}
footer {
  padding: 20px 38px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  color: #6e8275;
  font-size: 8px;
  letter-spacing: 0.7px;
}
footer span:first-child {
  letter-spacing: 2px;
  font-size: 7px;
}
.demo-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 38px;
  background: #29291c;
  border-bottom: 1px solid #44432b;
  color: #c3c0a0;
  font-size: 10px;
}
.demo-banner strong {
  font-size: 8px;
  letter-spacing: 1px;
  margin-right: 10px;
  color: #e5dca7;
}
.demo-banner > div {
  display: flex;
  align-items: center;
  gap: 9px;
}
select,
input {
  background: #17211c;
  border: 1px solid #475b4d;
  color: var(--text);
  border-radius: 5px;
  padding: 7px 9px;
}
.demo-banner select {
  font-size: 10px;
  padding: 5px 8px;
}
.small-button {
  font-size: 9px;
  padding: 5px 9px;
  min-height: 27px;
}
.match-id {
  font-family: Consolas, monospace;
  color: var(--muted);
  font-size: 10px;
  font-weight: 400;
  margin-left: 8px;
}
.teams-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 0 22px 20px;
}
.team-column {
  border: 1px solid #414243;
  border-radius: 8px;
  overflow: hidden;
}
.team-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid #414243;
}
.team-heading h3 {
  font-size: 12px;
  font-weight: 500;
}
.team-heading > span:last-child {
  margin-left: auto;
  font-size: 10px;
  color: var(--muted);
}
.team-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}
.red .team-heading {
  background: #392a2c;
  color: var(--red);
}
.blue .team-heading {
  background: #243344;
  color: var(--blue);
}
.blue .team-dot {
  background: var(--blue);
}
.team-player {
  display: flex;
  align-items: center;
  padding: 12px 14px;
  gap: 10px;
  min-height: 60px;
  border-bottom: 1px solid #2e3932;
}
.team-player:last-child {
  border: 0;
}
.team-player strong {
  font-size: 11px;
  font-weight: 500;
}
.team-player div > span {
  display: block;
  font-size: 9px;
  color: var(--muted);
}
.team-player b {
  font-size: 10px;
  font-weight: 400;
  color: var(--muted);
  margin-left: auto;
}
.team-player.empty {
  color: #6e8074;
  font-size: 10px;
}
.team-player .empty-avatar {
  width: 30px;
  height: 30px;
}
.match-body {
  padding: 0 22px 24px;
}
.draft-turn {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 15px;
  background: #26372e;
  border-radius: 6px;
  font-size: 12px;
}
.draft-turn > span:last-child {
  color: #a3b6a6;
  font-size: 10px;
  margin-left: auto;
}
.available-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 21px 0 12px;
  gap: 10px;
}
.available-heading h3 {
  font-size: 12px;
}
.available-heading > span {
  font-size: 10px;
  color: var(--muted);
}
.available-players {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.available-player {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  padding: 12px;
  background: #202d25;
  border: 1px solid #425847;
  border-radius: 6px;
}
.available-player:not(:disabled):hover {
  border-color: var(--mint);
  background: #2a4031;
}
.available-player strong {
  font-size: 11px;
  font-weight: 500;
}
.available-player small {
  display: block;
  font-size: 9px;
  color: var(--muted);
  margin-top: 3px;
}
.available-player:disabled {
  opacity: 0.7;
}
.pick-label {
  font-size: 10px;
  color: var(--mint);
  margin-left: auto;
}
.game-instruction {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}
.game-instruction p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
  margin-top: 8px;
}
.score-form {
  display: flex;
  align-items: end;
  gap: 14px;
  flex-wrap: wrap;
  margin: 12px 0;
}
.score-form label {
  font-size: 10px;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.score-form input {
  width: 84px;
  font-size: 20px;
  text-align: center;
  height: 44px;
}
.score-form > span {
  align-self: center;
  margin-top: 17px;
}
.score-form .button {
  min-height: 44px;
}
.score-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  background: #121c17;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 22px;
  margin-bottom: 20px;
}
.score-summary > span {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 10px;
  letter-spacing: 1px;
}
.score-summary strong {
  font-size: 40px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -1px;
}
.score-divider {
  color: #637368;
  font-size: 20px !important;
}
.confirmation {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}
.confirmation h3 {
  font-size: 13px;
}
.confirmation p {
  color: var(--muted);
  font-size: 10px;
  margin: 7px 0;
}
.button-group {
  display: flex;
  gap: 10px;
}
.review-note {
  font-size: 11px;
  color: #dbc294;
  background: #382f22;
  border: 1px solid #554630;
  padding: 16px;
  border-radius: 6px;
  line-height: 1.9;
}
.admin-tools {
  padding: 15px 22px;
  border-top: 1px solid var(--border);
  color: var(--muted);
}
.admin-tools summary {
  font-size: 10px;
  cursor: pointer;
}
.admin-tools p {
  font-size: 11px;
  line-height: 1.8;
  margin: 13px 0;
}
.guide {
  padding: 26px;
}
.guide h2 {
  margin-bottom: 18px;
}
.guide p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 15px;
}
.guide p strong {
  color: var(--text);
  font-weight: 500;
}
.guide ol {
  padding-left: 22px;
  margin: 20px 0 0;
}
.guide li {
  padding-left: 12px;
  margin-top: 22px;
}
.guide li::marker {
  color: var(--mint);
}
.guide li > strong {
  font-size: 13px;
  font-weight: 500;
}
.guide li p {
  margin-top: 7px;
}
#join-discord-link[hidden] {
  display: none;
}
.join-community {
  margin: 0 auto 24px;
  max-width: 480px;
}
.sign-in {
  text-align: center;
  padding: 65px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.sign-in h2 {
  font-size: 28px;
}
.sign-in p {
  color: var(--muted);
  max-width: 360px;
  line-height: 1.9;
}
.large-brand {
  width: 68px;
  height: 70px;
  font-size: 40px;
}
.large-brand span {
  font-size: 32px;
}
.loading {
  color: var(--muted);
  padding: 80px;
  text-align: center;
}
#toast {
  position: fixed;
  bottom: 26px;
  left: calc(50% + 100px);
  transform: translate(-50%, 20px);
  padding: 13px 20px;
  background: #c5eed5;
  color: #183025;
  border: 1px solid #83c99f;
  border-radius: 8px;
  font-size: 12px;
  max-width: min(520px, 90vw);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s,
    transform 0.2s;
  z-index: 50;
  box-shadow: 0 8px 40px #0005;
}
#toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
#toast.error {
  background: #f3c3bb;
  border-color: #d79182;
  color: #4a221e;
}
@media (min-width: 1600px) {
  .hero {
    min-height: 310px;
  }
  .hero-copy {
    padding: 36px;
  }
  .hero h2 {
    font-size: 44px;
  }
  .rink-art {
    height: 290px;
  }
  .queue-slot {
    padding: 20px 6px;
  }
  .queue-slot .avatar,
  .queue-slot .empty-avatar {
    width: 42px;
    height: 42px;
  }
  .queue-slot strong {
    font-size: 11px;
  }
}
@media (max-width: 1250px) {
  .sidebar {
    width: 212px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .workspace {
    margin-left: 212px;
  }
  .content-layout {
    padding: 28px 24px;
    gap: 22px;
    grid-template-columns: minmax(0, 1fr) 180px;
  }
  .online-panel {
    padding-left: 18px;
  }
  .topbar {
    padding: 0 24px;
  }
  .brand {
    padding: 0 10px;
    font-size: 15px;
  }
  .brand-sub {
    letter-spacing: 2px;
  }
  .connection-label {
    font-size: 7px;
  }
  .community {
    padding: 12px 8px;
    font-size: 10px;
  }
  .community div > span {
    font-size: 8px;
  }
  .hero-copy {
    padding: 25px;
  }
  .hero h2 {
    font-size: 32px;
  }
  .stat-card {
    gap: 8px;
    padding: 17px 11px;
  }
  .stat-detail {
    font-size: 7px;
  }
  .queue-slots {
    padding-left: 14px;
    padding-right: 14px;
    gap: 5px;
  }
  .queue-slot strong {
    font-size: 8px;
  }
  .queue-slot > span:last-child {
    font-size: 7px;
  }
  .subtle {
    display: block;
    margin: 4px 0 0;
  }
  .overview-bottom {
    grid-template-columns: 1fr;
  }
  .demo-banner {
    padding: 10px 24px;
  }
  .hero-tags {
    gap: 8px;
    font-size: 7px;
  }
  .panel-heading {
    padding: 18px;
  }
  .stat-icon {
    display: none;
  }
  .side-note {
    padding: 17px 12px;
  }
  .side-note code {
    font-size: 8px;
  }
  .online-panel h2 {
    font-size: 11px;
  }
  td {
    padding: 13px 18px;
  }
}
@media (max-width: 1000px) {
  .content-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .online-panel {
    border-left: 0;
    padding: 25px 0 0;
    border-top: 1px solid var(--border);
  }
  .online-members {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }
  .online-member {
    margin-bottom: 8px;
  }
  .side-note {
    display: none;
  }
  .presence-note {
    margin-top: 12px;
  }
  .overview-bottom {
    grid-template-columns: 1fr 1fr;
  }
  .queue-slot strong {
    font-size: 9px;
  }
  .hero {
    min-height: 286px;
  }
  .stat-icon {
    display: block;
  }
  .online-panel h2 {
    font-size: 14px;
  }
  .demo-banner {
    flex-wrap: wrap;
  }
  .hero-tags {
    font-size: 8px;
  }
}
@media (max-width: 760px) {
  .sidebar {
    position: static;
    width: 100%;
    padding: 16px 16px 8px;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
  .app-shell {
    display: block;
  }
  .brand {
    padding: 0;
    font-size: 14px;
    gap: 10px;
  }
  .brand-symbol {
    width: 33px;
    height: 35px;
    font-size: 25px;
  }
  .brand-symbol span {
    font-size: 18px;
  }
  .brand-sub {
    font-size: 7px;
    margin-top: 4px;
  }
  .community,
  .nav-label,
  .sidebar-bottom,
  .account {
    display: none;
  }
  .sidebar nav {
    display: flex;
    gap: 4px;
    margin-top: 18px;
    overflow: auto;
  }
  .nav-item {
    width: auto;
    white-space: nowrap;
    padding: 9px 11px;
    font-size: 10px;
    gap: 6px;
    margin: 0;
  }
  .nav-item svg {
    width: 15px;
    height: 15px;
  }
  .nav-count {
    font-size: 8px;
    margin-left: 2px;
  }
  .workspace {
    margin-left: 0;
  }
  .topbar {
    height: 52px;
    padding: 0 20px;
    font-size: 10px;
  }
  .connection {
    font-size: 7px;
    letter-spacing: 0.6px;
  }
  .content-layout {
    padding: 27px 20px;
    gap: 24px;
  }
  .page-heading {
    margin-bottom: 23px;
  }
  h1 {
    font-size: 28px;
  }
  .page-heading p {
    font-size: 11px;
  }
  .hero-copy {
    width: 64%;
    padding: 25px;
  }
  .hero h2 {
    font-size: 34px;
  }
  .hero {
    min-height: 295px;
  }
  .rink-art {
    right: -68px;
    width: 53%;
    top: 24px;
  }
  .hero p {
    font-size: 11px;
  }
  .hero-foot {
    font-size: 8px;
  }
  .stat-grid {
    gap: 9px;
    margin-bottom: 24px;
  }
  .stat-card {
    padding: 13px 11px;
    min-height: 104px;
  }
  .stat-icon {
    display: none;
  }
  .stat-card strong {
    font-size: 23px;
  }
  .stat-detail {
    left: 11px;
    bottom: 10px;
    right: auto;
    font-size: 7px;
  }
  .stat-card div > span {
    font-size: 9px;
  }
  .queue-slots {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    padding: 3px 15px 18px;
  }
  .queue-slot {
    padding: 14px 5px;
  }
  .queue-slot strong {
    font-size: 10px;
  }
  .queue-slot > span:last-child {
    font-size: 8px;
  }
  .panel-footer {
    flex-wrap: wrap;
    padding: 14px 16px;
    gap: 12px;
  }
  .panel-footer > span {
    font-size: 9px;
  }
  .panel-heading {
    padding: 18px 16px;
  }
  .panel-heading h2 {
    font-size: 13px;
  }
  .overview-bottom {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .online-members {
    grid-template-columns: repeat(2, 1fr);
  }
  .demo-banner {
    padding: 9px 20px;
    font-size: 8px;
  }
  .demo-banner > div {
    width: 100%;
    justify-content: flex-start;
    margin-top: 3px;
  }
  .demo-banner label {
    font-size: 9px;
  }
  .demo-banner .small-button {
    margin-left: auto;
  }
  .teams-grid {
    gap: 9px;
    padding: 0 12px 18px;
  }
  .team-player {
    padding: 10px 8px;
    gap: 7px;
  }
  .team-player .avatar {
    width: 26px;
    height: 26px;
    font-size: 8px;
  }
  .team-player strong {
    font-size: 10px;
  }
  .team-player b {
    font-size: 9px;
  }
  .team-player div > span {
    font-size: 8px;
  }
  .team-heading {
    padding: 10px;
  }
  .team-heading h3 {
    font-size: 11px;
  }
  .match-body {
    padding: 0 14px 20px;
  }
  .available-players {
    gap: 8px;
  }
  .available-player {
    padding: 10px 8px;
    gap: 7px;
  }
  .available-player .avatar {
    width: 25px;
    height: 25px;
    font-size: 8px;
  }
  .available-player strong {
    font-size: 10px;
  }
  .pick-label {
    font-size: 8px;
  }
  .draft-turn {
    padding: 12px;
    gap: 6px;
    font-size: 10px;
    flex-wrap: wrap;
  }
  .draft-turn > span:last-child {
    font-size: 9px;
  }
  .available-heading > span {
    font-size: 9px;
  }
  .score-form {
    gap: 10px;
  }
  .score-form input {
    width: 65px;
  }
  .score-form .button {
    font-size: 10px;
    padding: 10px 14px;
  }
  .score-summary {
    gap: 18px;
  }
  .score-summary > span {
    gap: 14px;
  }
  .confirmation .button {
    padding: 10px 13px;
    font-size: 10px;
  }
  footer {
    padding: 18px 20px;
    font-size: 7px;
  }
  footer span:first-child {
    font-size: 6px;
    letter-spacing: 1px;
  }
  #toast {
    left: 50%;
    width: max-content;
  }
  .guide {
    padding: 23px 20px;
  }
  .guide p {
    font-size: 11px;
  }
  .sign-in {
    padding: 45px 20px;
  }
  .sign-in .large-brand {
    width: 58px;
    height: 60px;
    font-size: 35px;
  }
  .sign-in .large-brand span {
    font-size: 27px;
  }
  .sign-in h2 {
    font-size: 25px;
  }
}
html {
  overflow-anchor: none;
}
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.mobile-logout {
  display: none;
  background: none;
  font-size: 20px;
  color: var(--muted);
}
@media (max-width: 760px) {
  .mobile-logout {
    display: block;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
