:root {
  color-scheme: dark;
  --bg: #101815;
  --panel: #182620;
  --line: #30423a;
  --text: #eaf3ee;
  --muted: #9baea4;
  --accent: #18bd87;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--bg);
  color: var(--text);
  font:
    13px/1.4 system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

/* Pages rendered without the main sportsbook iframe must be able to scroll. */
body.widgets-page {
  height: auto;
  min-height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto;
}
button,
input,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.site-header {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 56px;
  flex-shrink: 0;
  padding: 8px 18px;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}
.brand {
  text-decoration: none;
  font-size: 19px;
  font-weight: 750;
  letter-spacing: -0.6px;
  white-space: nowrap;
}
.sports-nav {
  display: flex;
  gap: 3px;
  align-items: center;
}
.sports-nav button {
  position: relative;
  background: none;
  border: 0;
  color: var(--muted);
  height: 34px;
  padding: 0 12px;
  border-radius: 5px;
  white-space: nowrap;
  font-weight: 600;
  font-size: 12px;
}
.sports-nav button:hover {
  background: #ffffff08;
  color: var(--text);
}
.sports-nav button.active {
  background: #18bd8719;
  color: #44dca9;
}
.sports-nav button.active:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.language-field {
  margin-left: auto;
}
.site-header input,
.site-header select {
  height: 33px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #101c16;
  color: var(--text);
  padding: 6px 9px;
  outline: none;
}
.site-header input:focus,
.site-header select:focus {
  border-color: var(--accent);
}
.language-field select {
  max-width: 110px;
}
.login-form,
.account,
.wallet-form {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}
.login-form label {
  display: flex;
  min-width: 0;
}
.login-form input {
  width: 138px;
}
.login-form button,
.account button {
  height: 33px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: transparent;
  color: var(--text);
  white-space: nowrap;
}
.login-form button {
  background: var(--accent);
  border-color: var(--accent);
  color: #06281b;
  font-weight: 750;
}
.account > span {
  color: var(--muted);
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.account > strong {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.account form {
  margin: 0;
}
.wallet-form select {
  max-width: 85px;
}
.error {
  flex: none;
  padding: 9px 18px;
  background: #44252b;
  color: #ffd6df;
  border-bottom: 1px solid #743940;
}
iframe {
  display: block;
  flex: 1;
  min-height: 0;
  width: 100%;
  border: 0;
  background: var(--bg);
}
@media (max-width: 1200px) {
  .site-header {
    gap: 10px;
    padding: 8px 12px;
    flex-wrap: wrap;
  }
  .brand {
    font-size: 17px;
  }
  .sports-nav button {
    padding: 0 9px;
  }
  .login-form input {
    width: 120px;
  }
  .account {
    gap: 6px;
  }
}
@media (max-width: 850px) {
  .site-header {
    gap: 8px;
  }
  .sports-nav {
    order: 4;
    width: 100%;
    justify-content: center;
    border-top: 1px solid var(--line);
    padding-top: 5px;
  }
  .language-field {
    margin-left: auto;
  }
  .login-form {
    margin-left: auto;
  }
  .login-form input {
    width: 125px;
  }
  .site-header {
    padding-bottom: 4px;
  }
}
@media (max-width: 600px) {
  .site-header {
    padding: 7px 10px 4px;
  }
  .language-field select {
    height: 30px;
    max-width: 100px;
  }
  .login-form,
  .account {
    order: 3;
    width: 100%;
    margin: 0;
    gap: 6px;
  }
  .login-form label {
    flex: 1;
  }
  .login-form input {
    width: 100%;
    height: 32px;
  }
  .login-form button {
    height: 32px;
  }
  .sports-nav {
    order: 4;
    gap: 2px;
    justify-content: space-between;
  }
  .sports-nav button {
    height: 31px;
    padding: 0 9px;
    font-size: 11px;
  }
  .account > strong {
    margin-left: auto;
  }
  .account > span {
    max-width: 75px;
    font-size: 12px;
  }
  .wallet-form select {
    max-width: 70px;
    padding-inline: 4px;
  }
  .account button {
    padding: 0 7px;
    font-size: 11px;
  }
  .brand {
    font-size: 17px;
  }
}

.sportsbook-bets-dialog::backdrop {
  background: rgba(0, 0, 0, 0.7);
}
.account-page {
  padding: 24px;
}

.sports-nav {
  min-width: 0;
  overflow-x: auto;
}
.sports-nav button {
  flex-shrink: 0;
}
@media (max-width: 850px) {
  .sports-nav {
    justify-content: flex-start;
  }
}

.site-header .design-mode-button {
  flex: none;
  min-height: 34px;
  padding: 7px 13px;
  border: 1px solid #56deb0;
  border-radius: 6px;
  background: #18bd87;
  color: #06281b;
  font-weight: 800;
  font-size: 13px;
  white-space: nowrap;
}
.site-header .design-mode-button:hover {
  background: #44dca9;
}
.site-header .design-mode-button:focus-visible {
  outline: 2px solid #eaf3ee;
  outline-offset: 3px;
}
@media (max-width: 600px) {
  .site-header .design-mode-button {
    min-height: 30px;
    padding: 5px 9px;
    font-size: 12px;
  }
}
