.he-test {
    --he-test-ink: #2b3550;
    --he-test-muted: #8891a8;
    --he-test-pink: #e2569a;
    --he-test-chip: #eef1fb;
    --he-test-border: #dbe1f5;
    --he-test-text-size: 20px;
    --he-test-caption-size: 15px;
    box-sizing: border-box;
    width: 100%;
    max-width: 420px;
    margin: 14px auto;
    color: var(--he-test-ink);
    font-family: 'Inter', sans-serif;
    font-size: var(--he-test-text-size);
    font-weight: 400;
    font-style: normal;
    line-height: 1.5;
    text-align: left;
}
.he-test *, .he-test *::before, .he-test *::after { box-sizing: border-box; }
.he-test [hidden] { display: none !important; }
.he-test p { padding: 0; margin: 0; color: inherit; font-family: inherit; }
.he-test :where(p, span, button, div) { font-family: 'Inter', sans-serif; font-weight: 400; }
.he-test button { font-family: inherit; text-transform: none; letter-spacing: normal; touch-action: manipulation; }
.he-test button:focus-visible { outline: 3px solid #2563eb; outline-offset: 3px; }
.he-test__bubble { position: relative; width: 100%; padding: 14px 16px 16px; border-radius: 22px 22px 6px 22px; background: #fff; box-shadow: 0 3px 14px #28325a1f; }
.he-test__brand { display: flex; align-items: center; gap: 7px; margin-bottom: 8px; color: var(--he-test-pink); font-size: var(--he-test-caption-size); font-weight: 400; }
.he-test__logo { display: block; width: 24px; height: 24px; flex: 0 0 24px; object-fit: contain; animation: he-test-logo-spin 24s linear infinite; }
@keyframes he-test-logo-spin { to { transform: rotate(360deg); } }
.he-test p.he-test__instructions { margin-bottom: 10px; font-size: var(--he-test-text-size); font-weight: 400; line-height: 1.5; }
.he-test p.he-test__tense { margin-bottom: 9px; font-size: var(--he-test-text-size); font-weight: 400; }
.he-test p.he-test__goal { margin-bottom: 12px; color: var(--he-test-pink); font-size: var(--he-test-caption-size); font-weight: 400; }
.he-test__game { position: relative; }
.he-test p.he-test__question { min-height: 46px; margin: 4px 0 10px; font-size: var(--he-test-text-size); font-weight: 400; font-style: normal; line-height: 1.5; overflow-wrap: anywhere; }
.he-test__stats { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; color: var(--he-test-muted); font-size: var(--he-test-text-size); font-weight: 400; }
.he-test__clock { color: var(--he-test-ink); font-size: var(--he-test-text-size); font-weight: 400; font-variant-numeric: tabular-nums; white-space: nowrap; }
.he-test__clock-target { color: var(--he-test-muted); font-size: var(--he-test-text-size); font-weight: 400; }
.he-test__progress { height: 3px; margin-bottom: 10px; overflow: hidden; border-radius: 2px; background: var(--he-test-border); }
.he-test__progress > div { width: 0; height: 100%; background: #2563eb; transition: width .3s linear; }
.he-test__lane { position: relative; height: 200px; overflow: hidden; border-radius: 14px; background: var(--he-test-chip); }
.he-test__finish { position: absolute; inset: 0 0 auto; height: 2px; background: var(--he-test-border); }
.he-test button.he-test__chip { position: absolute; display: flex; align-items: center; justify-content: center; min-height: 56px; margin: 0; padding: 6px 5px; border: 1px solid var(--he-test-border); border-radius: 11px; background: #fff; color: #33406b; font-size: var(--he-test-text-size); font-weight: 400; line-height: 1.2; text-align: center; white-space: normal; overflow-wrap: anywhere; cursor: pointer; user-select: none; box-shadow: 0 3px 0 var(--he-test-border), 0 4px 10px #28325a1f; transition: background .15s, border-color .15s, opacity .2s; }
.he-test button.he-test__chip:hover { border-color: #c3cdec; }
.he-test button.he-test__chip.is-right { background: #e8f5e9; color: #1b5e20; border-color: #2e7d32; box-shadow: 0 2px 0 #2e7d32; }
.he-test button.he-test__chip.is-wrong { background: #ffebee; color: #b71c1c; border-color: #e57373; box-shadow: 0 2px 0 #e57373; }
.he-test button.he-test__chip.is-fading { opacity: 0; }
.he-test__message { position: absolute; inset: 0; z-index: 3; display: flex; align-items: center; justify-content: center; padding: 8px; color: var(--he-test-ink); font-size: var(--he-test-text-size); font-weight: 400; text-align: center; pointer-events: none; opacity: 0; }
.he-test__message.is-visible { opacity: 1; }
.he-test__idle { position: absolute; inset: 0; z-index: 6; display: flex; align-items: center; justify-content: center; border-radius: 14px; background: #fff; font-size: var(--he-test-text-size); font-weight: 400; }
.he-test button.he-test__start { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin: 12px 0 0; padding: 12px 16px; border: 0; border-radius: 999px; background: var(--he-test-pink); color: #fff; font-size: var(--he-test-text-size); font-weight: 400; line-height: 1.4; cursor: pointer; }
.he-test button.he-test__start:disabled { opacity: .6; cursor: wait; }
.he-test button.he-test__start:active { transform: scale(.98); }
.he-test__play { width: 0; height: 0; border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-left: 8px solid #fff; }
.he-test button.he-test__restart { display: flex; align-items: center; justify-content: center; gap: 6px; width: fit-content; margin: 12px auto 0; padding: 8px 16px; border: 1px solid var(--he-test-border); border-radius: 999px; background: var(--he-test-chip); color: var(--he-test-ink); font-size: var(--he-test-text-size); font-weight: 400; line-height: 1.2; cursor: pointer; }
.he-test p.he-test__time { color: var(--he-test-pink); font-size: var(--he-test-caption-size); font-weight: 400; font-style: normal; line-height: 1.5; }
.he-test p.he-test__mistakes { margin: 3px 0 10px; color: var(--he-test-muted); font-size: var(--he-test-text-size); font-weight: 400; }
.he-test p.he-test__verdict { font-size: var(--he-test-text-size); font-weight: 400; line-height: 1.5; }
/* Match the actual dialog paragraph's mobile typography. */
@media screen and (max-width: 545px) { .he-test { --he-test-text-size: 13px; } }
@media (prefers-reduced-motion: reduce) { .he-test__logo { animation: none; } .he-test__progress > div, .he-test button.he-test__chip { transition: none; } }
