.learning-summary {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 20px 0 24px;
}

.learning-summary div {
    min-width: 130px;
    padding: 12px 16px;
    border: 1px solid #e1e7f0;
    border-radius: 14px;
    background: #f7f9fc;
}

.learning-summary span,
.learning-summary strong {
    display: block;
}

.learning-summary span {
    color: #64748b;
    font-size: .78rem;
}

.learning-summary strong {
    margin-top: 3px;
    color: #172033;
    font-size: 1.25rem;
}

.question-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 4px;
}

.question-strength {
    flex: 0 0 auto;
    padding: 5px 9px;
    border-radius: 999px;
    background: #eef4ff;
    color: #1748ad;
    font-size: .8rem;
    font-weight: 700;
}

.countdown-ring {
    --progress: 100%;
    position: relative;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 50%;
    background: radial-gradient(circle, #fff 0 56%, transparent 58%), conic-gradient(#2563eb var(--progress), #e2e8f0 0);
    color: #172033;
    font-size: .9rem;
    font-variant-numeric: tabular-nums;
    font-weight: 800;
}

.countdown-ring.is-expired {
}
.countdown-ring.is-expired {
    background: radial-gradient(circle, #fff 0 56%, transparent 58%), conic-gradient(#b91c1c var(--progress), #e2e8f0 0);
}
.question-heading .countdown-ring {
    display: block;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
}

.question-heading canvas.countdown-ring {
    border-radius: 50%;
}

.countdown-track,
.countdown-progress {
    fill: none;
    stroke-width: 4;
}

.countdown-track {
    stroke: #e2e8f0;
}

.countdown-progress {
    stroke: #2563eb;
    stroke-linecap: round;
}

.countdown-ring.is-expired .countdown-progress {
    stroke: #b91c1c;
}

.countdown-value {
    fill: #172033;
    font-size: 11px;
    font-weight: 800;
    text-anchor: middle;
    dominant-baseline: central;
}
.result-title {
    margin: 24px 0 10px;
    text-align: left;
    font-size: 1rem;
}

.quiz-result-list {
    display: grid;
    gap: 8px;
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
    text-align: left;
}

.quiz-result-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid #e1e7f0;
    border-radius: 10px;
    background: #f7f9fc;
}

.quiz-result-item div {
    min-width: 0;
}

.quiz-result-item strong,
.quiz-result-item span {
    display: block;
}

.quiz-result-item strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.quiz-result-item div span {
    margin-top: 2px;
    color: #64748b;
    font-size: .85rem;
}

.strength-change {
    flex: 0 0 auto;
    color: #1748ad;
    font-size: .85rem;
    font-weight: 800;
}
.quiz-total-change {
    display: grid;
    gap: 8px;
    margin: 20px 0 24px;
}

.quiz-total-change div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid #e1e7f0;
    border-radius: 10px;
    background: #f7f9fc;
    text-align: left;
}

.quiz-total-change span {
    color: #64748b;
    font-size: .85rem;
}

.quiz-total-change strong {
    color: #1748ad;
}
.quiz-result-list {
    gap: 10px;
}

.quiz-result-item {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid #e1e7f0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 5px 14px #243b5a0a;
}

.result-number {
    display: grid;
    width: 26px;
    height: 26px;
    place-items: center;
    border-radius: 50%;
    background: #eef4ff;
    color: #1748ad;
    font-size: .8rem;
    font-weight: 800;
}

.quiz-result-main {
    min-width: 0;
    text-align: left;
}

.quiz-result-main strong,
.quiz-result-main span {
    display: block;
}

.quiz-result-main strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.quiz-result-main span {
    margin-top: 3px;
    color: #64748b;
    font-size: .85rem;
}

.strength-change {
    padding: 6px 8px;
    border-radius: 8px;
    background: #f0fdf4;
    color: #15803d;
    font-size: .82rem;
    font-weight: 800;
    white-space: nowrap;
}
.start-card .quiz-result-list {
    gap: 10px;
}

.start-card .quiz-result-item {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid #e1e7f0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 5px 14px #243b5a0a;
}

.start-card .result-number {
    display: grid;
    width: 26px;
    height: 26px;
    place-items: center;
    border-radius: 50%;
    background: #eef4ff;
    color: #1748ad;
    font-size: .8rem;
    font-weight: 800;
}

.start-card .quiz-result-main {
    min-width: 0;
    text-align: left;
}

.start-card .quiz-result-main strong,
.start-card .quiz-result-main span {
    display: block;
}

.start-card .quiz-result-main strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.start-card .quiz-result-main span {
    margin-top: 3px;
    color: #64748b;
    font-size: .85rem;
}

.start-card .strength-change {
    padding: 6px 8px;
    border-radius: 8px;
    background: #f0fdf4;
    color: #15803d;
    font-size: .82rem;
    font-weight: 800;
    white-space: nowrap;
}

.start-card .strength-change b {
    font-size: 1.05rem;
}

.start-card .strength-change.is-up {
    background: #eff6ff;
    color: #2563eb;
}

.start-card .strength-change.is-down {
    background: #fef2f2;
    color: #ef4444;
}

.start-card .strength-change.is-same {
    background: #f8fafc;
    color: #64748b;
}

.start-card .quiz-result-table {
    overflow: hidden;
    margin: 0 0 24px;
    border: 1px solid #e1e7f0;
    border-radius: 14px;
    background: #fff;
    text-align: left;
}

.start-card .quiz-result-row {
    display: grid;
    grid-template-columns: 30px minmax(90px, 1fr) minmax(80px, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border-bottom: 1px solid #eef2f7;
}

.start-card .quiz-result-row:last-child {
    border-bottom: 0;
}

.start-card .quiz-result-header {
    background: #f7f9fc;
    color: #64748b;
    font-size: .78rem;
    font-weight: 700;
}

.start-card .quiz-result-word,
.start-card .quiz-result-answer {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.start-card .quiz-result-answer {
    color: #64748b;
}

@media (max-width: 520px) {
    .start-card .quiz-result-row {
        grid-template-columns: 24px minmax(76px, 1fr) minmax(64px, 1fr);
    }

    .start-card .quiz-result-header span:last-child {
        grid-column: 3;
    }

    .start-card .strength-change {
        grid-column: 3;
        justify-self: start;
    }
}
.start-card .quiz-result-table .strength-change {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f8fafc;
    color: #334155;
}

.start-card .direction-arrow {
    display: inline-grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 50%;
    font-size: 1.25rem;
    font-weight: 900;
    line-height: 1;
}

.start-card .direction-arrow.is-up {
    background: #dbeafe;
    color: #2563eb;
}

.start-card .direction-arrow.is-down {
    background: #fee2e2;
    color: #ef4444;
}
.start-card .quiz-result-table .quiz-result-row {
    grid-template-columns: 30px minmax(0, 1fr) auto;
}

.start-card .quiz-result-table .quiz-result-word strong,
.start-card .quiz-result-table .quiz-result-word small {
    display: block;
}

.start-card .quiz-result-table .quiz-result-word small {
    margin-top: 3px;
    color: #64748b;
    font-size: .85rem;
}

.start-card #home-quiz {
    margin-top: 10px;
}

.question-heading canvas.countdown-ring {
    background: transparent !important;
}

.start-card .quiz-result-table .strength-change {
    width: 150px;
    justify-self: start;
    justify-content: flex-start;
    text-align: left;
}

@media (max-width: 520px) {
    .start-card .quiz-result-table .strength-change {
        width: 132px;
    }
}
.start-card .quiz-result-section h3 {
    margin: 24px 0 10px;
    text-align: left;
    font-size: 1rem;
}

.start-card .quiz-result-section:first-of-type h3 {
    margin-top: 0;
}

.start-card .quiz-result-table .strength-change {
    width: 150px;
    justify-self: start;
    justify-content: flex-start;
    text-align: left;
}

.start-card .quiz-result-empty {
    margin: 0;
    padding: 14px;
    color: #64748b;
    font-size: .9rem;
    text-align: center;
}

.start-card .quiz-result-header span:last-child {
    text-align: left;
}
.start-card .quiz-result-header {
    text-align: left !important;
}

.start-card .quiz-result-header > span:last-child {
    justify-self: start;
    text-align: left !important;
}
.start-card .quiz-result-table .quiz-result-row {
    grid-template-columns: 30px minmax(0, 1fr) 150px !important;
    align-items: start;
}

.start-card .quiz-result-table .strength-change {
    width: 150px;
    justify-self: end;
    justify-content: flex-end;
    text-align: right;
    white-space: nowrap;
}

.start-card .direction-placeholder {
    visibility: hidden;
}

.start-card .quiz-result-header > span:last-child {
    justify-self: end;
    text-align: right !important;
}
.start-card .quiz-result-table .quiz-result-row:not(.quiz-result-header) {
    position: relative;
    grid-template-columns: 30px minmax(0, 1fr) !important;
    align-items: start;
}

.start-card .quiz-result-table .quiz-result-row:not(.quiz-result-header) .quiz-result-word {
    grid-column: 2;
    padding-right: 0;
}

.start-card .quiz-result-table .quiz-result-row:not(.quiz-result-header) .quiz-result-word strong {
    padding-right: 150px;
}

.start-card .quiz-result-table .quiz-result-row:not(.quiz-result-header) .quiz-result-word small {
    overflow: visible;
    white-space: normal;
    word-break: break-word;
}

.start-card .quiz-result-table .quiz-result-row:not(.quiz-result-header) .strength-change {
    position: absolute;
    top: 12px;
    right: 12px;
    width: auto;
    min-width: 150px;
    justify-content: flex-end;
}
.start-card .quiz-result-table .quiz-result-row:not(.quiz-result-header) {
    grid-template-columns: minmax(0, 1fr) !important;
}

.start-card .quiz-result-table .quiz-result-row:not(.quiz-result-header) .quiz-result-word {
    grid-column: 1;
}

.start-card .quiz-result-header {
    grid-template-columns: minmax(0, 1fr) 150px !important;
}

.start-card .word-header strong,
.start-card .word-header small {
    display: block;
}

.start-card .word-header small {
    margin-top: 2px;
    color: #64748b;
    font-size: .78rem;
}
.start-card .quiz-result-table .quiz-result-header {
    display: flex !important;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 12px;
    background: #f7f9fc;
    color: #64748b;
    text-align: left;
}

.start-card .quiz-result-header strong,
.start-card .quiz-result-header small {
    display: block;
}

.start-card .quiz-result-header small {
    margin-top: 2px;
    font-size: .78rem;
}

.start-card .quiz-result-table .quiz-result-row:not(.quiz-result-header) {
    display: block !important;
    min-height: 66px;
    padding: 12px;
}

.start-card .result-main-line {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
}

.start-card .result-main-line > strong {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.start-card .result-main-line .strength-change {
    position: static;
    width: auto;
    min-width: 150px;
    flex: 0 0 auto;
    justify-content: flex-end;
    text-align: right;
}

.start-card .result-translation {
    display: block;
    max-width: 100%;
    margin-top: 4px;
    overflow-wrap: anywhere;
    color: #64748b;
    font-size: .85rem;
    line-height: 1.5;
}

/* Quiz result: two-line layout (word + strength / translation). */
.start-card .quiz-result-table .quiz-result-header {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    padding: 12px !important;
    text-align: left !important;
}

.start-card .quiz-result-table .quiz-result-header > span:last-child {
    text-align: right !important;
    margin-right: 8px;
}

.start-card .quiz-result-table .quiz-result-row:not(.quiz-result-header) {
    display: block !important;
    position: static !important;
    min-height: 66px !important;
    padding: 12px !important;
    border-bottom: 1px solid #eef2f7 !important;
}

.start-card .quiz-result-table .result-main-line {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 12px !important;
    min-width: 0 !important;
}

.start-card .quiz-result-table .result-main-line > strong {
    min-width: 0 !important;
    padding-right: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.start-card .quiz-result-table .result-main-line .strength-change {
    position: static !important;
    width: auto !important;
    min-width: 150px !important;
    flex: 0 0 auto !important;
    justify-content: flex-end !important;
    text-align: right !important;
}

.start-card .quiz-result-table .result-translation {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin-top: 4px !important;
    padding: 0 !important;
    overflow: visible !important;
    white-space: normal !important;
    word-break: break-word !important;
}

.start-card .quiz-result-table .result-main-line .strength-change {
    padding: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
}
