.boost-rules{
    margin: var(--space-sm) 0 0;
    padding-left: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    font-size: 14px;
    line-height: 1.5;
}

.boost-pick{
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.boost-pick-head{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.boost-pick-head h3{
    margin: 0;
}

.boost-balance{
    font-weight: 700;
    font-size: 14px;
}

.boost-recent{
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.boost-recent[hidden]{
    display: none;
}

.boost-recent-label{
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-muted);
}

.boost-recent-grid{
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-sm);
}

/* Sur petit ecran, 2 lignes de 3 prendraient trop de place : on ne garde que
la 1ere ligne (meme technique que .history-list en @media 480px). */
@media (max-width: 480px){
    .boost-recent-grid li:nth-child(n+4){
        display: none;
    }
}

.boost-recent-card{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 100%;
    padding: var(--space-sm);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-panel-border);
    background-color: var(--color-bg);
    color: var(--color-text);
    font: inherit;
    cursor: pointer;
    text-align: center;
}

.boost-recent-card:hover:not(:disabled){
    border-color: var(--color-twitch);
}

.boost-recent-card:disabled{
    opacity: .5;
    cursor: not-allowed;
}

.boost-recent-name{
    max-width: 100%;
    font-size: 12px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.boost-search{
    height: 40px;
    padding: 0 var(--space-md);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-panel-border);
    background-color: var(--color-bg);
    color: var(--color-text);
    font: inherit;
    font-size: 14px;
}

.boost-results, .boost-active{
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.boost-row{
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-panel-border);
    background-color: var(--color-bg);
}

.boost-row.mine{
    border-color: var(--color-twitch);
}

.boost-row-text{
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.boost-row-name{
    font-size: 14px;
    font-weight: 700;
    color: var(--color-text);
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.boost-row-meta{
    color: var(--color-muted);
    font-size: 12px;
}

.boost-row-status{
    font-size: 12px;
    font-weight: 700;
    color: var(--color-muted);
    white-space: nowrap;
}

.boost-row-status.aired{
    color: #22c55e;
}

.boost-choose{
    height: 34px;
    padding: 0 var(--space-md);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-twitch);
    background-color: var(--color-twitch);
    color: white;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.boost-choose:disabled{
    opacity: .5;
    cursor: not-allowed;
}

.boost-tiers-box{
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-twitch);
}

.boost-tiers-box[hidden]{
    display: none;
}

.boost-selected{
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-size: 16px;
}

.boost-tiers{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--space-md);
}

.boost-tier{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: var(--space-md);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-twitch);
    background-color: transparent;
    color: var(--color-text);
    font: inherit;
    cursor: pointer;
    transition: background-color .15s ease;
}

.boost-tier:hover:not(:disabled){
    background-color: var(--color-twitch);
    color: white;
}

.boost-tier:disabled{
    opacity: .5;
    cursor: not-allowed;
}

.boost-tier-label{
    font-weight: 700;
    font-size: 15px;
}

.boost-tier-cost{
    font-size: 14px;
    font-variant-numeric: tabular-nums;
}

.boost-message{
    margin: 0;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-twitch);
    font-size: 13px;
}

.boost-message.is-error{
    border-color: #eb0400;
}

.boost-message[hidden]{
    display: none;
}
