html, body, #root {
    margin: 0;
    height: 100dvh;
    width: 100vw;
    overscroll-behavior: none;
}


/* ── Desktop top bar (default: visible) ───────────────────── */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(18, 19, 24, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(222, 235, 248, 0.08);
    z-index: 50;
}

.top-bar-title {
    font-family: 'Titillium Web', sans-serif;
    font-size: 0.95rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(222, 235, 248, 0.75);
    user-select: none;
}

.top-bar-actions {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 6px;
}

.top-bar-icon-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(222, 235, 248, 0.22);
    background: rgba(222, 235, 248, 0.08);
    color: rgba(222, 235, 248, 0.7);
    font-size: 1.1rem;
    font-family: 'Titillium Web', sans-serif;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.top-bar-icon-btn:hover {
    background: rgba(222, 235, 248, 0.16);
    border-color: rgba(222, 235, 248, 0.45);
    color: #DEEBF8;
}

.top-bar-settings-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    align-self: stretch;
    padding: 0 20px 0 16px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: linear-gradient(
        45deg,
        #999 5%,
        #ddd 10%,
        #aaa 30%,
        #bbb 50%,
        #ccc 70%,
        #ddd 80%,
        #aaa 95%
    );
    color: #3a3a3a;
    font-family: 'Titillium Web', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.5);
    text-shadow: 0 1px 0 rgba(255,255,255,0.4);
    transition: filter 0.15s, box-shadow 0.15s;
}

.top-bar-settings-btn:hover {
    filter: brightness(1.1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.6);
}

/* ── Mobile floating pill ─────────────────────────────────── */
.floating-bar {
    display: flex;
    position: fixed;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    align-items: center;
    gap: 4px;
    background: rgba(18, 19, 24, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(222, 235, 248, 0.13);
    border-radius: 50px;
    padding: 4px 6px;
    z-index: 50;
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.55), 0 1px 0 rgba(255,255,255,0.05) inset;
}

.floating-bar-divider {
    width: 1px;
    height: 22px;
    background: rgba(222, 235, 248, 0.15);
    flex-shrink: 0;
    margin: 0 2px;
}

.floating-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    background: transparent;
    border: none;
    border-radius: 40px;
    color: rgba(222, 235, 248, 0.75);
    font-family: 'Titillium Web', sans-serif;
    font-size: 0.82rem;
    letter-spacing: 0.5px;
    padding: 6px 11px;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
}

.floating-btn--primary {
    color: #DEEBF8;
}

.floating-btn-icon {
    font-size: 1.1rem;
    line-height: 1;
    display: inline-block;
    transition: transform 0.3s ease;
}

@media (hover: hover) {
    .floating-btn:hover {
        background: rgba(222, 235, 248, 0.1);
        color: #DEEBF8;
    }

    .floating-btn--primary:hover {
        background: rgba(97, 218, 251, 0.15);
        color: #61DAFB;
    }

    .floating-btn--primary:hover .floating-btn-icon {
        transform: rotate(180deg);
    }
}

.floating-btn-label {
    line-height: 1;
}

/* ── Mobile top bar ───────────────────────────────────────── */
.mobile-top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(18, 19, 24, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(222, 235, 248, 0.08);
    z-index: 50;
}

.mobile-top-bar-help-btn {
    position: absolute;
    right: 12px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid rgba(222, 235, 248, 0.22);
    background: rgba(222, 235, 248, 0.08);
    color: rgba(222, 235, 248, 0.7);
    font-size: 1rem;
    font-family: 'Titillium Web', sans-serif;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-top-bar-title {
    font-family: 'Titillium Web', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(222, 235, 248, 0.6);
    user-select: none;
}

.body-ma-v {
    display: flex;
    width: 100vw;
    height: 100dvh;
    background: radial-gradient(ellipse at center, #2a2b36 0%, #18191f 100%);
    box-sizing: border-box;
}

.body-ma-h {
    display: flex;
    flex-direction: column;
    width: 100vw;
    height: 100dvh;
    background: radial-gradient(ellipse at center, #2a2b36 0%, #18191f 100%);
    box-sizing: border-box;
}

@media not all and (hover: none) and (pointer: coarse) {
    .body-ma-v,
    .body-ma-h {
        padding-top: 58px;
    }
}

@media (hover: none) and (pointer: coarse) {
    .body-ma-v,
    .body-ma-h {
        padding-top: 40px;
        padding-bottom: 58px;
    }
}

@media (hover: none) and (pointer: coarse) {
    .ma-group-v,
    .ma-group-h {
        padding: 0;
        min-height: 0;
    }
    .ma-cards-v,
    .ma-cards-h {
        padding: 0;
        min-height: 0;
    }
    .card-outer {
        margin: 0;
        padding: 3px;
        border-radius: 16px;
    }
    .card-inner {
        border-radius: 13px;
    }
}

.ma-group-v,
.ma-group-h {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    padding: 0 6px;
}

/* Section header row */
.nav-bar-ma {
    display: flex;
    flex: 0;
    background: transparent;
    box-shadow: none;
    align-items: center;
    justify-content: center;
    padding: 10px 16px 4px;
    position: relative;
}

.nav-bar-ma::before {
    content: '';
    position: absolute;
    left: 16px;
    right: 16px;
    top: 50%;
    height: 1px;
    background: rgba(222, 235, 248, 0.15);
    transition: background 0.15s;
}


/* Shared pill style — used in main screen and modal */
.nav-bar-ma-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 14px;
    background: #1a1b22;
    border: 1px solid rgba(222, 235, 248, 0.1);
    border-radius: 20px;
    position: relative;
    z-index: 1;
    color: rgba(222, 235, 248, 0.5);
    font-family: 'Titillium Web', sans-serif;
    font-size: 1rem;
    letter-spacing: 4px;
    transition: border-color 0.15s, background 0.15s, color 0.15s;
    user-select: none;
}

.nav-bar-ma-pill:hover {
    border-color: rgba(222, 235, 248, 0.25);
    background: #21222A;
    color: rgba(222, 235, 248, 0.75);
}

.rerandomize-icon {
    font-size: 1.2rem;
    line-height: 1;
    opacity: 0.65;
    transition: opacity 0.15s, transform 0.25s;
    letter-spacing: 0;
    display: inline-block;
}

.nav-bar-ma-pill:hover .rerandomize-icon {
    opacity: 1;
    transform: rotate(180deg);
}

.card-expansion-icon {
    position: absolute;
    top: 15px;
    left: 10px;
    z-index: 10;
    line-height: 0;
}

.card-reroll-btn {
    position: absolute;
    top: 15px;
    right: 55px;
    background: rgba(0, 0, 0, 0.45);
    border: none;
    border-radius: 50%;
    color: #b8d8f0;
    font-size: 1rem;
    width: 32px;
    height: 32px;
    line-height: 1;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.15s, background 0.15s, transform 0.25s;
    z-index: 10;
}
.card-reroll-btn:hover {
    opacity: 1;
    background: rgba(40, 100, 180, 0.7);
    color: #fff;
    transform: rotate(180deg);
}

.card-remove-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.45);
    border: none;
    border-radius: 50%;
    color: #f0b8b8;
    font-size: 1rem;
    width: 32px;
    height: 32px;
    line-height: 1;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.15s, background 0.15s;
    z-index: 10;
}
.card-remove-btn:hover {
    opacity: 1;
    background: rgba(200, 60, 60, 0.75);
    color: #fff;
}


.ma-cards-v {
    display: flex;
    flex-direction: column;
    flex: 1;
    align-items: stretch;
    padding: 4px 0px 10px;
}


.ma-cards-h {
    display: flex;
    flex: 1;
    padding: 4px 8px 10px;
}

.card-outer {
    position: relative;
    display: flex;
    border-radius: 25px;
    background: linear-gradient(
        -45deg,
        #999 5%,
        #ddd 10%,
        #aaa 30%,
        #bbb 50%,
        #ccc 70%,
        #ddd 80%,
        #aaa 95%
    );
    margin: 5px 5px;
    padding: 5px;
    flex: 1;
    box-shadow: 1px 1px 8px 5px rgba( 0, 0, 0, .8), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

/* .card-outer:hover {
    transform: translateY(-4px);
    box-shadow: 2px 6px 18px 6px rgba(0, 0, 0, 0.9), 0 10px 28px 0 rgba(0, 0, 0, 0.25);
} */

.card-inner {
    display: flex;
    flex-direction: column;
    flex: 1;
    border-radius: 20px;
    box-shadow: inset 0px 0px 10px 5px rgba(0 , 0, 0, .7);
    background: linear-gradient(
        45deg,
        #aaa 5%,
        #eee 10%,
        #999 30%,
        #ddd 50%,
        #bbb 70%,
        #fff 80%,
        #aaa 95%
    );
}

.ma-logo {
    flex: 1;
    min-height: 0;
    min-width: 0;
    margin: auto;
    object-fit: contain;
}

.ma-cards-h>.card-outer>.card-inner>.ma-logo {
    width: 80%;
}

.ma-cards-v>.card-outer>.card-inner>.ma-logo {
    width: 80%;
    max-height: calc(100vh/8);
    margin: auto;
}

.ma-title {
    flex: 0;
    margin: auto;
    font-family: 'Titillium Web', sans-serif;
    font-size: max(1.7vh, 1.7vw);
    letter-spacing: 3px;
    text-align: center;
    text-wrap: wrap;
    text-shadow: 1px 1px 1px black;
}

.ma-description {
    width: inherit;
    z-index: 10;
    text-wrap: wrap;
    margin: 10px 10px;
    text-align: center;
}


/* Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
}

.modal-content {
    background: #21222A;
    color: #DEEBF8;
    border-radius: 12px;
    padding: 24px;
    max-height: 85vh;
    overflow-y: auto;
    width: min(90vw, 900px);
    font-family: 'Titillium Web', sans-serif;
}

.modal-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.modal-header h2 {
    color: #61DAFB;
    margin: 0;
    flex: 1;
}

.modal-close-btn {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: #DEEBF8;
    font-size: 0.85rem;
    width: 28px;
    height: 28px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}
.modal-close-btn:hover {
    background: rgba(200, 60, 60, 0.6);
    border-color: transparent;
    color: #fff;
}

@media (hover: none) and (pointer: coarse) {
    .modal-header {
        display: none;
    }
}

.modal-sections {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.modal-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    position: relative;
}

/* Hairline rule behind the pill in modal headers */
.modal-section-header::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: rgba(222, 235, 248, 0.12);
}

/* Pill variant used inside the modal — no cursor since it's not clickable */
.modal-pill {
    cursor: default;
    background: #21222A;
}

.modal-pill-ok {
    color: #4caf50;
    font-weight: bold;
    margin-left: 6px;
}

.modal-pill-err {
    color: #e57373;
    font-weight: bold;
    margin-left: 6px;
}

.modal-section-actions {
    display: flex;
    gap: 6px;
    position: relative;
    z-index: 1;
    background: #21222A;
    padding-left: 4px;
    margin-left: auto;
}

.modal-action-btn {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(222, 235, 248, 0.2);
    border-radius: 20px;
    color: #DEEBF8;
    font-family: 'Titillium Web', sans-serif;
    font-size: 0.75rem;
    padding: 3px 12px;
    cursor: pointer;
    transition: background 0.15s;
    letter-spacing: 0.3px;
}
.modal-action-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}


.modal-section-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 6px;
}

.toggle-btn {
    border-radius: 10px;
    border: 2px solid transparent;
    cursor: pointer;
    font-family: 'Titillium Web', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 8px 10px;
    text-align: center;
    transition: transform 0.1s ease, filter 0.15s;
    box-shadow: 1px 1px 5px 2px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.toggle-btn--on {
    background:
        linear-gradient(rgba(40, 160, 60, 0.28), rgba(40, 160, 60, 0.28)),
        linear-gradient(-45deg, #999 5%, #ddd 10%, #aaa 30%, #bbb 50%, #ccc 70%, #ddd 80%, #aaa 95%);
    border-color: rgba(60, 180, 80, 0.65);
    color: #193d1e;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

.toggle-btn--off {
    background:
        linear-gradient(rgba(180, 40, 40, 0.32), rgba(180, 40, 40, 0.32)),
        linear-gradient(-45deg, #999 5%, #ddd 10%, #aaa 30%, #bbb 50%, #ccc 70%, #ddd 80%, #aaa 95%);
    border-color: rgba(200, 60, 60, 0.65);
    color: #3d1919;
    opacity: 0.5;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

@media (hover: hover) {
    .toggle-btn:hover {
        filter: brightness(1.15);
        transform: translateY(-2px);
    }
}

/* General settings radio toggles */
.settings-toggle {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 10px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Titillium Web', sans-serif;
    font-size: 0.85rem;
    color: #DEEBF8;
    padding: 6px 8px;
    border-radius: 8px;
    transition: background 0.15s;
}

@media (hover: hover) {
    .settings-toggle:hover {
        background: rgba(255, 255, 255, 0.05);
    }
}

.settings-toggle-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid rgba(222, 235, 248, 0.4);
    flex-shrink: 0;
    transition: background 0.15s, border-color 0.15s;
}

.settings-toggle--on .settings-toggle-dot {
    background: #61DAFB;
    border-color: #61DAFB;
}

.settings-toggle--off .settings-toggle-dot {
    background: transparent;
}

.expansion-toggle-row {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 10px;
    margin-top: 10px;
}

.expansion-toggle-label {
    font-size: 0.8rem;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
    margin-right: 4px;
}

.expansion-toggle-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    border-radius: 50%;
    transition: opacity 0.15s;
    font-size: 1.3rem;
}

.expansion-toggle-btn--off {
    opacity: 0.25;
    filter: grayscale(0.6);
}

@media (hover: hover) {
    .expansion-toggle-btn:hover {
        opacity: 0.75;
        filter: none;
    }
}

/* ── Mobile action sheet ──────────────────────────────────── */
.action-sheet-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 200;
    animation: action-sheet-fade-in 0.2s ease;
}

@keyframes action-sheet-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes action-sheet-slide-up {
    from { transform: translateY(100%); }
    to   { transform: translateY(0); }
}

.action-sheet {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 201;
    padding: 0 10px 20px;
    animation: action-sheet-slide-up 0.28s cubic-bezier(0.32, 0.72, 0, 1);
}

.action-sheet-main {
    background: rgba(28, 29, 38, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 14px;
    overflow: hidden;
}

.action-sheet-handle {
    width: 36px;
    height: 4px;
    background: rgba(222, 235, 248, 0.25);
    border-radius: 2px;
    margin: 10px auto 0;
}

.action-sheet-card-title {
    font-family: 'Titillium Web', sans-serif;
    font-size: 1rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(222, 235, 248, 0.4);
    text-align: center;
    margin: 0;
    padding: 12px 16px 10px;
    border-bottom: 1px solid rgba(222, 235, 248, 0.07);
}

.action-sheet-card-description {
    font-family: 'Titillium Web', sans-serif;
    font-size: 1rem;
    color: rgba(222, 235, 248, 0.6);
    text-align: center;
    margin: 0;
    padding: 8px 20px 14px;
    border-top: none;
    border-bottom: 1px solid rgba(222, 235, 248, 0.07);
}

.action-sheet-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 17px 16px;
    background: none;
    border: none;
    border-bottom: 1px solid rgba(222, 235, 248, 0.07);
    font-family: 'Titillium Web', sans-serif;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background 0.1s;
}

.action-sheet-btn:last-child {
    border-bottom: none;
}

.action-sheet-btn:active {
    background: rgba(222, 235, 248, 0.07);
}

.action-sheet-btn-icon {
    font-size: 1.15rem;
    line-height: 1;
}

.action-sheet-btn--reroll {
    color: #61DAFB;
}

.action-sheet-btn--exclude {
    color: #f0b8b8;
}


/* ── Player markers ───────────────────────────────────────── */
.card-outer--greyed {
    opacity: 0.38;
    filter: grayscale(0.5);
    pointer-events: none;
}

/* On mobile, greyed cards should still open the action sheet */
@media (hover: none) and (pointer: coarse) {
    .card-outer--greyed {
        pointer-events: auto;
    }
}

.card-marker-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 6px 0 10px;
    flex-shrink: 0;
}

.card-marker-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 2px;
    border-radius: 4px;
    line-height: 0;
    opacity: 0.82;
    transition: opacity 0.15s, transform 0.12s;
}

.card-marker-btn--claimed {
    opacity: 1;
}

@media (hover: hover) {
    .card-marker-btn:hover {
        opacity: 1;
        transform: translateY(-3px);
    }
}

/* Mobile card marker badge (corner indicator) */
.card-mobile-marker {
    position: absolute;
    bottom: 8px;
    right: 8px;
    z-index: 10;
    line-height: 0;
}

/* Action sheet marker section */
.action-sheet-marker-section {
    padding: 12px 16px 4px;
    border-bottom: 1px solid rgba(222, 235, 248, 0.07);
}

.action-sheet-marker-row {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.action-sheet-marker-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    border-radius: 6px;
    line-height: 0;
    opacity: 0.85;
    transition: opacity 0.15s, transform 0.12s;
}

/* .action-sheet-marker-btn-marked {
    opacity: 1;
    transform: scale(1.15);
} */

.action-sheet-marker-claimed {
    display: flex;
    align-items: center;
    gap: 12px;
}

.action-sheet-unclaim-btn {
    background: none;
    border: 1px solid rgba(222, 235, 248, 0.2);
    border-radius: 20px;
    color: rgba(222, 235, 248, 0.6);
    font-family: 'Titillium Web', sans-serif;
    font-size: 0.85rem;
    padding: 6px 14px;
    cursor: pointer;
}

.action-sheet-marker-limit {
    font-family: 'Titillium Web', sans-serif;
    font-size: 0.82rem;
    color: rgba(222, 235, 248, 0.3);
    text-align: center;
    margin: 0;
    padding: 4px 0;
}

/* ── Confirm modal ────────────────────────────────────────── */
.confirm-modal-content {
    max-width: 380px;
    text-align: center;
}

.confirm-modal-message {
    font-family: 'Titillium Web', sans-serif;
    font-size: 1rem;
    color: rgba(222, 235, 248, 0.85);
    line-height: 1.6;
    margin: 0 0 24px;
}

.confirm-modal-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.confirm-btn {
    font-family: 'Titillium Web', sans-serif;
    font-size: 1rem;
    letter-spacing: 0.5px;
    padding: 10px 28px;
    border-radius: 50px;
    cursor: pointer;
    transition: filter 0.15s;
}

.confirm-btn--cancel {
    background: rgba(222, 235, 248, 0.08);
    border: 1px solid rgba(222, 235, 248, 0.2);
    color: rgba(222, 235, 248, 0.7);
}

.confirm-btn--confirm {
    background: linear-gradient(45deg, #999 5%, #ddd 10%, #aaa 30%, #bbb 50%, #ccc 70%, #ddd 80%, #aaa 95%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #3a3a3a;
    font-weight: 600;
}

@media (hover: hover) {
    .confirm-btn:hover { filter: brightness(1.12); }
}

/* ── Help modal ───────────────────────────────────────────── */
.help-text {
    font-family: 'Titillium Web', sans-serif;
    font-size: 0.95rem;
    color: rgba(222, 235, 248, 0.75);
    line-height: 1.6;
    margin: 8px 0 0;
}

.help-list {
    font-family: 'Titillium Web', sans-serif;
    font-size: 0.95rem;
    color: rgba(222, 235, 248, 0.75);
    line-height: 1.8;
    margin: 8px 0 0;
    padding-left: 20px;
}

.help-list strong {
    color: #DEEBF8;
}

.help-disclaimer {
    font-family: 'Titillium Web', sans-serif;
    font-size: 0.78rem;
    color: rgba(222, 235, 248, 0.35);
    margin: 8px 0 0;
}

.help-link {
    color: #61DAFB;
    text-decoration: none;
}

@media (hover: hover) {
    .help-link:hover {
        text-decoration: underline;
    }
}

/* Too-few-options warning */
.too-few-warning {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    font-family: 'Titillium Web', sans-serif;
    font-size: 1rem;
    color: #f0b8b8;
    border: 1px solid rgba(200, 60, 60, 0.35);
    border-radius: 16px;
    margin: 12px 16px;
    padding: 20px;
    background: rgba(200, 60, 60, 0.08);
    text-align: center;
}
