:root {
    --versely-panel: rgba(255, 255, 255, 0.9);
    --versely-accent: #4f46e5;
    --versely-accent-soft: #eef2ff;
    --versely-border: rgba(79, 70, 229, 0.12);
    --versely-text: #1d2433;
}

body {
    background: linear-gradient(180deg, #f4f7ff 0%, #eef2f7 100%);
    color: var(--versely-text);
}

.navbar {
    background: rgba(255, 255, 255, 0.86) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.versely-panel {
    background: var(--versely-panel);
    border: 1px solid var(--versely-border);
    border-radius: 1.25rem;
}

.verse-text {
    display: flex;
    flex-wrap: wrap;
    column-gap: 0.4rem;
    row-gap: 0.45rem;
    align-items: baseline;
    font-size: clamp(1.25rem, 2vw, 1.85rem);
    line-height: 1.9;
    letter-spacing: 0.01em;
    color: var(--versely-text);
}

.verse-word {
    display: inline-block;
    margin: 0;
    padding: 0.05rem 0;
    white-space: nowrap;
}

.verse-word-hidden {
    background: linear-gradient(180deg, var(--versely-accent-soft) 0%, rgba(224, 231, 255, 0.92) 100%);
    border: 1px dashed rgba(79, 70, 229, 0.45);
    border-radius: 999px;
    color: #374151;
    padding: 0.18rem 0.72rem;
    min-width: 4rem;
    text-align: center;
    font-weight: 600;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.versely-stat {
    background: linear-gradient(180deg, #f8faff 0%, #f3f6fb 100%);
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 1rem;
    padding: 0.9rem 0.85rem;
    height: 100%;
}

.stage-list .list-group-item {
    border-color: rgba(148, 163, 184, 0.18);
}

.progress {
    height: 0.55rem;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.18);
}

.progress-bar {
    background: linear-gradient(90deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 999px;
}

.tracking-wide {
    letter-spacing: 0.08em;
}

.alert {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.practice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.practice-token {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 0.9rem;
    padding: 0.9rem;
    min-height: 90px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.practice-choices {
    border: 0;
    margin: 0;
    padding: 0;
    min-width: 0;
}

.practice-choice {
    margin-bottom: 0.4rem;
}

.practice-choice:last-child {
    margin-bottom: 0;
}

.practice-choice .btn {
    border-radius: 0.7rem;
    font-weight: 600;
}

.practice-token.incorrect {
    border-color: rgba(220, 38, 38, 0.35);
    background: #fef2f2;
}

.practice-choice.incorrect .btn {
    border-color: #dc2626;
    color: #991b1b;
}

.practice-choice.incorrect .btn-check:checked + .btn {
    background: #dc2626;
    border-color: #dc2626;
    color: #fff;
}

.practice-token.visible {
    background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
}

.practice-visible-word {
    display: inline-block;
    font-weight: 600;
    color: #1f2937;
}

.form-select {
    border-radius: 0.7rem;
    border-color: rgba(148, 163, 184, 0.4);
}
