/* Children's math quiz (Pages/Learn/Math.cshtml): big, touch-friendly controls; colours from the theme variables. */

.learn-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
    gap: .75rem;
}

.learn-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .25rem;
    padding: 1rem .5rem;
    border-width: 2px;
    border-radius: 1rem;
    font-weight: 600;
}

.learn-tile-sign {
    font-size: 2.5rem;
    line-height: 1;
}

/* A long label (a phrase instead of one or two letters) must fit the tile. */
.learn-tile-sign-long {
    font-size: 1.25rem;
    line-height: 1.2;
    text-align: center;
}

.learn-tile {
    min-width: 0;
    overflow-wrap: anywhere;
}

.learn-choices {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.learn-choices .btn {
    min-width: 4.5rem;
    min-height: 3rem;
    border-radius: .75rem;
    font-weight: 600;
}

.learn-start {
    min-width: 12rem;
    min-height: 3.5rem;
    border-radius: 1rem;
    font-size: 1.4rem;
    font-weight: 700;
}

/* ------------------------------------------------------------------ quiz */

.learn-quiz {
    max-width: 30rem;
    margin: 0 auto;
}

.learn-status {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .5rem;
    font-variant-numeric: tabular-nums;
    margin-bottom: .5rem;
}

.learn-progress {
    height: .6rem;
    border-radius: 1rem;
    margin-bottom: 1.5rem;
}

.learn-progress .progress-bar {
    transition: width .3s ease;
}

.learn-problem {
    text-align: center;
    font-size: clamp(2.5rem, 12vw, 4rem);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    line-height: 1.2;
    white-space: nowrap;
}

.learn-answer {
    display: inline-block;
    min-width: 2.2ch;
    padding: 0 .2em;
    border-bottom: .08em solid var(--app-primary);
    color: var(--app-primary-text);
}

.learn-answer-empty { color: var(--app-line); }
.learn-answer-ok { color: var(--app-correct); border-color: var(--app-correct); }
.learn-answer-bad { color: var(--bs-danger); border-color: var(--bs-danger); }

.learn-feedback {
    min-height: 2rem;
    margin: .75rem 0 1rem;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
}

.learn-feedback-ok { color: var(--app-correct); }
.learn-feedback-bad { color: var(--bs-danger); }

/* Hint under the feedback of the spelling quiz (changed form, rule or "remember it"). */
.learn-hint {
    min-height: 1.5rem;
    margin: -.5rem 0 1rem;
    text-align: center;
    color: var(--bs-secondary-color);
}

.learn-keypad {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .6rem;
}

.learn-keypad .btn {
    min-height: 3.75rem;
    border-radius: 1rem;
    border-width: 2px;
    font-size: 1.6rem;
    font-weight: 700;
    touch-action: manipulation; /* no double-tap zoom on phones */
}

.learn-keypad .btn-success { font-size: 1.15rem; }

/* ------------------------------------------------------------------ summary */

.learn-summary { text-align: center; }

.learn-stars {
    font-size: 3.5rem;
    letter-spacing: .25rem;
    color: var(--app-border);
}

.learn-stars .on { color: #f4b400; }

.learn-results {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .75rem;
    margin: 1.25rem 0;
}

.learn-results > div {
    display: flex;
    flex-direction: column;
    gap: .15rem;
    padding: .75rem;
    border: 1px solid var(--app-border);
    border-radius: .75rem;
    background: var(--app-surface);
}

.learn-results span { font-size: .85rem; color: var(--bs-secondary-color); }
.learn-results strong { font-size: 1.4rem; font-variant-numeric: tabular-nums; }

.learn-record {
    min-height: 1.5rem;
    font-weight: 600;
    color: var(--app-correct);
}

.learn-mistakes {
    margin-top: 1rem;
    text-align: left;
    display: inline-block;
}

.learn-mistake {
    font-size: 1.15rem;
    font-variant-numeric: tabular-nums;
}

@media (prefers-reduced-motion: reduce) {
    .learn-progress .progress-bar { transition: none; }
}

/* ------------------------------------------------------------------ hub (Pages/Learn/Index) */

.learn-subjects {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    gap: 1rem;
}

.learn-subject {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    padding: 1.25rem;
    border: 2px solid var(--app-border);
    border-radius: 1rem;
    background: var(--app-surface);
    color: inherit;
    text-decoration: none;
}

.learn-subject:hover,
.learn-subject:focus-visible {
    border-color: var(--app-primary);
    color: inherit;
}

.learn-subject-icon {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--app-primary-text);
}

.learn-subject-name { font-size: 1.3rem; font-weight: 700; }
.learn-subject-text { color: var(--bs-secondary-color); }

/* Smaller tiles for the extras (reviews, formulas, class duel), so the main exercises stand out. */
.learn-subjects-compact { grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: .75rem; }
.learn-subjects-compact .learn-subject { padding: .85rem 1rem; gap: .2rem; }
.learn-subjects-compact .learn-subject-icon { font-size: 1.3rem; }
.learn-subjects-compact .learn-subject-name { font-size: 1.1rem; }
.learn-subjects-compact .learn-subject-text { font-size: .9rem; }

.learn-more-links a { font-weight: 600; }

/* Long lists of links (for search engines and for browsing) stay folded until asked for. */
.learn-all > summary { cursor: pointer; padding: .6rem 0; color: var(--app-primary-text); }
.learn-more-group > summary { cursor: pointer; display: inline-block; margin-top: .75rem; color: var(--app-primary-text); font-size: .875rem; }

/* ------------------------------------------------------------------ spelling quiz */

.learn-word { letter-spacing: .02em; }

.learn-gap {
    display: inline-block;
    min-width: 1.4ch;
    margin: 0 .05em;
    padding: 0 .1em;
    border-bottom: .08em solid var(--app-primary);
    color: var(--app-primary-text);
}

.learn-gap-ok { color: var(--app-correct); border-color: var(--app-correct); }
.learn-gap-bad { color: var(--bs-danger); border-color: var(--bs-danger); }

.learn-mistake .learn-gap { border-bottom-width: 2px; font-weight: 700; }

.learn-letters {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .75rem;
}

.learn-letters .btn {
    min-height: 4.5rem;
    border-radius: 1rem;
    border-width: 2px;
    font-size: 2.2rem;
    font-weight: 700;
    touch-action: manipulation;
}

/* ------------------------------------------------------------------ fractions quiz */

/* A fraction written as numerator over denominator. */
.frac {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    vertical-align: middle;
    margin: 0 .12em;
    font-size: .8em;
    line-height: 1.15;
}
.frac > span:first-child { padding: 0 .2em; border-bottom: .09em solid currentColor; }
.frac > span:last-child { padding: 0 .2em; }

.learn-letters-3 { grid-template-columns: repeat(3, 1fr); }

/* ------------------------------------------------------------------ English flashcards */

.learn-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    width: 100%;
    min-height: 16rem;
    padding: 1.5rem 1rem;
    border: 2px solid var(--app-border);
    border-radius: 1.25rem;
    background: var(--app-surface);
    color: inherit;
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .06);
    transition: border-color .2s ease, transform .2s ease;
    touch-action: manipulation;
}

.learn-card:focus-visible { outline: 3px solid var(--app-primary); outline-offset: 3px; }
.learn-card-turned { border-color: var(--app-primary); }

.learn-card-emoji { font-size: 4.5rem; line-height: 1.1; }
.learn-card-word { font-size: clamp(1.8rem, 8vw, 2.6rem); font-weight: 700; }

.learn-card-back {
    font-size: clamp(1.8rem, 8vw, 2.6rem);
    font-weight: 700;
    color: var(--app-primary-text);
}

.learn-card-hint { font-size: .9rem; color: var(--bs-secondary-color); }

#fcGrade .btn { font-size: 1.4rem; }

@media (prefers-reduced-motion: no-preference) {
    .learn-card-turned { transform: scale(1.02); }
}

/* ------------------------------------------------------------------ landing pages /nauka/{slug} */

.learn-topic { max-width: 48rem; }
.learn-topic .lead { max-width: 65ch; }

.learn-tips { padding-left: 1.2rem; max-width: 65ch; }
.learn-tips li + li { margin-top: .35rem; }

.learn-topic-links {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
    gap: .35rem 1.5rem;
    padding-left: 1.2rem;
}

/* ------------------------------------------------------------------ memory game */

.learn-memory {
    max-width: 44rem;
    margin: 0 auto;
}

/* The board sits in the same panel as the sudoku, word search and crossword (--game-panel, --game-frame) and its cards are white,
   so it stays readable on a dark page. */
.learn-board {
    display: grid;
    grid-template-columns: repeat(var(--cols, 4), 1fr);
    gap: .6rem;
    margin-top: 1rem;
    padding: .75rem;
    border: 2px solid var(--game-frame);
    border-radius: .75rem;
    background: var(--game-panel);
}

@media (max-width: 575.98px) {
    .learn-board { grid-template-columns: repeat(4, 1fr); gap: .45rem; }
}

.learn-card-mem {
    position: relative;
    aspect-ratio: 3 / 4;
    max-width: 100%;
    padding: 0;
    border: 2px solid #adb5bd;
    border-radius: .9rem;
    background: #fff;
    color: #212529;
    cursor: pointer;
    touch-action: manipulation;
    transition: transform .25s ease, border-color .2s ease, background-color .2s ease;
}

.learn-card-mem:focus-visible { outline: 3px solid var(--app-primary); outline-offset: 2px; }

.learn-card-mem .back,
.learn-card-mem .face {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: .25rem;
    text-align: center;
}

/* Back side: the theme's primary colour with a big question mark. */
.learn-card-mem .back {
    border-radius: calc(.9rem - 2px);
    background: var(--app-primary);
    color: var(--app-primary-fg);
    font-size: clamp(1.4rem, 5vw, 2.2rem);
    font-weight: 700;
}

.learn-card-mem .face { visibility: hidden; font-size: clamp(1.8rem, 7vw, 3rem); line-height: 1.1; }
.learn-card-mem .face.word { font-size: clamp(.85rem, 3.2vw, 1.25rem); font-weight: 700; overflow-wrap: anywhere; }

.learn-card-mem.up { transform: rotateY(0); border-color: var(--app-primary); }
.learn-card-mem.up .back { visibility: hidden; }
.learn-card-mem.up .face { visibility: visible; }

.learn-card-mem.found {
    border-color: #198754;
    background: #d1e7dd;
    cursor: default;
}

@media (prefers-reduced-motion: no-preference) {
    .learn-card-mem.up { animation: learn-flip .25s ease; }
    @keyframes learn-flip { from { transform: rotateY(90deg); } to { transform: rotateY(0); } }
}

/* ------------------------------------------------------------------ geography quiz */

.learn-geo-question {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .6rem;
    margin: 1.5rem 0 .5rem;
    text-align: center;
}

.learn-geo-ask { font-size: 1.15rem; color: var(--bs-secondary-color); }

.learn-geo-prompt {
    font-size: clamp(1.6rem, 7vw, 2.4rem);
    font-weight: 700;
    line-height: 1.2;
    max-width: 40rem;
}

.learn-geo-prompt.learn-geo-long { font-size: clamp(1.15rem, 4.5vw, 1.5rem); font-weight: 600; }

.learn-flag {
    height: clamp(6rem, 28vw, 9rem);
    width: auto;
    max-width: 100%;
    border: 1px solid var(--app-border);
    border-radius: .35rem;
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .08);
}

.learn-flag-small {
    height: 1.4rem;
    width: auto;
    margin-right: .5rem;
    vertical-align: -.2rem;
    border: 1px solid var(--app-border);
}

.learn-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .75rem;
}

@media (max-width: 575.98px) {
    .learn-options { grid-template-columns: 1fr; }
}

.learn-options .btn {
    display: flex;
    align-items: center;
    gap: .75rem;
    min-height: 4rem;
    padding: .6rem 1rem;
    border-width: 2px;
    border-radius: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: left;
    touch-action: manipulation;
}

.learn-option-key {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.8rem;
    height: 1.8rem;
    border: 1px solid currentColor;
    border-radius: 50%;
    font-size: .9rem;
    opacity: .7;
}

.learn-geo-mistake { font-size: 1rem; }

/* Category search with suggestions (category-picker.js) */
.category-picker { position: relative; }

.category-picker-list {
    position: absolute;
    z-index: 1050;
    left: 0;
    right: 0;
    max-height: min(24rem, 60vh);
    margin: .25rem 0 0;
    overflow-y: auto;
    background: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
    box-shadow: var(--bs-box-shadow);
}

.category-picker-item {
    padding: .45rem .75rem;
    cursor: pointer;
}

.category-picker-item.active,
.category-picker-item:hover { background: var(--bs-primary-bg-subtle); }

.category-picker-item[aria-selected="true"] .category-picker-name { font-weight: 600; }

.category-picker-empty { padding: .45rem .75rem; color: var(--bs-secondary-color); }

/* Online test: a question scrolled to on a phone (test-online.js) keeps a little space above it. */
#publicTest fieldset, #publicTest button[type="submit"] { scroll-margin-top: .75rem; }

/* Formula cheat sheets (/nauka/wzory): label on the left, formula and note on the right; print drops the chrome. */
.formula-list { margin: 0; }
.formula-item { display: grid; grid-template-columns: minmax(10rem, 1fr) 2fr; gap: .25rem 1rem; padding: .4rem 0; border-bottom: 1px solid var(--bs-border-color); break-inside: avoid; }
.formula-item dt { font-weight: 500; }
.formula-item dd { margin: 0; }
.formula-note { display: block; }
@media (max-width: 575.98px) { .formula-item { grid-template-columns: 1fr; } }
@media print {
    .no-print, header, footer, nav.navbar { display: none !important; }
    .formula-section { break-inside: avoid-page; }
}

/* Drawings next to the formulas (FormulaFigures): .f filled shape, .l line, .d dashed guide, .a arrow. */
.formula-figure { display: block; width: 100%; max-width: 210px; height: auto; margin-bottom: .35rem; color: var(--bs-body-color); }
.formula-figure .f { fill: rgba(13, 110, 253, .14); stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; }
.formula-figure .l { fill: none; stroke: currentColor; stroke-width: 1.5; }
.formula-figure .d { fill: none; stroke: currentColor; stroke-width: 1.2; stroke-dasharray: 4 3; }
.formula-figure .a { stroke-width: 1.8; }
.formula-figure text { fill: currentColor; font-size: 11px; font-style: italic; text-anchor: middle; }
.formula-figure text.sm { font-size: 8.5px; }

/* Periodic table (elements 1–36) and solubility table of the Chemistry sheet. */
.periodic-scroll { overflow-x: auto; }
.periodic { display: grid; grid-template-columns: repeat(18, minmax(2.2rem, 1fr)); grid-template-rows: repeat(7, auto) .6rem repeat(2, auto); gap: 2px; min-width: 42rem; }
.periodic-cell { display: flex; flex-direction: column; align-items: center; padding: .15rem .1rem; border: 1px solid var(--bs-border-color); border-radius: .25rem; line-height: 1.15; text-align: center; color: #1b1b1b; }
.periodic-z, .periodic-mass { font-size: .62rem; }
.periodic-symbol { font-size: 1rem; font-weight: 700; }
.periodic-name { font-size: .58rem; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.periodic-label { align-self: center; padding-right: .5rem; text-align: right; font-size: .75rem; color: var(--bs-secondary-color); }
.periodic-cell.unassigned, .periodic-key.unassigned { background: #e9ecef; }
.periodic-cell.metal, .periodic-key.metal { background: #cfe2ff; }
.periodic-cell.metalloid, .periodic-key.metalloid { background: #e2d9f3; }
.periodic-cell.nonmetal, .periodic-key.nonmetal { background: #d1e7dd; }
.periodic-cell.noble, .periodic-key.noble { background: #fff3cd; }
.periodic-legend { margin-top: .5rem; }
.periodic-key { display: inline-block; padding: 0 .5rem; margin-right: .25rem; border: 1px solid var(--bs-border-color); border-radius: .25rem; color: #1b1b1b; }

.solubility { border-collapse: collapse; margin: 0 auto; }
.solubility th, .solubility td { border: 1px solid var(--bs-border-color); padding: .25rem .5rem; text-align: center; min-width: 2.4rem; }
.solubility thead th, .solubility tbody th { background: var(--bs-tertiary-bg); font-weight: 600; }
.solubility .sol-r { background: #d1e7dd; color: #1b1b1b; }
.solubility .sol-s { background: #fff3cd; color: #1b1b1b; }
.solubility .sol-t { background: #f8d7da; color: #1b1b1b; }
.solubility .sol-x { background: var(--bs-secondary-bg); }
@media print { .periodic { min-width: 0; } .periodic-scroll { overflow: visible; } }

/* ------------------------------------------------------------------ streak, badges, dictation */

.learn-streak {
    margin-bottom: 1.5rem;
    padding: .9rem 1.1rem;
    border: 1px solid var(--bs-border-color);
    border-radius: .75rem;
    background: var(--bs-body-bg);
}

.learn-streak-head { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; align-items: baseline; margin-bottom: .5rem; }

.learn-badges { display: flex; flex-wrap: wrap; gap: .4rem; }
.learn-badge { font-size: 1.6rem; line-height: 1; cursor: default; }
.learn-badge-off { filter: grayscale(1); opacity: .3; }

.learn-toast {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 1080;
    max-width: calc(100vw - 2rem);
    padding: .8rem 1.1rem;
    border-radius: .75rem;
    background: var(--bs-body-color);
    color: var(--bs-body-bg);
    font-weight: 600;
    box-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, .25);
    transition: opacity .5s;
}
.learn-toast-out { opacity: 0; }

.learn-dictation { display: flex; flex-direction: column; align-items: center; gap: .75rem; }
.learn-dictation input[type="text"] { max-width: 22rem; text-align: center; font-size: 1.6rem; }
.learn-speak { font-size: 1.1rem; }

/* ------------------------------------------------------------------ class duel */

.duel-code, .duel-code-big { font-family: var(--bs-font-monospace); letter-spacing: .15em; }
.duel-code-big { font-size: 1.6rem; }

/* Panel behind the game boards (sudoku, word search, crossword, Demo): a little lighter than the page of the chosen theme, so the board stands out; the cells stay white. */
:root {
    --game-panel: color-mix(in srgb, var(--bs-body-bg) 88%, #fff);
    --game-frame: color-mix(in srgb, var(--bs-body-color) 40%, transparent);
}

/* Sample games on the Demo page (static pictures of a sudoku, a word search and a crossword). */
.demo-grid { border-collapse: collapse; margin: 0 auto; }
.demo-board { padding: .75rem; border: 2px solid var(--game-frame); border-radius: .75rem; background: var(--game-panel); overflow-x: auto; }
.demo-grid td { border: 1px solid #adb5bd; background: #fff; color: #212529; text-align: center; vertical-align: middle; font-variant-numeric: tabular-nums; }
.demo-sudoku td { width: 2.1rem; height: 2.1rem; font-size: 1.15rem; }
.demo-sudoku td.bl { border-left: 2px solid #212529; }
.demo-sudoku td.bt { border-top: 2px solid #212529; }
.demo-sudoku td.br { border-right: 2px solid #212529; }
.demo-sudoku td.bb { border-bottom: 2px solid #212529; }
.demo-sudoku .given { font-weight: 700; }
.demo-grid .solved { color: #198754; font-weight: 600; }
.demo-wordsearch td { width: 1.75rem; height: 1.75rem; font-weight: 600; font-size: .95rem; }
.demo-wordsearch td.hit { background: #ffe69c; border-radius: .35rem; }

/* Status of a student's tab on the teacher's screen of a class duel (Pages/Duels/Live, duel-live.js). */
.duel-dot { display: inline-block; width: .8rem; height: .8rem; margin-right: .45rem; border-radius: 50%; vertical-align: middle; }
.duel-dot-active { background: #198754; }
.duel-dot-idle { background: #ffc107; }
.duel-dot-away { background: #dc3545; }

/* The simulated duel for visitors (Pages/Duels/Demo, duel-demo.js): nothing in it can be clicked; the button the "teacher" is about to press glows. */
.duel-demo { pointer-events: none; user-select: none; -webkit-user-select: none; }
.duel-press { box-shadow: 0 0 0 .4rem rgba(25, 135, 84, .4); transition: box-shadow .2s; }

/* Nauka hub: "continue" and the child's grade (site.js). */
.learn-continue { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: .5rem 0 1rem; padding: .6rem .9rem; border-radius: .75rem; background: var(--bs-tertiary-bg); font-weight: 600; }
.learn-grade-picker { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem; margin: .25rem 0 .5rem; }
.learn-grade-picker .btn { min-width: 2rem; padding-left: .4rem; padding-right: .4rem; }

/* Class duel: the part of the ranking a student sees after the end (duel.js) – a short list in the middle of the box. */
.duel-results .duel-top { display: inline-block; margin: .25rem 0 0; padding-left: 1.6rem; text-align: left; }

/* Codes of game boards (sudoku, word search): the line with the code and "copy link", the "have a code?" form. */
.learn-code-line { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-bottom: .5rem; font-size: .9rem; }
.learn-code { font-family: var(--bs-font-monospace); letter-spacing: .05em; }
.learn-code-form { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.learn-code-form .form-control { width: 9rem; text-transform: uppercase; font-family: var(--bs-font-monospace); }

/* QR code to join a class duel on the teacher's screen (Pages/Duels/Live, Demo): white tile so that it scans in every theme. */
.duel-qr-box { width: 9rem; flex: none; }
.duel-qr svg { display: block; width: 100%; height: auto; padding: .35rem; border-radius: .5rem; background: #fff; box-sizing: border-box; }
.duel-qr-box.duel-qr-big { width: min(26rem, 100%); }

/* A duel with the teacher's own questions: the question's image (Pages/Learn/DuelQuestions) and the bank to choose from (Pages/Duels/Index). */
.learn-own-image { max-width: 100%; max-height: 16rem; width: auto; border: 1px solid var(--app-border); border-radius: .35rem; }
.duel-own-bank { max-height: 26rem; overflow-y: auto; border: 1px solid var(--bs-border-color); border-radius: .5rem; padding: .5rem .75rem; }
.duel-own-category summary { padding: .2rem 0; }

/* The questions of an ended duel (Pages/Duels/Live): small flag, a score column wide enough for the bar. */
.duel-review-flag { height: 1.6rem; width: auto; border: 1px solid var(--bs-border-color); border-radius: .2rem; }
.duel-review-score { min-width: 9rem; }
