:root {
  color-scheme: dark;
  --bg: #080d18;
  --surface: #101827;
  --card: #121d2e;
  --card-hover: #172438;
  --line: #223047;
  --text: #f4f7fc;
  --muted: #91a0b7;
  --cyan: #00d9ff;
  --violet: #8b5cf6;
  --green: #42d59c;
  --danger: #ff7589;
  --radius: 14px;
  --font: 'Inter', 'Segoe UI', Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 14px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}
button {
  color: inherit;
  cursor: pointer;
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
button,
input,
select,
textarea {
  outline-offset: 4px;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 5px;
}
button {
  border: 0;
}
input,
textarea,
select {
  color: var(--text);
  background: #0b1321;
  border: 1px solid #2a3850;
  border-radius: 8px;
  padding: 12px 14px;
  min-width: 0;
  transition:
    border-color 0.18s,
    box-shadow 0.18s;
}
input:focus,
textarea:focus,
select:focus {
  outline: 0;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px #00d9ff14;
}
input::placeholder,
textarea::placeholder {
  color: #64758c;
}
select {
  cursor: pointer;
}
textarea {
  resize: vertical;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -0.035em;
}
h1 {
  font-size: 38px;
}
h2 {
  font-size: 27px;
}
h3 {
  font-size: 19px;
}
p {
  color: var(--muted);
}
img {
  max-width: 100%;
}
.icon {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  vertical-align: middle;
}
.muted {
  color: var(--muted);
}
.accent {
  color: var(--cyan);
}
.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  line-height: 1.5;
}
.eyebrow span {
  margin: 0 5px;
  color: #54647a;
}
.button {
  min-height: 44px;
  padding: 11px 19px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.1px;
  white-space: nowrap;
  transition:
    background 0.18s,
    transform 0.18s,
    border-color 0.18s;
  border: 1px solid transparent;
}
.button:hover:not(:disabled) {
  transform: translateY(-1px);
}
.button.primary {
  background: var(--cyan);
  color: #06212c;
  box-shadow: 0 4px 20px #00d9ff09;
}
.button.primary:hover {
  background: #61e8ff;
}
.button.secondary {
  background: #132033;
  border-color: #2a384e;
  color: #dbe4f1;
}
.button.secondary:hover {
  background: #1b2b41;
  border-color: #4b607b;
}
.button.small {
  min-height: 36px;
  padding: 8px 12px;
  font-size: 11px;
}
.button.danger {
  color: #ff91a0;
  border-color: #763c4c;
  background: #341a28;
}
.button.full-width {
  width: 100%;
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  flex-shrink: 0;
}
.icon-button:hover {
  background: #ffffff0b;
  color: var(--text);
}
.button-row {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.text-link {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: #d3ddeb;
  font-size: 12px;
  font-weight: 600;
}
.text-link:hover {
  color: var(--cyan);
}
.text-link .icon {
  width: 16px;
}
.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.7px;
}
.brand > span {
  display: flex;
  gap: 4px;
}
.brand-light {
  font-weight: 400;
  letter-spacing: 1.3px;
  color: #bcc9db;
}
.brand img {
  width: 34px;
  height: 34px;
}
.site-header {
  height: 84px;
  border-bottom: 1px solid #ffffff08;
  position: relative;
  z-index: 10;
}
.header-inner {
  max-width: 1400px;
  padding: 0 60px;
  height: 100%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.desktop-nav {
  display: flex;
  gap: 30px;
  align-items: center;
  font-size: 12px;
  color: #9aa9bd;
}
.desktop-nav a:hover,
.desktop-nav a[aria-current] {
  color: #f4f7fc;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 12px;
}
.language-select {
  background: transparent;
  border-color: transparent;
  padding: 5px;
  font-size: 11px;
  color: var(--muted);
  max-width: 110px;
}
.language-select option {
  background: var(--surface);
}
.login-link {
  font-weight: 600;
}
.section {
  max-width: 1280px;
  padding: 70px 0;
  margin: 0 auto;
}
.hero {
  position: relative;
  max-width: 1400px;
  padding: 92px 60px 90px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  gap: 48px;
  align-items: center;
  overflow: hidden;
}
.hero-orbit {
  position: absolute;
  width: 750px;
  height: 750px;
  background: radial-gradient(ellipse, #16435625, transparent 68%);
  right: -140px;
  top: -170px;
  pointer-events: none;
}
.hero-copy {
  z-index: 1;
}
.hero-eyebrow {
  display: flex;
  gap: 9px;
  align-items: center;
  color: #a4b8cc;
  margin-bottom: 25px;
  font-size: 9px;
  letter-spacing: 2px;
}
.live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 0 4px #00d9ff0e;
  flex-shrink: 0;
}
.hero h1 {
  font-size: clamp(45px, 4.2vw, 66px);
  font-weight: 680;
  line-height: 1.08;
  letter-spacing: -3px;
  max-width: 560px;
}
.hero h1 span {
  color: var(--cyan);
}
.hero-copy > p {
  font-size: 14px;
  line-height: 1.85;
  max-width: 405px;
  margin-top: 24px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.hero-proof {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 24px;
  font-size: 9px;
  color: #889aaf;
}
.hero-proof span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.hero-proof .icon {
  width: 12px;
  height: 12px;
  color: #63a79b;
}
.hero-product {
  position: relative;
  min-width: 0;
  padding-bottom: 22px;
}
.product-window {
  background: #0d1625;
  border: 1px solid #2a3950;
  border-radius: 12px;
  box-shadow:
    0 24px 80px #0006,
    0 0 70px #00d9ff06;
  overflow: hidden;
  position: relative;
  transform: perspective(1800px) rotateY(-4deg) rotateX(1deg);
}
.window-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 34px;
  background: #141f30;
  border-bottom: 1px solid #233046;
  padding: 0 15px;
  font-size: 7px;
  letter-spacing: 1.4px;
  color: #8595ab;
}
.window-dots {
  display: flex;
  gap: 5px;
}
.window-dots i {
  width: 5px;
  height: 5px;
  background: #435269;
  border-radius: 50%;
}
.window-dots i:first-child {
  background: #a25f6b;
}
.window-dots i:nth-child(2) {
  background: #a18f58;
}
.window-dots i:nth-child(3) {
  background: #4d8a7c;
}
.preview-tag {
  border: 1px solid #3c4960;
  border-radius: 3px;
  font-size: 6px;
  padding: 1px 4px;
}
.preview-heading {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 22px 20px 18px;
}
.preview-heading .eyebrow {
  font-size: 6px;
  letter-spacing: 1.2px;
  color: #7f91a9;
}
.preview-heading h2 {
  font-size: 17px;
  letter-spacing: -0.5px;
  margin: 4px 0 7px;
}
.preview-heading p {
  font-size: 8px;
}
.preview-heading p span {
  padding: 0 6px;
}
.preview-heading > .badge {
  margin-left: auto;
  font-size: 7px;
  padding: 3px 7px;
}
.tournament-emblem {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  background: linear-gradient(145deg, #173b4b, #112333);
  border: 1px solid #285365;
  border-radius: 12px;
  color: #4be5fa;
  flex-shrink: 0;
}
.tournament-emblem .icon {
  width: 25px;
  height: 25px;
}
.preview-tabs {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 0 20px;
  font-size: 8px;
  color: #8da0b8;
  height: 35px;
  border-bottom: 1px solid #ffffff0a;
}
.preview-tabs > span {
  height: 35px;
  display: flex;
  gap: 5px;
  align-items: center;
}
.preview-tabs .active {
  color: var(--cyan);
  border-bottom: 2px solid var(--cyan);
}
.preview-tabs .icon {
  width: 11px;
  height: 11px;
}
.preview-tabs a {
  margin-left: auto;
}
.preview-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 17px;
  font-size: 7px;
  color: #8195ac;
  border-top: 1px solid #ffffff09;
}
.preview-footer span,
.preview-footer a {
  display: flex;
  align-items: center;
  gap: 7px;
}
.preview-footer .live-dot {
  width: 4px;
  height: 4px;
}
.preview-footer .icon {
  width: 11px;
  height: 11px;
}
.floating-note {
  position: absolute;
  right: 25px;
  bottom: 0;
  display: flex;
  gap: 10px;
  align-items: center;
  background: #162637ee;
  backdrop-filter: blur(12px);
  border: 1px solid #355064;
  border-radius: 9px;
  box-shadow: 0 8px 30px #0005;
  padding: 13px 20px;
}
.floating-note > .icon {
  color: var(--cyan);
  background: #16404b;
  border: 1px solid #225b65;
  padding: 5px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
}
.floating-note strong {
  font-size: 10px;
  display: block;
}
.floating-note span {
  display: block;
  font-size: 8px;
  color: var(--muted);
  margin-top: 2px;
}
.sports-ribbon {
  max-width: 1280px;
  margin: auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 55px;
  align-items: center;
  padding: 27px 0;
}
.sports-ribbon > span {
  font-size: 8px;
  letter-spacing: 1.3px;
  color: #697b93;
  max-width: 130px;
  line-height: 1.9;
}
.sports-ribbon > div {
  display: flex;
  gap: 36px;
  justify-content: space-between;
  flex: 1;
  flex-wrap: wrap;
}
.sports-ribbon > div > span {
  display: flex;
  gap: 10px;
  align-items: center;
  color: #a4b1c4;
  font-weight: 600;
  font-size: 13px;
}
.sports-ribbon .icon {
  color: #6e819d;
  width: 20px;
  height: 20px;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.section-heading .eyebrow {
  margin-bottom: 11px;
}
.section-heading h2 {
  font-size: 32px;
  letter-spacing: -1.1px;
}
.section-heading p {
  margin-top: 12px;
  font-size: 12px;
}
.section-heading.centered {
  text-align: center;
  justify-content: center;
}
.centered h2 {
  font-size: 40px;
  line-height: 1.2;
}
.tournament-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.tournament-card {
  background: #101a2a;
  border: 1px solid #233047;
  border-radius: 11px;
  overflow: hidden;
  display: block;
  transition:
    transform 0.2s,
    border-color 0.2s,
    box-shadow 0.2s;
}
.tournament-card:hover {
  transform: translateY(-5px);
  border-color: #416078;
  box-shadow: 0 12px 35px #0003;
}
.card-art {
  height: 165px;
  position: relative;
  overflow: hidden;
  background: #10343b;
}
.art-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(#ffffff0b 1px, transparent 1px),
    linear-gradient(90deg, #ffffff0b 1px, transparent 1px);
  background-size: 40px 40px;
  transform: rotate(-20deg) scale(1.5);
  opacity: 0.65;
}
.art-football {
  background: linear-gradient(120deg, #174b4e, #0e242e);
}
.art-esport {
  background: linear-gradient(120deg, #392164, #171b38);
}
.art-chess {
  background: linear-gradient(120deg, #695137, #27212c);
}
.art-racket {
  background: linear-gradient(120deg, #133c5d, #1e293b);
}
.art-word {
  position: absolute;
  left: 22px;
  top: 48px;
  font-size: 50px;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -4px;
  color: #ffffff15;
  transform: rotate(-6deg);
}
.art-icon {
  position: absolute;
  right: 30px;
  top: 34px;
  transform: rotate(13deg);
}
.art-icon .icon {
  height: 93px;
  width: 93px;
  stroke-width: 0.65;
  color: #a3ecec70;
  filter: drop-shadow(0 4px 20px #00d9ff22);
}
.art-esport .art-icon .icon {
  color: #c5a5ff99;
}
.art-chess .art-icon .icon {
  color: #e9c69099;
}
.category-tag {
  position: absolute;
  left: 17px;
  bottom: 16px;
  font-size: 9px;
  font-weight: 650;
  color: #f5fbff;
  background: #ffffff13;
  border: 1px solid #ffffff20;
  padding: 3px 8px;
  border-radius: 4px;
  backdrop-filter: blur(6px);
}
.card-art > .badge {
  position: absolute;
  top: 14px;
  left: 16px;
  background: #09131dbb;
  backdrop-filter: blur(10px);
  font-size: 8px;
  padding: 4px 8px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  padding: 3px 8px;
  border: 1px solid #35445c;
  color: #acbdd3;
  background: #1c2a3c66;
  border-radius: 5px;
  text-transform: capitalize;
  white-space: nowrap;
}
.badge i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}
.badge.live {
  color: #50dbb3;
  border-color: #2a74594d;
  background: #12352c80;
}
.badge.completed {
  color: #9daff5;
  border-color: #7388d140;
  background: #25315660;
}
.badge.draft,
.badge.pending {
  color: #a8b7ca;
}
.badge.scheduled {
  color: #7bd6ec;
}
.badge.postponed {
  color: #e9be70;
}
.badge.cancelled,
.badge.archived {
  color: #c394a1;
}
.card-body {
  padding: 20px 20px 0;
}
.card-body > .eyebrow {
  font-size: 8px;
  letter-spacing: 0.3px;
  color: #8ba0b9;
  text-transform: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card-body h3 {
  font-size: 18px;
  letter-spacing: -0.4px;
  margin: 9px 0 17px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.card-meta {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  color: #8b9bb2;
  font-size: 10px;
}
.card-meta > span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.card-meta .icon {
  width: 13px;
  height: 13px;
  color: #6d829d;
}
.card-footer {
  border-top: 1px solid #ffffff09;
  margin-top: 19px;
  padding: 13px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 9px;
  color: #a1b1c6;
}
.card-footer > span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.card-footer > .icon {
  width: 16px;
  color: #6b86a3;
}
.mini-avatar {
  font-style: normal;
  font-size: 8px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #293950;
  color: #adc4e2;
  display: flex;
  justify-content: center;
  align-items: center;
}
.sample-caption {
  font-size: 9px;
  text-align: right;
  margin-top: 12px;
  color: #63758c;
}
.feature-section {
  padding-top: 50px;
}
.features-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}
.feature-card {
  padding: 30px;
  background: linear-gradient(130deg, #122033, #0e1725);
  border: 1px solid #233047;
  border-radius: 12px;
  overflow: hidden;
}
.feature-card h3 {
  font-size: 19px;
  line-height: 1.4;
  margin: 20px 0 12px;
  letter-spacing: -0.5px;
}
.feature-card p {
  font-size: 11px;
  line-height: 1.9;
}
.feature-icon {
  width: 40px;
  height: 40px;
  border: 1px solid #24515b;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4be4fa;
  background: #11313d;
}
.feature-icon.purple {
  color: #ae8bfc;
  background: #282041;
  border-color: #453665;
}
.feature-icon.green {
  color: #60d8b2;
  background: #14372e;
  border-color: #275445;
}
.feature-wide {
  padding-top: 20px;
}
.feature-wide > div > .icon {
  display: none;
}
.feature-wide h3 {
  margin-top: 14px;
}
.feature-visual {
  height: 80px;
  position: relative;
}
.mini-bracket {
  position: relative;
  width: 100%;
  height: 80px;
  font-size: 7px;
  color: #94a9c2;
  max-width: 280px;
  margin: auto;
}
.mini-bracket > span {
  border: 1px solid #2e4058;
  background: #18283b;
  border-radius: 4px;
  position: absolute;
  width: 95px;
  padding: 7px 9px;
  left: 0;
  top: 0;
  display: flex;
  justify-content: space-between;
}
.mini-bracket > span:nth-child(2) {
  top: 44px;
}
.mini-bracket .mini-winner {
  left: 150px;
  top: 22px;
  color: #53dff3;
  border-color: #2f6472;
}
.mini-winner .icon {
  width: 12px;
  height: 12px;
}
.mini-bracket i {
  position: absolute;
  left: 95px;
  top: 14px;
  width: 30px;
  height: 43px;
  border: 1px solid #32465e;
  border-left: 0;
}
.mini-bracket i:after {
  content: '';
  position: absolute;
  right: -26px;
  top: 21px;
  width: 26px;
  height: 1px;
  background: #32465e;
}
.url-chip {
  border: 1px solid #3a34584d;
  border-radius: 6px;
  padding: 9px 10px;
  margin-top: 25px;
  font-size: 8px;
  color: #a99aca;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #211e3444;
}
.url-chip .icon,
.security-chip .icon {
  width: 13px;
  height: 13px;
}
.security-chip {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #71b99e;
  font-size: 9px;
  margin-top: 25px;
}
.how-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  border-top: 1px solid #ffffff09;
  border-bottom: 1px solid #ffffff09;
  padding-top: 65px;
  padding-bottom: 65px;
}
.how-section h2 {
  font-size: 36px;
  line-height: 1.2;
  letter-spacing: -1.3px;
  margin: 14px 0 25px;
}
.steps {
  display: flex;
  flex-direction: column;
  gap: 27px;
}
.step {
  display: flex;
  gap: 22px;
  align-items: flex-start;
}
.step > span {
  font-size: 12px;
  color: var(--cyan);
  background: #102634;
  border: 1px solid #1c4254;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step h3 {
  font-size: 16px;
  letter-spacing: -0.2px;
  margin-top: 5px;
}
.step p {
  font-size: 11px;
  margin-top: 7px;
}
.formats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.formats-grid article {
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 10px;
  display: grid;
  grid-template-columns: 35px 1fr;
  gap: 7px 10px;
}
.formats-grid .icon {
  grid-row: 1/3;
  color: #6bc7e0;
  width: 26px;
  height: 26px;
}
.formats-grid h3 {
  font-size: 15px;
  letter-spacing: -0.2px;
}
.formats-grid p {
  font-size: 11px;
}
.faq-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
  padding-top: 30px;
}
.faq-section h2 {
  margin-top: 12px;
  font-size: 32px;
}
.faq-list details {
  border-bottom: 1px solid var(--line);
}
.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 19px 0;
  font-size: 13px;
  font-weight: 500;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary .icon {
  width: 16px;
  color: #7e94ad;
}
.faq-list details[open] summary .icon {
  transform: rotate(45deg);
}
.faq-list details p {
  padding: 0 30px 20px 0;
  font-size: 12px;
  line-height: 1.9;
}
.cta-section {
  margin: 20px auto 65px;
  max-width: 1280px;
  text-align: center;
  padding: 65px 25px;
  border: 1px solid #274052;
  border-radius: 14px;
  background: radial-gradient(ellipse at 50% 100%, #0a445333, transparent 70%), #101b2a;
}
.cta-section .eyebrow {
  color: #7595ab;
  font-size: 9px;
}
.cta-section h2 {
  font-size: 40px;
  margin: 15px 0 25px;
  letter-spacing: -1.6px;
}
.site-footer {
  max-width: 1280px;
  margin: auto;
  border-top: 1px solid var(--line);
  padding: 35px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}
.site-footer .brand {
  font-size: 12px;
}
.site-footer .brand img {
  width: 28px;
  height: 28px;
}
.site-footer p {
  font-size: 10px;
  margin-top: 8px;
}
.site-footer > div:nth-child(2) {
  display: flex;
  gap: 24px;
  font-size: 10px;
  color: #8c9eb5;
}
.site-footer > span {
  font-size: 9px;
  color: #64768e;
}
.workspace {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  overflow-y: auto;
  width: 240px;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  background: #0c1422;
  border-right: 1px solid #1e2a3d;
  display: flex;
  flex-direction: column;
  padding: 28px 18px 18px;
  z-index: 30;
}
.sidebar .brand {
  font-size: 12px;
  padding: 0 9px;
  gap: 8px;
}
.sidebar .brand img {
  width: 29px;
  height: 29px;
}
.sidebar .brand-light {
  letter-spacing: 0.8px;
}
.workspace-label {
  font-size: 8px;
  letter-spacing: 1.3px;
  color: #5f7691;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 41px 12px 15px;
}
.workspace-label > span {
  font-size: 6px;
  border: 1px solid #2c3a51;
  padding: 2px 4px;
  border-radius: 3px;
  letter-spacing: 0.7px;
}
.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sidebar nav > a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 7px;
  font-size: 11px;
  color: #889db6;
  transition: background 0.2s;
}
.sidebar nav > a .icon {
  width: 17px;
  height: 17px;
}
.sidebar nav > a:hover {
  background: #ffffff06;
  color: #dce7f6;
}
.sidebar nav > a.active {
  background: #0e3040;
  color: #5ee4f8;
  box-shadow: inset 0 0 0 1px #1f4f5e;
}
.sidebar nav > a.active i {
  margin-left: auto;
  background: var(--cyan);
  width: 4px;
  height: 4px;
  border-radius: 50%;
}
.nav-divider {
  height: 1px;
  background: #ffffff0a;
  margin: 15px 12px;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 30px;
}
.sidebar-tip {
  padding: 18px 15px;
  background: linear-gradient(130deg, #17263b, #101b2a);
  border: 1px solid #273950;
  border-radius: 9px;
  margin-bottom: 20px;
}
.sidebar-tip > .icon {
  color: #7594b7;
  width: 24px;
  height: 24px;
}
.sidebar-tip strong {
  display: block;
  font-size: 12px;
  line-height: 1.6;
  margin-top: 8px;
  font-weight: 550;
}
.sidebar-tip p {
  font-size: 9px;
  margin: 7px 0 12px;
}
.sidebar-tip a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 9px;
  color: #71dcee;
}
.sidebar-tip a .icon {
  width: 14px;
  height: 14px;
}
.user-panel {
  padding: 12px 2px 0;
  border-top: 1px solid #ffffff0a;
  display: flex;
  gap: 10px;
  align-items: center;
}
.avatar {
  width: 33px;
  height: 33px;
  background: #30405c;
  color: #c4d4ed;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  font-size: 10px;
  font-weight: 600;
}
.user-panel > div {
  flex: 1;
  min-width: 0;
}
.user-panel strong {
  display: block;
  font-size: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.user-panel small {
  display: block;
  color: #6f849f;
  font-size: 8px;
}
.user-panel .icon-button {
  width: 25px;
}
.user-panel .icon {
  width: 15px;
}
.workspace-main {
  margin-left: 240px;
  width: calc(100% - 240px);
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.workspace-header {
  height: 75px;
  border-bottom: 1px solid #1e293b;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 38px;
  gap: 15px;
}
.workspace-header > div:last-child {
  display: flex;
  gap: 22px;
  align-items: center;
}
.breadcrumb {
  font-size: 10px;
  color: #647b98;
  display: flex;
  align-items: center;
  gap: 13px;
}
.breadcrumb .icon {
  width: 10px;
}
.breadcrumb > span {
  color: #b1c3db;
}
.timezone-label {
  color: #69809c;
  font-size: 9px;
  display: flex;
  gap: 6px;
  align-items: center;
}
.timezone-label .icon {
  width: 13px;
}
.workspace-content {
  padding: 35px 38px 50px;
  flex: 1;
  max-width: 1800px;
  width: 100%;
  margin: auto;
}
.workspace-footer {
  font-size: 8px;
  letter-spacing: 1px;
  color: #5c718c;
  border-top: 1px solid #ffffff07;
  padding: 15px 38px;
  display: flex;
  justify-content: space-between;
}
.workspace-footer span {
  letter-spacing: 0;
}
.mobile-menu {
  display: inline-flex;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  margin-bottom: 30px;
}
.page-heading h1 {
  font-size: 29px;
  margin: 9px 0 12px;
  letter-spacing: -1px;
}
.page-heading p {
  font-size: 12px;
}
.page-heading .eyebrow {
  font-size: 8px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 35px;
}
.stat-card {
  padding: 20px;
  background: #111c2d;
  border: 1px solid #243148;
  border-radius: 10px;
}
.stat-card > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.stat-card span {
  font-size: 10px;
  color: #91a6c0;
}
.stat-card .stat-icon {
  width: 28px;
  height: 28px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 7px;
  background: #193744;
  color: #5dd2ec;
}
.stat-card .stat-icon .icon {
  width: 15px;
  height: 15px;
}
.stat-card strong {
  display: block;
  font-size: 33px;
  font-weight: 550;
  line-height: 1.2;
  margin: 14px 0 9px;
  letter-spacing: -1px;
}
.stat-card small {
  font-size: 8px;
  color: #66839e;
}
.stat-card .color-1 {
  color: #5cddb1;
  background: #173b34;
}
.stat-card .color-2 {
  color: #a28ef0;
  background: #29233f;
}
.stat-card .color-3 {
  color: #e9bc6d;
  background: #3b3022;
}
.compact-heading {
  align-items: center;
  margin-bottom: 18px;
}
.compact-heading h2 {
  font-size: 19px;
  letter-spacing: -0.5px;
}
.count-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #2a3a50;
  background: #162236;
  min-width: 24px;
  height: 22px;
  border-radius: 5px;
  font-size: 10px;
  color: #99acc5;
  margin-left: 8px;
  font-weight: 500;
}
.search-box {
  display: flex;
  align-items: center;
  gap: 9px;
  background: #0c1524;
  border: 1px solid #26334b;
  border-radius: 7px;
  padding: 0 12px;
  min-width: 240px;
}
.search-box input {
  background: transparent;
  border: 0;
  padding: 9px 0;
  font-size: 10px;
  width: 100%;
  box-shadow: none;
}
.search-box .icon {
  width: 15px;
  height: 15px;
  color: #5e7693;
}
.filter-tabs {
  display: flex;
  gap: 7px;
  margin-bottom: 23px;
  overflow-x: auto;
}
.filter-tabs button {
  padding: 7px 13px;
  font-size: 10px;
  color: #8299b5;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  white-space: nowrap;
}
.filter-tabs button.active {
  background: #1b293c;
  border-color: #30425a;
  color: #c9d9ee;
}
.workspace .tournament-grid {
  gap: 18px;
}
.workspace .card-art {
  height: 130px;
}
.workspace .art-word {
  font-size: 38px;
}
.workspace .art-icon {
  top: 28px;
  right: 22px;
}
.workspace .art-icon .icon {
  width: 72px;
  height: 72px;
}
.workspace .card-body {
  padding: 16px 16px 0;
}
.workspace .card-body h3 {
  font-size: 16px;
}
.workspace .card-meta {
  font-size: 9px;
}
.workspace .card-body .eyebrow {
  font-size: 7px;
}
.activity-section {
  margin-top: 35px;
  background: #101a2a;
  border: 1px solid #233148;
  border-radius: 10px;
  padding: 22px;
}
.activity-section h2 {
  font-size: 17px;
}
.activity-section > .section-heading > .icon {
  color: #586e8a;
}
.activity-row {
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid #ffffff07;
  padding: 13px 0;
  font-size: 11px;
}
.activity-row:last-child {
  border: 0;
}
.activity-row strong {
  font-size: 11px;
  font-weight: 500;
}
.activity-row p {
  font-size: 9px;
  margin-top: 2px;
}
.activity-row time {
  margin-left: auto;
  color: #667d98;
  font-size: 9px;
  flex-shrink: 0;
}
.activity-icon {
  width: 29px;
  height: 29px;
  border-radius: 7px;
  background: #1a2c3e;
  color: #759bbb;
  display: flex;
  align-items: center;
  justify-content: center;
}
.activity-icon .icon {
  width: 14px;
  height: 14px;
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 25px;
  font-size: 11px;
  color: var(--muted);
}
.empty-state {
  grid-column: 1/-1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 65px 20px;
  border: 1px dashed #2b3c54;
  border-radius: 12px;
  background: #0d1725;
  min-height: 300px;
}
.empty-state h2 {
  font-size: 22px;
  margin: 22px 0 12px;
}
.empty-state p {
  font-size: 12px;
  max-width: 420px;
  margin-bottom: 24px;
}
.empty-icon {
  border: 1px solid #2b4f64;
  border-radius: 16px;
  background: #142b3a;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5dcbe1;
}
.empty-icon .icon {
  width: 30px;
  height: 30px;
}
.explore-page {
  min-height: 75vh;
  padding-top: 65px;
}
.explore-search {
  margin-bottom: 30px;
  max-width: 450px;
}
.explore-search input {
  padding: 13px 0;
  font-size: 13px;
}
.panel {
  padding: 26px;
  background: #111c2c;
  border: 1px solid #26344a;
  border-radius: 11px;
  margin-bottom: 22px;
  min-width: 0;
}
.panel h2 {
  font-size: 20px;
  margin-bottom: 20px;
}
.panel > p {
  font-size: 12px;
  margin-bottom: 20px;
}
.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  max-width: 1150px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 11px;
  font-weight: 500;
  min-width: 0;
}
.field > span {
  display: flex;
  justify-content: space-between;
  color: #b8c8dd;
}
.field small {
  font-size: 10px;
  color: #6e85a2;
}
.field input,
.field textarea,
.field select {
  font-size: 12px;
  font-weight: 400;
  width: 100%;
}
.field-hint {
  font-size: 11px;
  line-height: 1.7;
  margin-top: -8px;
  margin-bottom: 20px;
  color: #8095b0;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
}
.form-error {
  font-size: 12px;
  color: var(--danger);
  margin: 15px 0;
}
.form-error:empty {
  margin: 0;
}
.security-panel > .icon {
  width: 42px;
  height: 42px;
  color: #57ccb0;
  margin-bottom: 20px;
}
.security-panel ul {
  padding-left: 20px;
  line-height: 2.5;
  font-size: 12px;
  color: #9db1ca;
  margin-bottom: 25px;
}
.auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.auth-story {
  position: relative;
  padding: 45px 55px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid #22354a;
  background:
    radial-gradient(ellipse at 20% 65%, #0d526135, transparent 75%),
    linear-gradient(145deg, #101c2d, #0b1421);
  overflow: hidden;
}
.auth-story:after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border: 1px solid #29495b66;
  border-radius: 50%;
  left: 10%;
  top: 25%;
  box-shadow:
    0 0 0 70px #2041540a,
    0 0 0 140px #20415409;
  pointer-events: none;
}
.auth-story-copy {
  position: relative;
  z-index: 1;
  padding-top: 70px;
}
.auth-story-copy h1 {
  font-size: 44px;
  line-height: 1.2;
  margin: 20px 0;
  letter-spacing: -1.8px;
}
.auth-story-copy > p {
  font-size: 13px;
}
.auth-trophy {
  height: 220px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.auth-trophy .icon {
  width: 130px;
  height: 130px;
  stroke-width: 0.9;
  color: #38b6cc;
  filter: drop-shadow(0 0 30px #00d9ff33);
  transform: rotate(-10deg);
}
.auth-bottom {
  font-size: 9px;
  color: #63839d;
  letter-spacing: 1.5px;
}
.auth-form-side {
  padding: 35px 60px;
  display: flex;
  flex-direction: column;
}
.auth-home {
  align-self: flex-end;
  font-size: 10px;
  color: #6d87a3;
}
.auth-home .icon {
  transform: rotate(180deg);
  width: 13px;
}
.auth-form-wrap {
  max-width: 360px;
  width: 100%;
  margin: auto;
  padding: 40px 0;
}
.auth-form-wrap h2 {
  font-size: 30px;
  line-height: 1.25;
  margin: 14px 0;
  letter-spacing: -1px;
}
.auth-form-wrap > p {
  font-size: 11px;
  margin-bottom: 27px;
}
.auth-form-wrap > p a {
  color: var(--cyan);
  margin-left: 5px;
}
.auth-form-wrap .field {
  margin-bottom: 16px;
}
.auth-security {
  display: flex;
  justify-content: center;
  gap: 7px;
  font-size: 9px;
  color: #637a96;
  margin-top: 25px;
}
.auth-security .icon {
  width: 12px;
  height: 12px;
}
.forgot-link {
  display: block;
  text-align: right;
  color: #85cbd8;
  font-size: 10px;
  margin: -7px 0 20px;
}
.wizard-layout {
  display: grid;
  grid-template-columns: 215px minmax(0, 680px);
  gap: 35px;
  justify-content: center;
}
.wizard-steps {
  padding: 12px 0;
}
.wizard-step {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 30px;
  position: relative;
}
.wizard-step:not(:nth-child(5)):after {
  content: '';
  position: absolute;
  width: 1px;
  height: 25px;
  background: #23324a;
  left: 16px;
  top: 39px;
}
.wizard-step > span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #30415a;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111e30;
  font-size: 11px;
  color: #6f85a1;
  flex-shrink: 0;
}
.wizard-step > span .icon {
  width: 15px;
  height: 15px;
}
.wizard-step small {
  display: block;
  font-size: 8px;
  color: #5d7594;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.wizard-step strong {
  font-size: 11px;
  color: #8097b3;
  font-weight: 550;
}
.wizard-step.active > span {
  color: #04202a;
  background: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px #00d9ff0b;
}
.wizard-step.active strong {
  color: #ebf5fe;
}
.wizard-step.done > span {
  color: #4de1d0;
  border-color: #286169;
  background: #12353c;
}
.wizard-tip {
  border-top: 1px solid #223047;
  margin-top: 35px;
  padding-top: 25px;
  max-width: 170px;
}
.wizard-tip > .icon {
  color: #758fae;
}
.wizard-tip p {
  font-size: 10px;
  margin-top: 10px;
}
.wizard-panel {
  background: #111c2d;
  border: 1px solid #26364f;
  border-radius: 12px;
  padding: 30px;
}
.wizard-panel-heading {
  margin-bottom: 28px;
}
.wizard-panel-heading .eyebrow {
  font-size: 8px;
  color: #6784a4;
}
.wizard-panel-heading h2 {
  font-size: 25px;
  margin-top: 10px;
}
.wizard-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #27364c;
  padding-top: 22px;
  margin-top: 28px;
}
.choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 25px;
}
.choice-card {
  padding: 20px;
  border: 1px solid #2d3f58;
  border-radius: 9px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  background: #0c1727;
  font-size: 12px;
}
.choice-card:has(input:checked) {
  border-color: #26a5bd;
  background: #113442;
}
.choice-card input {
  accent-color: var(--cyan);
  width: 14px;
  height: 14px;
}
.choice-card .icon {
  color: #7d9cba;
}
.choice-card strong {
  font-weight: 500;
}
.format-choices {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 25px;
}
.format-choice {
  border: 1px solid #2a3a52;
  border-radius: 9px;
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 19px;
  background: #0e1929;
  cursor: pointer;
}
.format-choice input {
  accent-color: var(--cyan);
}
.format-choice > .icon {
  color: #7692b3;
  width: 23px;
  height: 23px;
}
.format-choice > .icon:last-child {
  margin-left: auto;
  width: 16px;
  height: 16px;
  opacity: 0;
}
.format-choice:has(input:checked) {
  border-color: #2ba1b7;
  background: #10313e;
}
.format-choice:has(input:checked) > .icon:last-child {
  opacity: 1;
  color: var(--cyan);
}
.format-choice strong {
  display: block;
  font-size: 12px;
  font-weight: 550;
}
.format-choice small {
  display: block;
  font-size: 10px;
  color: #7e96b1;
  margin-top: 4px;
}
.roster-toolbar {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-bottom: 20px;
}
.roster-input {
  font-family: var(--font);
  line-height: 2;
}
.roster-count {
  font-size: 11px;
  color: #849db9;
  padding: 10px 14px;
  background: #0b1727;
  border-radius: 6px;
}
.roster-count span {
  color: var(--cyan);
  font-weight: 650;
  margin-right: 5px;
}
.info-box {
  display: flex;
  gap: 14px;
  padding: 17px;
  background: #0e2a37;
  border: 1px solid #214b5c;
  border-radius: 8px;
  margin: 20px 0;
}
.info-box > .icon {
  color: #5acde2;
  flex-shrink: 0;
}
.info-box strong {
  font-size: 11px;
  font-weight: 500;
}
.info-box p {
  font-size: 10px;
  margin-top: 6px;
  color: #83a7ba;
}
.rule-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  font-size: 11px;
  color: #8fa9bd;
  margin: 25px 0;
}
.rule-list span {
  display: flex;
  gap: 9px;
  align-items: center;
}
.rule-list .icon {
  width: 14px;
  height: 14px;
  color: #4fc7aa;
}
.review-hero {
  display: flex;
  gap: 18px;
  align-items: center;
}
.review-hero h2 {
  font-size: 20px;
  margin: 6px 0 8px;
  overflow-wrap: anywhere;
}
.review-hero p {
  font-size: 11px;
}
.review-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 25px 0;
  background: #0a1625;
  border: 1px solid #26364b;
  border-radius: 8px;
  padding: 20px 0;
}
.review-stats > div {
  text-align: center;
  border-right: 1px solid #26364b;
}
.review-stats > div:last-child {
  border: 0;
}
.review-stats strong {
  display: block;
  font-size: 25px;
  color: #d6edfa;
  font-weight: 500;
}
.review-stats span {
  font-size: 9px;
  color: #6d8ba7;
}
.seed-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  max-height: 300px;
  overflow: auto;
  margin-bottom: 20px;
}
.seed-preview > div {
  padding: 8px 10px;
  background: #152238;
  border: 1px solid #25364e;
  border-radius: 5px;
  font-size: 11px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.seed-preview span {
  font-size: 9px;
  color: #6e94b2;
  margin-right: 10px;
}
.public-tournament {
  padding-top: 35px;
}
.demo-banner {
  display: flex;
  align-items: center;
  gap: 13px;
  border: 1px solid #3b3a67;
  background: #211e3699;
  border-radius: 8px;
  padding: 14px 20px;
  margin-bottom: 22px;
}
.demo-banner > .icon {
  color: #aa91ed;
}
.demo-banner strong {
  font-size: 11px;
  display: block;
  color: #c5b6ed;
}
.demo-banner span {
  font-size: 10px;
  color: #8e87aa;
}
.demo-banner > a {
  margin-left: auto;
}
.tournament-cover {
  height: 145px;
  border: 1px solid #235064;
  border-radius: 12px;
  background: linear-gradient(110deg, #104758, #0c2639 65%, #102338);
  position: relative;
  overflow: hidden;
  padding: 23px 28px;
}
.cover-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background: repeating-linear-gradient(130deg, transparent 0 40px, #ffffff07 40px 41px);
}
.cover-label {
  position: relative;
  color: #72b5c5;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.cover-word {
  position: absolute;
  right: 35px;
  top: 12px;
  font-size: 92px;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -7px;
  color: #80c9df12;
}
.theme-royal {
  background: linear-gradient(110deg, #493175, #161a36);
  border-color: #594880;
}
.theme-gold {
  background: linear-gradient(110deg, #5c4828, #242437);
  border-color: #665438;
}
.theme-midnight {
  background: linear-gradient(110deg, #1d264d, #121623);
  border-color: #333e61;
}
.theme-light {
  background: linear-gradient(110deg, #dae9f1, #a6c4d7);
  border-color: #b5cedb;
}
.theme-light .cover-label {
  color: #315a70;
}
.theme-light .cover-word {
  color: #173e5b22;
}
.theme-minimal {
  background: #1b2b37;
  border-color: #354b5c;
}
.tournament-title-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0 24px;
  padding: 23px 0 25px;
}
.tournament-emblem.large {
  width: 82px;
  height: 82px;
  border-radius: 16px;
  background: linear-gradient(145deg, #1f4b5a, #102535);
  border: 4px solid var(--bg);
  outline: 1px solid #365267;
  margin-top: -60px;
  position: relative;
  box-shadow: 0 5px 15px #0004;
}
.tournament-emblem.large > .icon {
  width: 38px;
  height: 38px;
}
.tournament-title-copy {
  flex: 1;
  min-width: 0;
}
.title-status {
  display: flex;
  align-items: center;
  gap: 12px;
}
.title-status .eyebrow {
  font-size: 8px;
}
.tournament-title-copy h1 {
  font-size: 29px;
  margin: 10px 0 15px;
  letter-spacing: -0.8px;
  overflow-wrap: anywhere;
}
.tournament-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: #839bb6;
  font-size: 10px;
}
.tournament-meta > span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.tournament-meta .icon {
  width: 13px;
  height: 13px;
}
.visibility-tag {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  color: #6b87a3;
}
.visibility-tag .icon {
  width: 12px;
  height: 12px;
}
.tournament-title-actions {
  align-self: flex-start;
  margin-top: 19px;
}
.live-update-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 9px;
  color: #6e9b9f;
  white-space: nowrap;
}
.tournament-tabs {
  display: flex;
  align-items: center;
  gap: 25px;
  border-bottom: 1px solid #26364b;
  margin: 0 0 26px;
  overflow: auto;
}
.tournament-tabs button {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 16px 2px;
  background: transparent;
  color: #7e96b3;
  border-bottom: 2px solid transparent;
  font-size: 11px;
  white-space: nowrap;
}
.tournament-tabs button.active {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}
.tournament-tabs .icon {
  width: 15px;
  height: 15px;
}
.tournament-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 25px;
  font-size: 9px;
  color: #5e7a96;
}
.tournament-bottom > span {
  display: flex;
  gap: 7px;
  align-items: center;
}
.tournament-bottom .icon {
  width: 13px;
  height: 13px;
}
.bracket-panel {
  border: 1px solid #26364d;
  background: #0c1524;
  border-radius: 11px;
  overflow: hidden;
}
.bracket-panel:fullscreen {
  border-radius: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.bracket-panel-top {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #233046;
  gap: 15px;
}
.bracket-panel-top h2 {
  font-size: 18px;
  margin-bottom: 5px;
}
.bracket-panel-top > div > span {
  font-size: 9px;
  color: #6b84a1;
}
.bracket-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 22px;
  border-bottom: 1px solid #ffffff06;
  background: #101b2b;
  gap: 15px;
}
.bracket-controls > .muted {
  font-size: 9px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.bracket-controls > .muted > .icon {
  width: 14px;
  height: 14px;
}
.control-group {
  display: flex;
  align-items: center;
  gap: 4px;
}
.control-group > span {
  font-size: 9px;
  color: #91a4bd;
  min-width: 36px;
  text-align: center;
}
.control-group > .control-divider {
  height: 18px;
  width: 1px;
  min-width: 1px;
  background: #30415a;
  margin: 0 7px;
}
.control-group .icon-button {
  width: 28px;
  height: 28px;
}
.control-group .icon {
  width: 15px;
  height: 15px;
}
.bracket-viewport {
  overflow: auto;
  max-height: 650px;
  padding: 30px 30px 20px;
  cursor: grab;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #304561 #0b1423;
  background-image: radial-gradient(#2e3a4f7a 0.65px, transparent 0.65px);
  background-size: 18px 18px;
}
.bracket-viewport.dragging {
  cursor: grabbing;
  user-select: none;
}
.bracket-scaled {
  position: relative;
}
.bracket-canvas {
  position: relative;
  transform-origin: top left;
}
.round-headings {
  height: 38px;
  position: relative;
}
.round-headings > span {
  position: absolute;
  top: 0;
  width: 244px;
  text-align: center;
  font-size: 8px;
  font-weight: 650;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #819bb9;
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
}
.round-headings .icon {
  width: 12px;
  height: 12px;
  color: #d2ac69;
}
.bracket-matches {
  position: relative;
}
.connectors {
  position: absolute;
  left: 0;
  top: 0;
  pointer-events: none;
  overflow: visible;
}
.connectors path {
  fill: none;
  stroke: #30445f;
  stroke-width: 1.3;
}
.match-card {
  width: 244px;
  height: 90px;
  position: absolute;
  border: 1px solid #32405a;
  border-radius: 8px;
  background: #142135;
  padding: 6px 10px;
  cursor: pointer;
  text-align: left;
  box-shadow: 0 3px 10px #0003;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.match-card:hover {
  border-color: #5b8ba5;
  background: #192a40;
}
.match-number {
  position: absolute;
  top: -17px;
  left: 0;
  font-size: 7px;
  color: #52708f;
  letter-spacing: 0.5px;
}
.match-team {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  position: relative;
}
.match-team:first-of-type {
  border-bottom: 1px solid #ffffff07;
}
.team-avatar {
  width: 24px;
  height: 24px;
  border-radius: 5px;
  background: #253952;
  color: #9ab7d6;
  font-size: 7px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.team-avatar.color-1 {
  background: #153e4d;
  color: #6cdaeb;
}
.team-avatar.color-2 {
  background: #423454;
  color: #c6a2e9;
}
.team-avatar.color-3 {
  background: #463a2c;
  color: #e2bd7e;
}
.team-avatar.color-4 {
  background: #23443c;
  color: #78d5b6;
}
.team-name {
  font-size: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  color: #a7b9d0;
}
.match-team strong {
  font-size: 11px;
  color: #9aacbf;
  font-weight: 500;
  margin-right: 11px;
}
.match-team.winner .team-name {
  color: #e0f3f8;
}
.match-team.winner strong {
  color: var(--cyan);
  font-weight: 700;
}
.match-team > .icon {
  position: absolute;
  width: 9px;
  height: 9px;
  right: -4px;
  color: #43d5df;
}
.match-card.finished {
  border-color: #345064;
}
.match-card.final-match {
  border-color: #71604466;
  background: linear-gradient(145deg, #222731, #172438);
}
.match-time {
  position: absolute;
  font-size: 7px;
  bottom: -15px;
  left: 0;
  color: #7a92b1;
}
.bracket-legend {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 13px 24px;
  border-top: 1px solid #213047;
  font-size: 8px;
  color: #647e9c;
}
.bracket-legend > span {
  display: flex;
  gap: 6px;
  align-items: center;
}
.bracket-legend > span:last-child {
  margin-left: auto;
}
.legend-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #627a96;
}
.legend-dot.cyan {
  background: #40c9d9;
}
#hero-bracket {
  height: 320px;
  overflow: hidden;
}
#hero-bracket .bracket-viewport {
  overflow: hidden;
  padding: 22px 18px;
  height: 100%;
  cursor: pointer;
  background-size: 15px 15px;
}
#hero-bracket .bracket-scaled {
  transform: scale(0.53);
  transform-origin: top left;
}
#hero-bracket .bracket-viewport.compact .match-card {
  box-shadow: 0 3px 12px #0003;
}
#hero-bracket .round-headings > span {
  font-size: 11px;
}
#hero-bracket .team-name {
  font-size: 13px;
}
#hero-bracket .match-team strong {
  font-size: 15px;
}
#hero-bracket .match-number {
  font-size: 10px;
}
.tournament-description {
  padding: 25px 4px;
}
.tournament-description h3 {
  font-size: 15px;
  margin-bottom: 10px;
}
.tournament-description p {
  font-size: 12px;
  line-height: 1.9;
  white-space: pre-wrap;
  max-width: 850px;
}
.champion-banner {
  display: flex;
  align-items: center;
  gap: 20px;
  background: linear-gradient(110deg, #3c302066, #1a2233);
  border: 1px solid #6f563c80;
  border-radius: 10px;
  padding: 23px;
  margin-bottom: 25px;
  color: #e7c483;
}
.champion-banner > .icon {
  width: 35px;
  height: 35px;
}
.champion-banner h2 {
  font-size: 23px;
  color: #f6e5c4;
  margin-top: 5px;
}
.champion-banner > span {
  margin-left: auto;
  font-size: 8px;
  letter-spacing: 1.4px;
  color: #9d8868;
}
.participant-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}
.participant-card {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 19px;
  background: #111e30;
  border: 1px solid #263851;
  border-radius: 9px;
}
.participant-card .team-avatar {
  width: 39px;
  height: 39px;
  border-radius: 9px;
  font-size: 10px;
}
.participant-card > div {
  min-width: 0;
  flex: 1;
}
.participant-card strong {
  font-size: 12px;
  font-weight: 550;
  overflow-wrap: anywhere;
}
.participant-card small {
  display: block;
  font-size: 9px;
  color: #6a87a5;
  margin-top: 5px;
}
.participant-card .icon-button {
  width: 24px;
}
.participant-card .icon-button .icon {
  width: 14px;
}
.match-list {
  border: 1px solid #26364c;
  border-radius: 10px;
  overflow: hidden;
}
.match-list-row {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 18px 22px;
  background: #111d2e;
  border-bottom: 1px solid #26364c;
}
.match-list-row:last-child {
  border: 0;
}
.match-list-id {
  font-size: 10px;
  color: #adc2db;
  min-width: 45px;
}
.match-list-id small {
  display: block;
  font-size: 8px;
  color: #5d7b9e;
  margin-top: 3px;
}
.match-list-teams {
  display: flex;
  gap: 18px;
  align-items: center;
  flex: 1;
  min-width: 0;
}
.match-list-teams strong {
  font-size: 11px;
  font-weight: 500;
  flex: 1;
  overflow-wrap: anywhere;
}
.match-list-teams strong:first-child {
  text-align: right;
}
.score-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  padding: 7px 12px;
  background: #0c1626;
  border: 1px solid #2c3e57;
  border-radius: 6px;
  min-width: 70px;
}
.score-pill i {
  font-style: normal;
  color: #3b526f;
  font-size: 10px;
}
.schedule-time {
  display: block;
  font-size: 8px;
  color: #718ba9;
  margin-top: 5px;
}
.match-list-row > .button-row {
  margin-left: 10px;
}
.table-wrap {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
  text-align: left;
  white-space: nowrap;
}
th {
  font-size: 9px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  font-weight: 500;
  color: #6e8aa8;
  padding: 13px 14px;
  border-bottom: 1px solid #2a3b54;
}
td {
  padding: 15px 14px;
  border-bottom: 1px solid #23324a;
  color: #a1b8d3;
}
td strong {
  font-weight: 550;
  color: #d8e7fa;
}
tr:last-child td {
  border-bottom: 0;
}
td.points {
  font-weight: 700;
  color: var(--cyan);
}
.stack-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.danger-panel {
  border-color: #543344;
  background: #23182355;
}
.danger-panel h3 {
  font-size: 16px;
  color: #ee9bad;
  margin-bottom: 12px;
}
.danger-panel p {
  font-size: 11px;
  margin-bottom: 20px;
}
#share-qr {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: white;
  padding: 16px;
  margin-top: 28px;
  border-radius: 8px;
  gap: 12px;
}
#share-qr:empty {
  display: none;
}
#share-qr > span {
  font-size: 7px;
  color: #1a2c40;
  letter-spacing: 1.4px;
  font-weight: 700;
}
#share-qr img {
  width: 144px;
  height: 144px;
}
.audit-entry {
  border-bottom: 1px solid #23344d;
}
.audit-entry summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  font-size: 11px;
  gap: 20px;
  cursor: pointer;
  color: #9db4ce;
}
.audit-entry summary > span:first-child {
  display: flex;
  gap: 10px;
  align-items: center;
  color: #c5d8eb;
}
.audit-entry summary .icon {
  width: 15px;
  color: #5b9eac;
}
.audit-entry summary > span:last-child {
  font-size: 9px;
}
.audit-entry pre {
  padding: 20px;
  background: #080f1c;
  border: 1px solid #23344d;
  border-radius: 7px;
  max-height: 350px;
  overflow: auto;
  color: #8da9c6;
  font-size: 10px;
}
dialog {
  color: var(--text);
  background: #111d2f;
  border: 1px solid #354863;
  border-radius: 13px;
  padding: 28px;
  width: min(520px, calc(100% - 32px));
  max-height: 90vh;
  box-shadow: 0 25px 100px #0009;
}
dialog::backdrop {
  background: #030812c9;
  backdrop-filter: blur(5px);
}
.modal-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}
.modal-heading h2 {
  font-size: 22px;
}
.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid #293b54;
}
dialog p {
  font-size: 12px;
  margin-bottom: 18px;
}
.score-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.score-inputs input {
  font-size: 28px;
  text-align: center;
  padding: 18px;
}
.checkbox-field {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 11px;
  color: #91a9c4;
}
.checkbox-field input {
  accent-color: var(--cyan);
  margin-top: 4px;
}
.small-info {
  font-size: 10px;
  color: #88b0c4;
  align-items: center;
}
.small-info > .icon {
  width: 17px;
}
.match-detail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 25px 0;
  font-size: 13px;
}
.match-detail span {
  white-space: nowrap;
  color: var(--cyan);
  font-size: 24px;
  font-weight: 600;
}
#toasts {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: min(400px, calc(100vw - 44px));
}
.toast {
  background: #153a3c;
  border: 1px solid #36746d;
  color: #b8efdc;
  box-shadow: 0 12px 35px #0006;
  padding: 14px 20px;
  border-radius: 8px;
  font-size: 12px;
  animation: toast-in 0.2s ease;
}
.toast.error {
  background: #3d2030;
  border-color: #824253;
  color: #ffc1cc;
}
.skeleton {
  height: 220px;
  background: linear-gradient(90deg, #101c2d, #1c2b40, #101c2d);
  background-size: 200% 100%;
  border: 1px solid var(--line);
  border-radius: 11px;
  animation: shimmer 1.6s linear infinite;
}
.initial-loading {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 18px;
  font-size: 12px;
  letter-spacing: 3px;
}
.logo-symbol {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #122738;
  color: var(--cyan);
  font-size: 25px;
  font-weight: 700;
}
.loading-line {
  width: 130px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}
.skip-link {
  position: fixed;
  top: -70px;
  left: 20px;
  z-index: 100;
  background: var(--cyan);
  color: #08212b;
  padding: 12px 20px;
  border-radius: 6px;
}
.skip-link:focus {
  top: 15px;
}
.security-page {
  max-width: 800px;
  min-height: 70vh;
}
.security-page h1 {
  margin-bottom: 25px;
}
.security-page h2 {
  font-size: 22px;
  margin: 30px 0 12px;
}
.security-page p,
.security-page li {
  color: var(--muted);
  line-height: 1.9;
  font-size: 13px;
}
.security-page ul {
  padding-left: 20px;
}
.security-page .info-box p {
  color: #9ec9d8;
}
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #0b1422;
}
::-webkit-scrollbar-thumb {
  background: #2a3d57;
  border-radius: 5px;
}
@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}
@keyframes toast-in {
  from {
    transform: translateY(8px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.match-filters {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 16px;
  font-size: 11px;
  color: var(--muted);
}
.match-filters label {
  display: flex;
  gap: 12px;
  align-items: center;
}
.match-filters select {
  padding: 8px 12px;
  font-size: 11px;
  max-width: 200px;
}
@media (min-width: 651px) {
  .workspace.collapsed .sidebar {
    width: 76px;
    padding-left: 9px;
    padding-right: 9px;
  }
  .workspace.collapsed .workspace-main {
    margin-left: 76px;
    width: calc(100% - 76px);
  }
  .workspace.collapsed .sidebar .brand {
    justify-content: center;
    padding: 0;
  }
  .workspace.collapsed .brand > span,
  .workspace.collapsed .workspace-label,
  .workspace.collapsed .sidebar-tip,
  .workspace.collapsed .user-panel > div,
  .workspace.collapsed .user-panel > .avatar {
    display: none;
  }
  .workspace.collapsed .sidebar nav {
    margin-top: 30px;
  }
  .workspace.collapsed .sidebar nav > a {
    font-size: 0;
    justify-content: center;
    gap: 0;
    padding: 14px 8px;
    position: relative;
  }
  .workspace.collapsed .sidebar nav > a .icon {
    width: 19px;
    height: 19px;
  }
  .workspace.collapsed .sidebar nav > a.active i {
    position: absolute;
    right: 4px;
    top: 12px;
  }
  .workspace.collapsed .nav-divider {
    margin: 12px 6px;
  }
  .workspace.collapsed .user-panel {
    justify-content: center;
  }
}
