

/* Round selector v3 - clean reconstruction */
html body #subcompselections .selectionblock-rounds.matchDisplaySelector.round-rebuilt,
html body .selectionblock-rounds.matchDisplaySelector.round-rebuilt {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 12px !important;
    width: auto !important;
    min-height: 44px !important;
    overflow: visible !important;
}

html body #subcompselections .selectionblock-rounds.matchDisplaySelector.round-rebuilt > h4,
html body .selectionblock-rounds.matchDisplaySelector.round-rebuilt > h4,
html body #subcompselections .selectionblock-rounds.matchDisplaySelector.round-rebuilt > #round-wrap,
html body .selectionblock-rounds.matchDisplaySelector.round-rebuilt > #round-wrap,
html body #subcompselections .selectionblock-rounds.matchDisplaySelector.round-rebuilt > .round-all-toggle,
html body .selectionblock-rounds.matchDisplaySelector.round-rebuilt > .round-all-toggle {
    display: none !important;
    visibility: hidden !important;
}

html body #subcompselections .selectionblock-rounds.matchDisplaySelector.round-rebuilt .codex-round-shell,
html body .selectionblock-rounds.matchDisplaySelector.round-rebuilt .codex-round-shell {
    position: relative !important;
    z-index: 25 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 10px !important;
    width: auto !important;
    min-width: 0 !important;
    height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    visibility: visible !important;
}

html body #subcompselections .selectionblock-rounds.matchDisplaySelector.round-rebuilt .codex-round-control,
html body .selectionblock-rounds.matchDisplaySelector.round-rebuilt .codex-round-control {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    visibility: visible !important;
    border: 1px solid rgba(83, 183, 246, .34) !important;
    background: linear-gradient(180deg, rgba(8, 36, 64, .94), rgba(2, 16, 30, .98)) !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 12px 24px rgba(0, 0, 0, .20) !important;
    font-family: inherit !important;
    line-height: 1 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    cursor: pointer !important;
    appearance: none !important;
}

html body #subcompselections .selectionblock-rounds.matchDisplaySelector.round-rebuilt .codex-round-segment,
html body .selectionblock-rounds.matchDisplaySelector.round-rebuilt .codex-round-segment {
    display: inline-flex !important;
    align-items: stretch !important;
    justify-content: center !important;
    height: 44px !important;
    overflow: hidden !important;
    border: 1px solid rgba(83, 183, 246, .34) !important;
    border-radius: 11px !important;
    background: linear-gradient(180deg, rgba(8, 36, 64, .94), rgba(2, 16, 30, .98)) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 12px 24px rgba(0, 0, 0, .20) !important;
}

html body #subcompselections .selectionblock-rounds.matchDisplaySelector.round-rebuilt .codex-round-step,
html body .selectionblock-rounds.matchDisplaySelector.round-rebuilt .codex-round-step {
    flex: 0 0 44px !important;
    width: 44px !important;
    min-width: 44px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #88dcff !important;
    -webkit-text-fill-color: #88dcff !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
}

html body #subcompselections .selectionblock-rounds.matchDisplaySelector.round-rebuilt .codex-round-step:hover:not(:disabled),
html body .selectionblock-rounds.matchDisplaySelector.round-rebuilt .codex-round-step:hover:not(:disabled) {
    background: rgba(54, 181, 247, .16) !important;
}

html body #subcompselections .selectionblock-rounds.matchDisplaySelector.round-rebuilt .codex-round-step:disabled,
html body .selectionblock-rounds.matchDisplaySelector.round-rebuilt .codex-round-step:disabled {
    opacity: .35 !important;
    cursor: default !important;
}

html body #subcompselections .selectionblock-rounds.matchDisplaySelector.round-rebuilt .codex-round-current,
html body .selectionblock-rounds.matchDisplaySelector.round-rebuilt .codex-round-current {
    gap: 8px !important;
    min-width: 116px !important;
    padding: 0 16px !important;
    border-top: 0 !important;
    border-bottom: 0 !important;
    border-left: 1px solid rgba(82, 179, 242, .18) !important;
    border-right: 1px solid rgba(82, 179, 242, .18) !important;
    border-radius: 0 !important;
    background: rgba(255, 255, 255, .035) !important;
}

html body #subcompselections .selectionblock-rounds.matchDisplaySelector.round-rebuilt .codex-round-current-label,
html body .selectionblock-rounds.matchDisplaySelector.round-rebuilt .codex-round-current-label {
    color: rgba(170, 198, 221, .84) !important;
    -webkit-text-fill-color: rgba(170, 198, 221, .84) !important;
    font-size: 10px !important;
    font-weight: 950 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
}

html body #subcompselections .selectionblock-rounds.matchDisplaySelector.round-rebuilt .codex-round-current-value,
html body .selectionblock-rounds.matchDisplaySelector.round-rebuilt .codex-round-current-value {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 30px !important;
    height: 28px !important;
    padding: 0 10px !important;
    border: 1px solid rgba(62, 197, 255, .54) !important;
    border-radius: 8px !important;
    background: linear-gradient(180deg, rgba(37, 150, 218, .64), rgba(3, 22, 39, .98)) !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 950 !important;
    line-height: 1 !important;
}

html body #subcompselections .selectionblock-rounds.matchDisplaySelector.round-rebuilt .codex-round-all,
html body .selectionblock-rounds.matchDisplaySelector.round-rebuilt .codex-round-all {
    min-width: 116px !important;
    padding: 0 17px !important;
    border-radius: 11px !important;
    font-size: 12px !important;
    font-weight: 950 !important;
    letter-spacing: .045em !important;
    text-transform: uppercase !important;
}

html body #subcompselections .selectionblock-rounds.matchDisplaySelector.round-rebuilt .codex-round-all:hover,
html body #subcompselections .selectionblock-rounds.matchDisplaySelector.round-rebuilt .codex-round-shell.is-open .codex-round-all,
html body .selectionblock-rounds.matchDisplaySelector.round-rebuilt .codex-round-all:hover,
html body .selectionblock-rounds.matchDisplaySelector.round-rebuilt .codex-round-shell.is-open .codex-round-all {
    border-color: rgba(62, 197, 255, .70) !important;
    background: linear-gradient(180deg, rgba(38, 147, 216, .78), rgba(5, 37, 66, .98)) !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

html body #subcompselections .selectionblock-rounds.matchDisplaySelector.round-rebuilt .codex-round-dropdown,
html body #subcompselections .selectionblock-rounds.matchDisplaySelector.round-rebuilt .codex-round-dropdown[style],
html body .selectionblock-rounds.matchDisplaySelector.round-rebuilt .codex-round-dropdown,
html body .selectionblock-rounds.matchDisplaySelector.round-rebuilt .codex-round-dropdown[style] {
    position: absolute !important;
    top: calc(100% + 10px) !important;
    right: 0 !important;
    z-index: 80 !important;
    display: none !important;
    grid-template-columns: repeat(auto-fill, minmax(44px, 1fr)) !important;
    gap: 8px !important;
    width: min(340px, 86vw) !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: 276px !important;
    margin: 0 !important;
    padding: 12px !important;
    overflow: auto !important;
    visibility: visible !important;
    border: 1px solid rgba(80, 181, 244, .38) !important;
    border-radius: 13px !important;
    background:
        radial-gradient(circle at 15% 0%, rgba(53, 191, 255, .16), transparent 34%),
        linear-gradient(180deg, rgba(4, 23, 43, .99), rgba(1, 10, 22, .99)) !important;
    box-shadow: 0 22px 48px rgba(0, 0, 0, .42), inset 0 1px 0 rgba(255, 255, 255, .06) !important;
}

html body #subcompselections .selectionblock-rounds.matchDisplaySelector.round-rebuilt .codex-round-shell.is-open .codex-round-dropdown,
html body #subcompselections .selectionblock-rounds.matchDisplaySelector.round-rebuilt .codex-round-shell.is-open .codex-round-dropdown[style],
html body .selectionblock-rounds.matchDisplaySelector.round-rebuilt .codex-round-shell.is-open .codex-round-dropdown,
html body .selectionblock-rounds.matchDisplaySelector.round-rebuilt .codex-round-shell.is-open .codex-round-dropdown[style] {
    display: grid !important;
}

html body #subcompselections .selectionblock-rounds.matchDisplaySelector.round-rebuilt .codex-round-dropdown a,
html body #subcompselections .selectionblock-rounds.matchDisplaySelector.round-rebuilt .codex-round-dropdown a[style],
html body .selectionblock-rounds.matchDisplaySelector.round-rebuilt .codex-round-dropdown a,
html body .selectionblock-rounds.matchDisplaySelector.round-rebuilt .codex-round-dropdown a[style] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: 44px !important;
    height: 38px !important;
    margin: 0 !important;
    padding: 0 10px !important;
    overflow: visible !important;
    text-indent: 0 !important;
    visibility: visible !important;
    border: 1px solid rgba(82, 180, 241, .26) !important;
    border-radius: 9px !important;
    background: rgba(255, 255, 255, .06) !important;
    color: rgba(240, 248, 255, .95) !important;
    -webkit-text-fill-color: rgba(240, 248, 255, .95) !important;
    box-shadow: none !important;
    font-size: 13px !important;
    font-weight: 920 !important;
    line-height: 1 !important;
    text-align: center !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

html body #subcompselections .selectionblock-rounds.matchDisplaySelector.round-rebuilt .codex-round-dropdown a::before,
html body #subcompselections .selectionblock-rounds.matchDisplaySelector.round-rebuilt .codex-round-dropdown a::after,
html body .selectionblock-rounds.matchDisplaySelector.round-rebuilt .codex-round-dropdown a::before,
html body .selectionblock-rounds.matchDisplaySelector.round-rebuilt .codex-round-dropdown a::after {
    content: none !important;
    display: none !important;
}

html body #subcompselections .selectionblock-rounds.matchDisplaySelector.round-rebuilt .codex-round-dropdown a:hover,
html body .selectionblock-rounds.matchDisplaySelector.round-rebuilt .codex-round-dropdown a:hover {
    border-color: rgba(62, 197, 255, .64) !important;
    background: rgba(40, 153, 221, .28) !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

html body #subcompselections .selectionblock-rounds.matchDisplaySelector.round-rebuilt .codex-round-dropdown a.currentoption,
html body .selectionblock-rounds.matchDisplaySelector.round-rebuilt .codex-round-dropdown a.currentoption {
    border-color: rgba(62, 197, 255, .80) !important;
    background: linear-gradient(180deg, rgba(43, 158, 225, .82), rgba(8, 47, 82, .98)) !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    box-shadow: 0 10px 22px rgba(40, 173, 238, .22) !important;
}

@media screen and (max-width: 720px) {
    html body #subcompselections .selectionblock-rounds.matchDisplaySelector.round-rebuilt,
    html body .selectionblock-rounds.matchDisplaySelector.round-rebuilt {
        justify-content: flex-start !important;
        width: 100% !important;
    }

    html body #subcompselections .selectionblock-rounds.matchDisplaySelector.round-rebuilt .codex-round-shell,
    html body .selectionblock-rounds.matchDisplaySelector.round-rebuilt .codex-round-shell {
        flex-wrap: wrap !important;
        width: 100% !important;
        height: auto !important;
    }

    html body #subcompselections .selectionblock-rounds.matchDisplaySelector.round-rebuilt .codex-round-segment,
    html body .selectionblock-rounds.matchDisplaySelector.round-rebuilt .codex-round-segment {
        flex: 1 1 100% !important;
    }

    html body #subcompselections .selectionblock-rounds.matchDisplaySelector.round-rebuilt .codex-round-all,
    html body .selectionblock-rounds.matchDisplaySelector.round-rebuilt .codex-round-all {
        flex: 1 1 100% !important;
    }
}
