.menu-sub>li>a>.menu-icon {
    margin-right: 5px !important;
}

.jsoneditor-frame input {
    background-color: #fff !important;
}

.pcr-button {
    width: 100% !important;
}

.pcr {
    border-radius: 20px !important;
}

.flip video {
    transform: scaleX(-1);
}

.separator {
    display: flex;
    align-items: center;
    text-align: center;
}

.separator::before,
.separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid;
}

.separator:not(:empty)::before {
    margin-right: .50em;
}

.separator:not(:empty)::after {
    margin-left: .50em;
}
.menu-item {
    flex: 0 0 auto;
    flex-direction: column;
    margin: 0;
    padding: 0;
    list-style: none;
}
.layout-wrapper:not(.layout-horizontal) .menu-vertical .menu-inner > .menu-item .menu-sub > .menu-item > .menu-link::before {
    content: none;
}
/* .layout-wrapper:not(.layout-horizontal) .menu-vertical .menu-inner > .menu-item .menu-sub > .menu-item > .menu-link::before {
    content: "";
    height: 8px;
    width: 8px;
    border-radius: 50rem;
    background: currentColor;
    position: absolute;
    left: 1.1875rem;
    color: #7b7c95;
  } */

.score-btn {
    font-size: 1.8em;
}
.score {
    font-family: monospace, monospace;
}
.game-heading {
    white-space: nowrap;         /* Prevent text from wrapping */
    overflow: hidden;            /* Hide anything that overflows the box */
    text-overflow: ellipsis;     /* Show "..." at the end */
}
.offcanvas-body {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch; /* for smooth scroll */
    overscroll-behavior: contain; /* prevent scroll chaining */
}
.no-wrap {
    white-space: nowrap;         /* Prevent text from wrapping */
    overflow: hidden;            /* Hide anything that overflows the box */
    text-overflow: ellipsis;     /* Show "..." at the end */
}
.score-s:hover,.score-d:hover,.score-t:hover,.score-obull:hover,.score-ibull:hover,.score-zero:hover {
    filter: brightness(95%);
}
.score-t {
    width: 100%;
    border: 0;
    font-size: 1.2em;
    font-weight: 300;
    color: #5F6E85;
    background: #FAFAFA;
    background: linear-gradient(180deg, rgba(248, 250, 253, 1) 0%, rgba(230, 236, 245, 1) 100%);
    /* box-shadow: 10px 0 20px -4px rgba(216,216,216, 0.8), -10px 0 20px -4px rgba(216,216,216, 0.8); */
}
.score-d {
    width: 100%;
    border: 0;
    font-size: 1.2em;
    font-weight: 300;
    color: #5F6E85;
    background: #F8FAFD;
    background: linear-gradient(0deg, rgba(248, 250, 253, 1) 0%, rgba(230, 236, 245, 1) 100%);
}
.score-s {
    width: 100%;
    border: 0;
    font-size: 2.5em;
    font-weight: 800;
    font-family: monospace; 
    background-color: #F8FAFD;
}
.score-group {
    border: 1px solid #B6C2D3;
    border-radius: 10px;
    overflow: hidden;
    width:100%;
    box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.6),
    0 1px 2px rgba(30,60,90,0.12);
}
.score-zero {
    width: 100%;
    border: 0;
    font-size: 2.5em;
    font-weight: 800;
    font-family: monospace; 
    background: #F8FAFD;
    background: linear-gradient(0deg, rgba(248, 250, 253, 1) 0%, rgba(230, 236, 245, 1) 100%);
}
.score-ibull {
    width: 100%;
    border: 0;
    font-size: 1.5em;
    line-height: 1.15em;
    font-weight: 300;
    font-family: monospace; 
    background: #F8FAFD;
    background: linear-gradient(180deg, rgba(248, 250, 253, 1) 0%, rgba(230, 236, 245, 1) 100%);
}
.score-obull {
    width: 100%;
    border: 0;
    font-size: 1.5em;
    line-height: 1.15em;
    font-weight: 300;
    font-family: monospace; 
    background-color: #F8FAFD;
}

.score-container {
    border: 1px solid #B6C2D3;
    border-radius: 10px;
    overflow: hidden;
    width:100%;
    height: 185px;
    box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.6),
    0 1px 2px rgba(30,60,90,0.12);
    background: #F8FAFD;
}
.score-header-container {
    border: 1px solid #B6C2D3;
    border-radius: 10px;
    overflow: hidden;
    width:100%;
    box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.6),
    0 1px 2px rgba(30,60,90,0.12);
    background: #F8FAFD;
}
.score-header {
    font-size: 1.2em;
    font-weight: 900;
    color: #5F6E85;
    background: #F8FAFD;
    background: linear-gradient(0deg, rgba(248, 250, 253, 1) 0%, rgba(230, 236, 245, 1) 100%);
}

.active-1, .active-2 {
    font-size: 1.5em;
    background: #F8FAFD;
    color: #5F6E85;
}
.active-player {
    font-size: 2.2em;
    font-weight: 900;
    color: #000;
    /* background: rgba(230, 236, 245, 1); */
}


.dart-container {
    border: 1px solid #B6C2D3;
    border-radius: 10px;
    overflow: hidden;
    width:100%;
    box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.6),
    0 1px 2px rgba(30,60,90,0.12);
}
.dart-header {
    font-size: 1.2em;
    font-weight: 900;
    color: #5F6E85;
    background: #F8FAFD;
    background: linear-gradient(180deg, rgba(248, 250, 253, 1) 0%, rgba(230, 236, 245, 1) 100%);
}
.dart-footer {
    font-size: 1.2em;
    font-weight: 900;
    color: #5F6E85;
    background: #F8FAFD;
    background: linear-gradient(0deg, rgba(248, 250, 253, 1) 0%, rgba(230, 236, 245, 1) 100%);
}
.dart-score {
    width: 100%;
    border: 0;
    font-size: 2.5em;
    font-weight: 800;
    font-family: monospace; 
    background: #F8FAFD;
    background: linear-gradient(0deg, rgba(248, 250, 253, 1) 0%, rgba(230, 236, 245, 1) 100%);
}

.checkout {
    opacity: 0.3;
    color: #d89e30;
}

/* Dark mode scorer buttons – for #282a42 background */

html[data-style="dark"] .dart-container {
    border: 1px solid #4B5078;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.05),
        0 4px 12px rgba(0,0,0,0.35);
    background-color: #35395A;
}
html[data-style="dark"] .dart-header {
    background: linear-gradient(
        0deg,
        #35395A 0%,
        #2c304d 100%
    );
}
html[data-style="dark"] .dart-footer {
    background: linear-gradient(
        0deg,
        #35395A 0%,
        #2c304d 100%
    );
}
html[data-style="dark"] .dart-score {
    color: #C7D2E4;
    background: linear-gradient(
        180deg,
        #35395A 0%,
        #2c304d 100%
    );
}



html[data-style="dark"] .score-container, html[data-style="dark"] .score-header-container {
    border: 1px solid #4B5078;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.05),
        0 4px 12px rgba(0,0,0,0.35);
    background-color: #35395A;
}
html[data-style="dark"] .score-header {
    background: linear-gradient(
        0deg,
        #35395A 0%,
        #2c304d 100%
    );
}

html[data-style="dark"] .active-1, html[data-style="dark"] .active-2 {
    color: #C7D2E4;
    background-color: #35395A;
}
html[data-style="dark"] .active-player {
    font-size: 2em;
    font-weight: 900;
    color: #EEF3FF;
}





html[data-style="dark"] .score-t {
    color: #C7D2E4;
    background: linear-gradient(
        180deg,
        #35395A 0%,
        /* #3A3E5F 0%, */
        #2c304d 100%
        /* #3A3E5F 100% */
    );
}

html[data-style="dark"] .score-d {
    color: #C7D2E4;
    background: linear-gradient(
        0deg,
        #35395A 0%,
        #2c304d 100%
    );
}

html[data-style="dark"] .score-s {
    font-family: monospace;
    color: #EEF3FF;
    background-color: #35395A;
}

html[data-style="dark"] .score-zero {
    color: #EEF3FF;
    background: linear-gradient(
        0deg,
        #35395A 0%,
        #2c304d 100%
    );
}

html[data-style="dark"] .score-ibull {
    color: #D3DDF0;
    background: linear-gradient(
        180deg,
        #35395A 0%,
        #2c304d 100%
    );
}

html[data-style="dark"] .score-obull {
    font-family: monospace;
    color: #D3DDF0;
    background-color: #35395A;
}

/* Group container */
html[data-style="dark"] .score-group {
    border: 1px solid #4B5078;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.05),
        0 4px 12px rgba(0,0,0,0.35);
}
