#view-draft:not(.hidden) {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    overflow: hidden;
}

.draft-champ {
    transition: transform 0.1s, border-color 0.1s;
    cursor: pointer;
}

.draft-champ:hover:not(.disabled) {
    transform: scale(1.1);
    border-color: #3b82f6;
    z-index: 10;
}

.draft-champ.disabled {
    filter: grayscale(100%) opacity(30%);
    pointer-events: none;
}

.draft-champ.selected {
    border-color: #60a5fa !important;
    box-shadow: 0 0 0 2px #2563eb, 0 0 14px rgba(59, 130, 246, 0.55);
    z-index: 5;
}

.slot-active {
    box-shadow: 0 0 15px rgba(234, 179, 8, 0.5);
    border-color: #eab308 !important;
    animation: pulseActive 1.5s infinite;
}

@keyframes pulseActive {
    0% { box-shadow: 0 0 10px rgba(234, 179, 8, 0.3); }
    50% { box-shadow: 0 0 20px rgba(234, 179, 8, 0.7); }
    100% { box-shadow: 0 0 10px rgba(234, 179, 8, 0.3); }
}

.flex-role-select {
    background-color: rgba(15, 23, 42, 0.8);
    color: #94a3b8;
    border: 1px solid #334155;
    border-radius: 4px;
    font-size: 10px;
    padding: 2px;
    outline: none;
    margin-top: 2px;
}

.flex-role-select:focus {
    border-color: #3b82f6;
}

.draft-champ-window {
    flex: 1 1 30%;
    min-height: 120px;
    max-height: 34%;
}

.draft-analysis-split {
    flex: 1 1 52%;
    min-height: 220px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    min-width: 0;
}

.draft-side-panel {
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 0.75rem;
    padding: 0.6rem 0.7rem;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
}

.draft-side-title {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.35rem;
    flex-shrink: 0;
}

.draft-side-body {
    overflow-y: auto;
    min-height: 0;
    flex: 0 1 auto;
    max-height: 38%;
}

.draft-xai-body {
    flex: 1 1 auto;
    max-height: none;
}

.draft-advice-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.35rem 0;
    border-bottom: 1px solid #1e293b;
}

.draft-advice-row:last-child {
    border-bottom: none;
}

.xai-item {
    padding: 0.4rem 0;
    border-bottom: 1px solid #1e293b;
}

.xai-item:last-child {
    border-bottom: none;
}

.xai-item h5 {
    font-size: 0.72rem;
    font-weight: 700;
    color: #e2e8f0;
}

.xai-item p {
    font-size: 0.68rem;
    line-height: 1.35;
    color: #94a3b8;
    margin-top: 0.15rem;
}

.draft-comp {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin-bottom: 0.4rem;
}

.draft-chip {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 0.1rem 0.4rem;
    border-radius: 999px;
    background: #1e293b;
    color: #cbd5e1;
}

.draft-factor {
    font-size: 10px;
    color: #64748b;
    line-height: 1.35;
    margin-top: 0.15rem;
}

.draft-warn {
    font-size: 11px;
    line-height: 1.35;
    padding: 0.35rem 0.5rem;
    border-radius: 0.5rem;
    background: rgba(127, 29, 29, 0.35);
    border: 1px solid rgba(248, 113, 113, 0.35);
    color: #fecaca;
}

.draft-player-line {
    font-size: 10px;
    color: #94a3b8;
    line-height: 1.1;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 1100px) {
    .draft-analysis-split {
        grid-template-columns: 1fr;
    }
    .draft-champ-window {
        max-height: 32%;
    }
}
