.rj-detail {
    width: 100%;
}

.rj-detail .nav-bar {
    min-height: 32px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--c-text-light);
    font-size: 12px;
}

.rj-detail .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--c-primary);
    font-weight: 700;
}

.rj-detail .nav-spacer {
    flex: 1;
}

.rj-detail .dsno {
    color: #8b95a4;
    font-size: 11px;
    letter-spacing: .04em;
}

.rj-detail .item-detail {
    display: grid;
    grid-template-columns: minmax(350px, .88fr) minmax(600px, 1.12fr);
    align-items: start;
    gap: 34px;
}

.img-gallery {
    position: sticky;
    top: 20px;
    min-width: 0;
}

.img-gallery .main {
    overflow: hidden;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    background: #edf0f3;
    box-shadow: var(--shadow-sm);
}

.img-gallery .main .img,
.img-gallery .main img {
    width: 100%;
    display: block;
}

.img-gallery .main img {
    aspect-ratio: 1;
    object-fit: contain;
}

.img-gallery .thumbs {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.img-gallery .thumb {
    width: 72px;
    height: 72px;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--c-border);
    border-radius: 7px;
    background: #fff;
    cursor: pointer;
    transition: border-color .18s ease, transform .18s ease;
}

.img-gallery .thumb:hover,
.img-gallery .thumb.active {
    border: 2px solid var(--c-primary);
    transform: translateY(-1px);
}

.img-gallery .thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.gallery-note {
    margin-top: 14px;
    padding: 11px 13px;
    border-radius: 6px;
    color: var(--c-text-light);
    background: #eef1f5;
    display: flex;
    align-items: flex-start;
    gap: 7px;
    font-size: 11px;
}

.gallery-note i {
    margin-top: 2px;
    color: var(--c-blue);
    font-size: 15px;
}

.item-order {
    min-width: 0;
}

.item-order > .header {
    margin-bottom: 19px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
}

.order-kicker {
    margin-bottom: 4px;
    color: var(--c-accent);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .16em;
}

.item-order .header .title {
    margin: 0;
    color: var(--c-primary);
    font-size: clamp(23px, 2.4vw, 31px);
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: -.02em;
}

.item-order .header .itemcd {
    flex: 0 0 auto;
    color: var(--c-text-light);
    font-size: 11px;
}

.item-meta {
    flex: 0 0 auto;
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    gap: 7px;
}

.size-guide-link {
    min-height: 34px;
    padding: 0 11px;
    border: 1px solid #9eb2ce;
    border-radius: 4px;
    color: var(--c-primary);
    background: #f4f8fd;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 800;
    transition: color .18s ease, background .18s ease, border-color .18s ease;
}

.size-guide-link:hover {
    border-color: var(--c-primary);
    color: #fff;
    background: var(--c-primary);
}

.order-progress {
    margin-bottom: 15px;
    padding: 14px 18px;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-md);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.order-progress > div {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #8993a2;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.order-progress b {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #e7eaf0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

.order-progress .active {
    color: var(--c-primary);
}

.order-progress .active b {
    color: #fff;
    background: var(--c-primary);
}

.order-progress > i {
    width: 34px;
    height: 1px;
    background: var(--c-border-strong);
}

.roster-builder,
.order-options {
    margin-bottom: 16px;
    padding: 20px;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.section-heading {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.section-heading > div:first-child {
    display: flex;
    align-items: center;
    gap: 11px;
}

.section-number {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--c-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
}

.section-heading h2 {
    margin: 0;
    color: var(--c-primary);
    font-size: 17px;
    font-weight: 800;
    line-height: 1.4;
}

.section-heading p {
    margin: 2px 0 0;
    color: var(--c-text-light);
    font-size: 11px;
    line-height: 1.55;
}

.roster-count {
    flex: 0 0 auto;
    padding: 6px 10px;
    border-radius: 5px;
    color: var(--c-primary);
    background: #eaf0f8;
    font-size: 11px;
    font-weight: 700;
}

.roster-count strong {
    margin-right: 2px;
    color: var(--c-blue);
    font-size: 18px;
}

.quick-entry {
    margin-bottom: 14px;
    border: 1px solid #c8d4e4;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #f6f9fd;
}

.quick-entry-toggle {
    width: 100%;
    min-height: 45px;
    padding: 0 14px;
    border: 0;
    background: transparent;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--c-primary);
    font-size: 13px;
    font-weight: 800;
    text-align: left;
    cursor: pointer;
}

.quick-entry-toggle > i:first-child {
    color: var(--c-blue);
    font-size: 19px;
}

.quick-entry-toggle .toggle-caret {
    margin-left: auto;
    transition: transform .18s ease;
}

.quick-entry-toggle[aria-expanded="true"] .toggle-caret {
    transform: rotate(180deg);
}

.quick-entry-panel {
    display: none;
    padding: 2px 14px 14px;
}

.quick-entry-copy {
    margin-bottom: 8px;
    color: #475467;
    font-size: 11px;
}

.quick-entry-copy span {
    margin-left: 5px;
    color: var(--c-blue);
    font-weight: 700;
}

#BULK-PLAYERS {
    width: 100%;
    min-height: 110px;
    padding: 10px 12px;
    border: 1px solid var(--c-border-strong);
    border-radius: 6px;
    background: #fff;
    line-height: 1.7;
    resize: vertical;
}

.quick-entry-actions {
    margin-top: 9px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.quick-entry-actions > span {
    color: var(--c-text-light);
    font-size: 10px;
}

.quick-entry-actions .rj-button {
    min-height: 38px;
    border-color: var(--c-primary);
    color: #fff;
    background: var(--c-primary);
    font-size: 12px;
}

.bulk-status {
    display: none;
    margin-top: 9px;
    color: var(--c-blue);
    font-size: 11px;
    font-weight: 700;
}

.rj-tab-player {
    width: 100%;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.rj-tab-player .layui-tabs-header {
    min-height: 45px;
    padding: 6px 7px 0;
    border-bottom: 1px solid var(--c-border);
    background: #f1f3f6;
    display: flex;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.rj-tab-player .layui-tabs-header li {
    flex: 0 0 auto;
    height: 38px;
    padding: 0 14px;
    border: 1px solid transparent;
    border-bottom: 0;
    border-radius: 6px 6px 0 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #5b6574;
    font-size: 12px;
    font-weight: 700;
}

.rj-tab-player .layui-tabs-header li.layui-this {
    border-color: var(--c-border);
    color: var(--c-primary);
    background: #fff;
    font-weight: 800;
}

.rj-tab-player .layui-tabs-header li.layui-this::after {
    display: none;
}

.rj-tab-player .layui-tabs-body {
    padding: 16px;
}

.player-editor-head {
    margin-bottom: 13px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.player-editor-head > div {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.player-editor-head strong {
    color: var(--c-primary);
    font-size: 14px;
}

.player-editor-head span {
    color: var(--c-text-light);
    font-size: 10px;
}

.saved-badge {
    padding: 3px 7px;
    border-radius: 20px;
    color: var(--c-green) !important;
    background: #e8f6f1;
    font-weight: 700;
}

.rj-player {
    display: grid;
    grid-template-columns: 1fr 1fr 100px;
    gap: 10px;
}

.rj-player .form {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.rj-player .form > .layui-form {
    width: 100%;
}

.rj-player .form label {
    color: #414b5a;
    font-size: 11px;
    font-weight: 700;
}

.rj-player .required {
    margin-left: 3px;
    font-size: 9px;
}

.rj-player .form input {
    width: 100%;
    height: 40px;
}

.rj-player .form-number input {
    text-align: center;
}

.rj-player-size {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed var(--c-border-strong);
}

.rj-player-size .title {
    margin-bottom: 10px;
    display: flex;
    align-items: baseline;
    gap: 7px;
    color: var(--c-primary);
    font-size: 12px;
    font-weight: 800;
}

.rj-player-size .title small {
    color: var(--c-text-light);
    font-size: 10px;
    font-weight: 500;
}

.rj-player-size .size {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.rj-player-size .PART-SIZE {
    display: grid;
    grid-template-columns: 100px minmax(160px, 1fr) 30px 74px;
    align-items: center;
    gap: 8px;
}

.rj-player-size .PART-SIZE > .label {
    color: #414b5a;
    font-size: 11px;
    font-weight: 700;
}

.rj-player-size .layui-form-select {
    min-width: 0;
}

.rj-player-size .layui-form-select .layui-input,
.rj-player-size .qty {
    height: 38px;
}

.rj-player-size .label2 {
    color: var(--c-text-light);
    font-size: 10px;
    white-space: nowrap;
}

.rj-player-size .qty {
    width: 74px;
    text-align: center;
}

.player-add-options {
    margin-top: 13px;
    color: var(--c-text-light);
    font-size: 10px;
}

.player-add-options label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.player-add-options input {
    width: 15px;
    height: 15px;
    accent-color: var(--c-primary);
}

.rj-player-button {
    margin-top: 14px;
    padding-top: 13px;
    border-top: 1px solid var(--c-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.player-price {
    display: flex;
    flex-direction: column;
}

.player-price > span {
    color: var(--c-text-light);
    font-size: 10px;
}

.player-price .price {
    color: var(--c-accent);
    font-size: 20px;
    font-weight: 800;
}

.PLAYER-ADD {
    min-width: 190px;
    border-color: var(--c-accent);
    color: #fff;
    background: var(--c-accent);
}

.PLAYER-ADD:hover {
    border-color: var(--c-accent-hover);
    color: #fff;
    background: var(--c-accent-hover);
}

.player-actions {
    display: flex;
    gap: 7px;
}

.PLAYER-COPY,
.PLAYER-DEL {
    min-height: 38px;
    padding: 0 12px;
    font-size: 11px;
}

.PLAYER-COPY {
    border-color: #9aaec9;
    color: var(--c-blue);
}

.PLAYER-DEL {
    border-color: #e7b9c2;
    color: var(--c-accent);
}

.order-options {
    padding-bottom: 22px;
}

.section-heading.compact {
    margin-bottom: 17px;
}

.rj-image-upload {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.logo-option-card {
    min-width: 0;
    padding: 8px;
    border: 1px solid var(--c-border);
    border-radius: 8px;
    background: #fff;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.logo-option-card:focus-within,
.logo-option-card.has-text {
    border-color: #91a9c8;
    box-shadow: 0 0 0 3px rgba(36, 87, 167, .08);
}

.rj-image-upload .image-box {
    position: relative;
    width: auto;
    min-width: 0;
    min-height: 104px;
    padding: 17px 8px;
    border: 1px dashed #9aaec9;
    border-radius: 8px;
    background: #f8fafd;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    color: var(--c-primary);
    cursor: pointer;
}

.logo-method-divider {
    height: 23px;
    display: flex;
    align-items: center;
    gap: 7px;
    color: #8a94a3;
    font-size: 9px;
    text-align: center;
}

.logo-method-divider::before,
.logo-method-divider::after {
    height: 1px;
    background: var(--c-border);
    content: "";
    flex: 1;
}

.logo-text-field {
    display: grid;
    gap: 5px;
}

.logo-text-field > span {
    color: var(--c-primary);
    font-size: 10px;
    font-weight: 800;
}

.logo-text-field > span i {
    margin-right: 3px;
    color: var(--c-blue);
}

.logo-text-field .layui-input {
    width: 100%;
    height: 37px;
    font-size: 11px;
}

.logo-text-warning {
    display: none;
    margin-top: 10px;
    padding: 10px 12px;
    border: 1px solid #f1b9c3;
    border-radius: 5px;
    color: #b31330;
    background: #fff3f5;
    align-items: flex-start;
    gap: 7px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.65;
}

.logo-text-warning.is-visible {
    display: flex;
}

.logo-text-warning i {
    margin-top: 2px;
    flex: 0 0 auto;
    font-size: 15px;
}

.rj-image-upload .image-box:hover {
    border-color: var(--c-blue);
    background: #f1f6fc;
}

.rj-image-upload .image-box > i {
    margin-bottom: 4px;
    color: var(--c-blue);
    font-size: 24px;
}

.rj-image-upload .image-box strong {
    font-size: 11px;
}

.rj-image-upload .image-box > span {
    color: var(--c-text-light);
    font-size: 9px;
}

.upload-preview {
    position: absolute;
    inset: 5px;
    overflow: hidden;
    border-radius: 5px;
    background: #fff;
}

.upload-preview img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.upload-preview button {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 26px;
    height: 26px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: rgba(7, 23, 45, .78);
    cursor: pointer;
}

.order-fields {
    margin-top: 16px;
    padding-top: 15px;
    border-top: 1px solid var(--c-border);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.remark,
.addrkey {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
}

.remark .label,
.addrkey .label {
    color: #414b5a;
    font-size: 11px;
    font-weight: 700;
}

.remark .label span {
    color: var(--c-text-light);
    font-size: 9px;
    font-weight: 500;
}

.remark input {
    grid-column: 2 / 4;
}

.addrkey .layui-form-select {
    min-width: 0;
}

.addrkey .ADDR-EDIT {
    min-height: 38px;
    padding: 0 12px;
    font-size: 11px;
}

.order-summary {
    position: static;
    z-index: 20;
    padding: 13px 15px;
    border: 1px solid #aebaca;
    border-radius: 12px;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 12px 38px rgba(7, 23, 45, .18);
    backdrop-filter: blur(12px);
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 18px;
}

.summary-meta {
    min-width: 74px;
    padding-right: 16px;
    border-right: 1px solid var(--c-border);
    display: flex;
    flex-direction: column;
}

.summary-meta > span {
    color: var(--c-text-light);
    font-size: 9px;
}

.summary-meta strong {
    color: var(--c-primary);
    font-size: 15px;
}

.rj-total-amt {
    display: flex;
    flex-direction: column;
}

.rj-total-amt .label {
    color: var(--c-text-light);
    font-size: 10px;
}

.rj-total-amt .label small {
    font-size: 9px;
}

.rj-total-amt .price {
    color: var(--c-accent);
    font-size: 24px;
    font-weight: 800;
    line-height: 1.3;
}

.rj-button-place {
    min-width: 220px;
    min-height: 50px;
    border-color: var(--c-primary);
    color: #fff;
    background: var(--c-primary);
}

.rj-button-place:hover {
    border-color: var(--c-primary-strong);
    color: #fff;
    background: var(--c-primary-strong);
}

@media (max-width: 1080px) {
    .rj-detail .item-detail {
        grid-template-columns: minmax(300px, .8fr) minmax(520px, 1.2fr);
        gap: 22px;
    }

    .roster-builder,
    .order-options {
        padding: 16px;
    }

    .rj-tab-player .layui-tabs-body {
        padding: 13px;
    }
}

@media (max-width: 800px) {
    .rj-detail .nav-bar {
        margin-bottom: 9px;
    }

    .rj-detail .dsno {
        display: none;
    }

    .rj-detail .item-detail {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    .img-gallery {
        position: static;
        width: 100%;
    }

    .img-gallery .main {
        border-radius: 10px;
    }

    .img-gallery .thumb {
        width: 58px;
        height: 58px;
    }

    .gallery-note {
        margin-top: 10px;
    }

    .item-order {
        width: 100%;
    }

    .item-order > .header {
        align-items: flex-start;
    }

    .item-order .header .title {
        font-size: 23px;
    }

    .order-progress {
        padding: 11px 8px;
        gap: 7px;
    }

    .order-progress > i {
        width: 15px;
    }

    .order-progress span {
        display: none;
    }

    .roster-builder,
    .order-options {
        margin-right: -2px;
        margin-left: -2px;
        padding: 14px;
        border-radius: 11px;
    }

    .section-heading {
        align-items: flex-start;
    }

    .section-number {
        width: 34px;
        height: 34px;
    }

    .section-heading h2 {
        font-size: 15px;
    }

    .quick-entry-copy span {
        margin-left: 0;
        display: block;
    }

    .quick-entry-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .quick-entry-actions .rj-button {
        width: 100%;
    }

    .rj-tab-player .layui-tabs-body {
        padding: 12px;
    }

    .player-editor-head > div {
        align-items: flex-start;
        flex-direction: column;
        gap: 0;
    }

    .rj-player {
        grid-template-columns: 1fr 1fr;
    }

    .rj-player .form:first-child {
        grid-column: 1 / -1;
    }

    .rj-player-size .PART-SIZE {
        padding: 9px;
        border: 1px solid #e7eaf0;
        border-radius: 6px;
        grid-template-columns: 1fr 70px;
        gap: 7px;
    }

    .rj-player-size .PART-SIZE > .label {
        grid-column: 1 / -1;
    }

    .rj-player-size .label2 {
        display: none;
    }

    .rj-player-size .qty {
        width: 70px;
    }

    .rj-player-button {
        align-items: stretch;
        flex-direction: column;
    }

    .player-price {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .PLAYER-ADD {
        width: 100%;
        min-width: 0;
        min-height: 47px;
    }

    .player-actions {
        width: 100%;
    }

    .player-actions .rj-button {
        flex: 1;
    }

    .rj-image-upload {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .rj-image-upload .image-box {
        min-height: 92px;
        padding: 12px 4px;
    }

    .logo-option-card {
        padding: 9px;
    }

    .remark,
    .addrkey {
        grid-template-columns: 1fr auto;
    }

    .remark .label,
    .addrkey .label {
        grid-column: 1 / -1;
    }

    .remark input {
        grid-column: 1 / -1;
    }

    .order-summary {
        bottom: 8px;
        grid-template-columns: auto 1fr;
        gap: 10px;
    }

    .summary-meta {
        min-width: 62px;
        padding-right: 10px;
    }

    .rj-total-amt .price {
        font-size: 20px;
    }

    .rj-button-place {
        grid-column: 1 / -1;
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 420px) {
    .section-heading p,
    .player-editor-head > div span {
        display: none;
    }

    .roster-count {
        padding: 5px 7px;
    }

    .rj-image-upload .image-box > span {
        display: none;
    }
}

/* Player roster table */
.player-roster-table {
    overflow-x: auto;
    overflow-y: hidden;
    border: 1px solid var(--c-border);
    border-radius: 9px;
    background: #fff;
}

.player-table-head,
.PLAYER-ROW {
    min-width: 600px;
    display: grid;
    grid-template-columns: 28px minmax(82px, 1fr) minmax(82px, 1fr) 58px minmax(150px, 1.55fr) 72px 34px;
    align-items: center;
    gap: 7px;
}

.player-table-head {
    min-height: 38px;
    padding: 0 10px;
    border-bottom: 1px solid var(--c-border);
    color: #5e6877;
    background: #f1f3f6;
    font-size: 10px;
    font-weight: 800;
    text-align: left;
}

.player-table-head b {
    margin-left: 2px;
    color: var(--c-accent);
    font-size: 8px;
}

.PLAYER-ROW {
    min-height: 70px;
    padding: 10px;
    border-bottom: 1px solid var(--c-border);
    transition: background .15s ease;
}

.PLAYER-ROW:last-child {
    border-bottom: 0;
}

.PLAYER-ROW:focus-within {
    background: #f8fafd;
}

.row-index {
    color: #7c8796;
    font-size: 11px;
    font-weight: 800;
    text-align: center;
}

.player-cell {
    min-width: 0;
}

.player-cell .layui-input,
.player-cell .layui-form-select .layui-input {
    height: 35px;
    padding: 0 8px;
    font-size: 11px;
}

.cell-number input {
    text-align: center;
}

.cell-size {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cell-size .PART-SIZE {
    min-width: 0;
    display: grid;
    grid-template-columns: 46px minmax(62px, 1fr) 9px 40px;
    align-items: center;
    gap: 4px;
}

.cell-size .PARTEN {
    overflow: hidden;
    color: #596474;
    font-size: 9px;
    font-weight: 700;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.cell-size .SIZECD {
    width: 100%;
    min-width: 0;
    height: 35px;
    padding: 0 7px;
    border: 1px solid var(--c-border-strong);
    border-radius: 5px;
    color: var(--c-text);
    background: #fff;
    font-size: 11px;
    cursor: pointer;
}

.cell-size .SIZECD:hover {
    border-color: #8691a2;
}

.cell-size .SIZECD:focus {
    border-color: var(--c-primary);
    outline: 3px solid rgba(36, 87, 167, .12);
    outline-offset: 0;
}

.cell-size .qty-mark {
    color: #8b95a4;
    font-size: 9px;
    text-align: center;
}

.cell-size .SALEQTY {
    width: 40px;
    padding: 0 3px;
    text-align: center;
}

.cell-size .SALEQTY::-webkit-inner-spin-button,
.cell-size .SALEQTY::-webkit-outer-spin-button {
    margin: 0;
}

.cell-amount strong {
    color: var(--c-accent);
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.cell-action {
    display: flex;
    justify-content: center;
}

.DELETE-PLAYER-ROW {
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    border-radius: 5px;
    color: #8a94a3;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
}

.DELETE-PLAYER-ROW:hover {
    color: var(--c-accent);
    background: #fff0f3;
}

.roster-toolbar {
    margin-top: 11px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.roster-toolbar .rj-button {
    min-height: 39px;
    border-color: var(--c-primary);
    color: #fff;
    background: var(--c-primary);
    font-size: 12px;
}

.roster-toolbar > span {
    color: var(--c-text-light);
    font-size: 9px;
}

.roster-toolbar > span i {
    margin-right: 3px;
    color: var(--c-blue);
}

@media (max-width: 800px) {
    .player-roster-table {
        overflow: visible;
        border: 0;
        border-radius: 0;
        background: transparent;
    }

    .player-table-head {
        display: none;
    }

    .player-table-body {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .PLAYER-ROW {
        position: relative;
        min-width: 0;
        min-height: 0;
        padding: 15px 11px 11px;
        border: 1px solid var(--c-border);
        border-radius: 8px;
        background: #fff;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 68px;
        align-items: end;
        gap: 9px;
        box-shadow: 0 2px 7px rgba(16, 35, 63, .04);
    }

    .PLAYER-ROW:last-child {
        border-bottom: 1px solid var(--c-border);
    }

    .row-index {
        position: absolute;
        top: -1px;
        left: -1px;
        width: 29px;
        height: 29px;
        border-radius: 8px 0 8px 0;
        color: #fff;
        background: var(--c-primary);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 10px;
    }

    .player-cell::before {
        margin-bottom: 4px;
        color: #5e6877;
        display: block;
        content: attr(data-label);
        font-size: 9px;
        font-weight: 800;
    }

    .cell-player {
        padding-left: 27px;
        grid-column: 1 / -1;
    }

    .cell-mark {
        grid-column: 1 / 3;
    }

    .cell-number {
        grid-column: 3;
    }

    .cell-size {
        padding-top: 8px;
        border-top: 1px dashed var(--c-border-strong);
        grid-column: 1 / -1;
    }

    .cell-size .PART-SIZE {
        grid-template-columns: 58px minmax(0, 1fr) 12px 46px;
    }

    .cell-size .SALEQTY {
        width: 46px;
    }

    .cell-amount {
        grid-column: 1 / 3;
    }

    .cell-action {
        grid-column: 3;
        justify-content: flex-end;
    }

    .cell-action::before {
        display: none;
    }

    .roster-toolbar {
        align-items: stretch;
        flex-direction: column;
        gap: 7px;
    }

    .roster-toolbar .rj-button {
        width: 100%;
        min-height: 44px;
    }

    .roster-toolbar > span {
        text-align: center;
    }
}
