#wrapper,
.wf-card.bk-card {
  display: flow-root;
  overflow: clip; }

.wf-card.bk-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  z-index: 10;
  width: 40px;
  height: 100%;
  background: linear-gradient(to right, transparent 0%, var(--ncolor-card-primary) 60%);
  background: linear-gradient(to right, transparent 0%, color-mix(in srgb, var(--ncolor-card-primary) 50%, transparent) 20%, var(--ncolor-card-primary) 60%);
  pointer-events: none; }

.bk-bracket {
  --bk-line: #aaa;
  --bk-left: 20px;
  position: relative;
  padding: 25px 0 20px;
  overflow-anchor: none;
  cursor: grab;
  user-select: none; }

.bk-bracket.is-dragging,
.bk-bracket.is-dragging * {
  cursor: grabbing; }

.bk-steps {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 20px;
  z-index: 11;
  padding: 12px var(--card-inset) 0 0;
  pointer-events: none; }

.bk-step-controls {
  position: sticky;
  top: 12px;
  display: flex;
  border-radius: 3px;
  pointer-events: auto; }

.bk-step-controls.is-stuck {
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2); }

.bk-step-hidden {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 6px;
  color: var(--ncolor-text-4);
  font-size: 10px;
  font-style: italic;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none; }

.bk-step-hidden > span {
  display: none; }

.bk-step-hidden > span.is-current {
  display: inline; }

.bk-step-hidden > span::after {
  content: '*';
  margin-left: 2px; }

.bk-step-controls.is-stuck .bk-step-hidden {
  display: none; }

.bk-step {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 35px;
  margin: 0;
  padding: 0 7px;
  border: 1px solid var(--ncolor-border);
  border-radius: 3px;
  background: var(--ncolor-card-secondary-hover);
  background: color-mix(in srgb, var(--ncolor-card-primary), var(--ncolor-card-secondary));
  color: var(--ncolor-text-1);
  font: inherit;
  cursor: pointer; }

.bk-step-status + .bk-step {
  margin-left: -1px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0; }

.bk-step-status {
  display: grid;
  align-items: center;
  justify-items: center;
  height: 35px;
  margin-left: -1px;
  padding: 0 10px;
  border: 1px solid var(--ncolor-border);
  background: var(--ncolor-card-primary);
  color: var(--ncolor-text-3);
  font-size: 11px;
  white-space: nowrap; }

.bk-step-status > span {
  position: relative;
  top: 1px;
  grid-row: 1;
  grid-column: 1;
  visibility: hidden; }

.bk-step-status > span.is-current {
  visibility: visible; }

@media (max-width: 720px) {
  .bk-step-controls {
    top: 67px; }

  .bk-step {
    min-width: 42px; } }
.bk-step-count {
  position: absolute;
  top: 2px;
  left: 3px;
  color: #a56d0d;
  font-size: 9px;
  font-weight: 500;
  line-height: 1;
  pointer-events: none; }

.bk-step-count::before {
  content: '+';
  position: relative;
  top: -1px;
  font-size: 7px; }

.bk-bracket[data-start="0"] .bk-step-count {
  display: none; }

.bk-step:not(:last-child) {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0; }

.bk-step:enabled:active {
  background: var(--ncolor-card-primary); }

@media (hover: hover) {
  .bk-step:enabled:hover {
    background: var(--ncolor-card-primary); } }
.bk-step:disabled {
  cursor: default; }

.bk-step svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round; }

.bk-step:disabled > svg {
  opacity: 0.35; }

.bk-scroll {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none; }

.bk-scroll::-webkit-scrollbar {
  display: none; }

.bk-canvas {
  position: relative;
  flex: none;
  margin: 0 20px 0 var(--bk-left); }

.bk-ghost {
  position: fixed;
  z-index: 1;
  overflow: hidden;
  background: var(--ncolor-card-primary);
  pointer-events: none; }

.bk-ghost-canvas {
  position: absolute; }

.bk-ghost .bk-cell {
  content-visibility: visible; }

.bk-lines {
  position: absolute;
  top: 0;
  left: 0;
  fill: none;
  stroke: var(--bk-line); }

.bk-label,
.bk-cell {
  position: absolute; }

@supports (overflow-anchor: auto) {
  .bk-cell {
    box-sizing: content-box;
    padding-bottom: var(--bk-date-height);
    content-visibility: auto; } }
.bk-label {
  color: #444;
  font-size: 11px;
  font-weight: 700;
  text-align: center; }

.bk-bracket.mod-numbered .bk-cell {
  box-sizing: content-box;
  margin-left: -18px;
  padding-left: 18px; }

.bk-num {
  position: absolute;
  top: calc(var(--bk-border) + var(--bk-team-height));
  left: 0;
  width: 16px;
  color: var(--ncolor-text-4);
  font-size: 9px;
  line-height: 1;
  text-align: right;
  transform: translateY(-50%); }

.bk-item {
  display: block;
  position: relative;
  z-index: 1;
  border: var(--bk-border) solid #aaa;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 400; }
  .bk-item img {
    width: 20px;
    height: 20px;
    margin: 0 5px;
    image-rendering: -webkit-optimize-contrast; }

a.bk-item {
  color: #444; }

a.bk-item:hover {
  border-color: #666; }

a.bk-item.mod-live {
  border-color: #cc6666; }

a.bk-item.mod-live:hover {
  border-color: #ff6666; }

.bk-item.mod-empty {
  height: 100%;
  box-sizing: border-box;
  border-color: transparent; }

.bk-item.mod-qualified .bk-team {
  border: 0; }

.bk-item.mod-second {
  margin-top: var(--bk-qualified-gap); }

.bk-team {
  display: flex;
  justify-content: space-between;
  width: var(--bk-team-width);
  border-top: var(--bk-team-rule) solid #ccc; }

.bk-team.mod-first {
  border-top: 0;
  border-bottom: var(--bk-team-rule) solid #ccc; }

.bk-team.mod-winner {
  background: #cee9d3;
  font-weight: 700; }

.bk-team-name {
  display: flex;
  align-items: center;
  height: var(--bk-team-height); }
  .bk-team-name span {
    width: 75px;
    padding: 5px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap; }

.bk-team-name.mod-bye {
  padding-left: 30px;
  color: #888;
  font-weight: 400;
  font-style: italic; }

.bk-team-name.mod-ph {
  font-weight: 400;
  font-style: italic; }

.bk-team-score {
  display: flex;
  flex: 0 0 32px;
  justify-content: center;
  align-items: center;
  height: var(--bk-team-height);
  border-left: 1px solid #ccc; }

.bk-status {
  position: absolute;
  bottom: calc(-1 * var(--bk-date-height));
  left: 0;
  display: flex;
  justify-content: space-between;
  width: 100%;
  height: 15px;
  padding-left: 8px;
  font-size: 11px;
  line-height: 15px; }
  .bk-status span {
    position: relative;
    display: block; }
  .bk-status span:before {
    content: '-';
    position: absolute;
    left: -8px; }
  .bk-status i {
    margin-right: 4px;
    font-size: 14px;
    vertical-align: 3px; }
  .bk-status i.mod-live {
    color: #eb4747; }

.bk-status.mod-note {
  padding-left: 0; }
  .bk-status.mod-note div {
    margin: 0 auto;
    font-style: italic; }

.bk-bracket.mod-small {
  --bk-left: 12px; }
  .bk-bracket.mod-small.mod-numbered {
    --bk-left: 20px; }
  .bk-bracket.mod-small .bk-canvas {
    margin-right: 12px; }
  .bk-bracket.mod-small .bk-item {
    font-size: 10px; }
  .bk-bracket.mod-small .bk-item img {
    width: 16px;
    height: 16px;
    margin: 0 3px; }
  .bk-bracket.mod-small .bk-team-name span {
    width: 62px; }
  .bk-bracket.mod-small .bk-team-name.mod-bye {
    padding-left: 22px; }
  .bk-bracket.mod-small .bk-team-score {
    flex-basis: 24px; }
  .bk-bracket.mod-small .bk-status {
    height: 13px;
    font-size: 9px;
    line-height: 13px; }
    .bk-bracket.mod-small .bk-status i {
      font-size: 12px; }

.bk-lines .mod-feed {
  stroke-linecap: round;
  stroke-dasharray: 0 4 0 4 0 5 100 100;
  stroke-dashoffset: -1; }

.bk-bracket.mod-small .bk-lines .mod-feed {
  stroke-dasharray: 0 3.5 0 4 100 100; }

.bk-team.mod-selected .bk-team-score {
  background: #61b6ea;
  border-left: 1px solid #aaa; }

.bk-item.mod-pickem .bk-team:hover {
  background: #e8f5fc;
  cursor: pointer; }

.bk-bracket.mod-locked .bk-item.mod-pickem .bk-team {
  cursor: auto; }

.bk-item.mod-pickem .bk-team.mod-winner {
  background: none;
  font-weight: 400; }
.bk-item.mod-pickem .bk-team.mod-winner.mod-selected .bk-team-score {
  background: #adebba;
  border-left: 1px solid #ccc; }
.bk-item.mod-pickem .bk-team.mod-loser.mod-selected .bk-team-score {
  background: #eee; }
.bk-item.mod-pickem .bk-status {
  display: block; }
  .bk-item.mod-pickem .bk-status span:before {
    display: none; }
.bk-item.mod-pickem .bk-status .winner {
  display: inline;
  color: #61b875;
  font-weight: 500; }

html[data-spoilers] .bk-team.mod-winner {
  background: none !important;
  color: var(--ncolor-text-1);
  font-weight: 400; }
html[data-spoilers] .bk-team-score {
  font-size: 0; }
  html[data-spoilers] .bk-team-score:before {
    content: '-'; }
html[data-spoilers] .bk-cell:not(.mod-first-round) .bk-team-name img {
  display: none; }
html[data-spoilers] .bk-cell:not(.mod-first-round) .bk-team-name span {
  margin-left: 20px;
  font-size: 0; }
  html[data-spoilers] .bk-cell:not(.mod-first-round) .bk-team-name span:before {
    content: 'Spoiler hidden';
    font-size: 11px;
    font-style: italic; }

:where([data-theme="dark"]) .bk-step-controls.is-stuck {
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5); }
:where([data-theme="dark"]) .bk-step:enabled:active {
  background: var(--ncolor-card-primary-hover); }
@media (hover: hover) {
  :where([data-theme="dark"]) .bk-step:enabled:hover {
    background: var(--ncolor-card-primary-hover); } }
:where([data-theme="dark"]) .bk-step-count {
  color: #ffc83d; }
:where([data-theme="dark"]) .bk-bracket {
  --bk-line: hsl(208, 2%, 68%); }
:where([data-theme="dark"]) .bk-label {
  color: var(--ncolor-text-1); }
:where([data-theme="dark"]) .bk-item,
:where([data-theme="dark"]) a.bk-item {
  border-color: #acaeaf;
  color: var(--ncolor-text-1); }
:where([data-theme="dark"]) a.bk-item:hover {
  border-color: #85b6e0; }
:where([data-theme="dark"]) .bk-team,
:where([data-theme="dark"]) .bk-team.mod-first,
:where([data-theme="dark"]) .bk-team-score {
  border-color: #929496; }
:where([data-theme="dark"]) .bk-team.mod-winner {
  background: #9ec7a6;
  color: #333; }
:where([data-theme="dark"]) .bk-team.mod-selected .bk-team-score {
  background: #1a87cb; }
:where([data-theme="dark"]) .bk-item.mod-pickem .bk-team:hover {
  background: rgba(255, 255, 255, 0.2); }
:where([data-theme="dark"]) .bk-item.mod-pickem .bk-team.mod-winner {
  background: none;
  color: var(--ncolor-text-1); }
:where([data-theme="dark"]) .bk-item.mod-pickem .bk-team.mod-winner.mod-selected .bk-team-score {
  background: #50af63;
  border-left: 1px solid #aaa; }
:where([data-theme="dark"]) .bk-item.mod-pickem .bk-team.mod-loser.mod-selected .bk-team-score {
  background: #666; }
