.ff-dart-weight-tiles {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.ff-dart-weight-tile {
    position: relative;
    width: 82px;
    height: 65px;
    background: #1b1b1b;
    color: white;
    border: 2px solid #555;
    border-radius: 5px;
    font-size: 17px;
    font-weight: bold;
    cursor: pointer;
}

.ff-dart-weight-tile.selected {
    border-color: #ed1c24;
    background: #292020;
}

.ff-dart-weight-tile.unavailable {
    color: #777;
    background: #151515;
    cursor: not-allowed;
    overflow: hidden;
}

.ff-dart-weight-tile.unavailable::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            135deg,
            transparent 46%,
            #777 48%,
            #777 52%,
            transparent 54%
        ),
        linear-gradient(
            45deg,
            transparent 46%,
            #777 48%,
            #777 52%,
            transparent 54%
        );
    opacity: .7;
    pointer-events: none;
}

/* Compact weight tiles on darts catalogue cards only */
.catalog-card .ff-dart-weight-tiles {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 10px 0;
}

.catalog-card .ff-dart-weight-tile {
    flex: 0 0 48px;
    width: 48px;
    height: 34px;
    min-width: 0;
    min-height: 0;
    padding: 0;
    font-size: 12px;
    line-height: 1;
    border-radius: 4px;
    box-sizing: border-box;
}

/* Keep the full-tile X */
.catalog-card .ff-dart-weight-tile.unavailable {
    opacity: 0.65;
}

/* Flight Factory darts catalogue — match flight length tiles */
.catalog-card .ff-dart-weight-tiles {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
    margin: 12px 0;
}

.catalog-card .ff-dart-weight-tile {
    width: 100%;
    min-width: 0;
    height: 42px;
    flex: none;
    padding: 0;
    box-sizing: border-box;
    font-size: 12px;
    font-weight: 600;
    border-radius: 5px;
}

.catalog-card .ff-dart-weight-tile.selected {
    border: 2px solid #ed1c24;
    background: #292020;
}
