.market-line {
    --cols: 2;
    width: 100%;
    display: grid;

    column-gap: 3px;
    row-gap: 2px;

    grid-template-columns: repeat(var(--cols, 1), 1fr);
}

.market-line[data-col-count="1"] { --cols: 1; }
.market-line[data-col-count="2"] { --cols: 2; }
.market-line[data-col-count="3"] { --cols: 3; }

.market-line__outcome {
    width: 100%;
    height: 50px;

    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;

    cursor: pointer;
    overflow: hidden;
    user-select: none;

    padding: 0 12px;

    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-md);
}

.market-line__outcome-title {
    font-weight: 400;
    font-size: 12px;
    line-height: 14px;

    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.market-line__outcome-value {
    color: var(--text-accent-color);
    font-weight: 400;
    font-size: 12px;
    line-height: 14px;

}

.market-line__outcome[data-absent="true"] {
    position: relative;
    justify-content: center;
    cursor: not-allowed;
    opacity: 0.5;
    background: var(--bg-main-color-darklight);
}

.market-line__outcome[data-absent="true"] * {
    display: none;
}

.market-line__outcome[data-absent="true"]::before {
    content: "";
    width: 16px;
    height: 16px;
    background-image: var(--icon-clock);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.market-line__super-config {
    background: var(--bg-popup-success);

    transition: background-color 180ms ease;
}

.market-line__close {
    width: 12px;
    height: 12px;

    background-image: var(--icon-close-popup-btn);
    transition: transform 180ms ease;
}

.market-line__super-config[data-state="closed"] {
    background: var(--bg-popup-error);
}

.market-line__super-config[data-state="closed"] > .market-line__close {
    transform: rotate(-45deg);
}
