/* Participant experience. No build step, remote fonts or animation libraries. */
:root {
    color-scheme: light;
    --ink: #f7f9f9;
    --surface: #fff;
    --raised: #f4f7f7;
    --line: #e2eaea;
    --text: #1c333d;
    --muted: #64777e;
    --accent: #007f82;
    --accent-ink: #fff;
    --accent-soft: #e9f6f4;
    --accent-ring: #74baba;
    --orange: #f5a235;
    --violet: #9171bd;
    --danger: #b53b48;
    --danger-soft: #fff1f2;
    --radius: 28px;
    --radius-small: 16px;
    --tap: 56px;
}
@supports (color: color-mix(in srgb, red, blue)) {
    :root {
        --accent-soft: color-mix(in srgb, var(--accent) 8%, white);
        --accent-ring: color-mix(in srgb, var(--accent) 55%, white);
    }
}
*,
*::before,
*::after {
    box-sizing: border-box;
}
html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}
body {
    position: relative;
    isolation: isolate;
    margin: 0;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    background: var(--ink);
    color: var(--text);
    font-family:
        -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue',
        Arial, sans-serif;
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}
/* A fixed decorative layer keeps the motif stable as long mobile forms scroll.
   Opaque cards preserve contrast, and the layer never captures a tap. */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 50% 45%, #f7f9f959 10%, transparent 72%),
        url('../images/neural-background.svg') center / auto 100% no-repeat,
        radial-gradient(ellipse at 0% 0%, #ffca75cc, transparent 58%),
        radial-gradient(ellipse at 100% 40%, #58d0c5a6, transparent 65%),
        radial-gradient(ellipse at 5% 100%, #b495e4b3, transparent 58%),
        var(--ink);
}
button,
input,
textarea {
    font: inherit;
}
a,
button,
label,
input {
    -webkit-tap-highlight-color: transparent;
}
a {
    color: var(--accent);
}
.icon {
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
    vertical-align: middle;
}
.site-header {
    width: 100%;
    max-width: 1040px;
    margin: 0 auto;
    padding: calc(22px + env(safe-area-inset-top))
        max(22px, env(safe-area-inset-right)) 18px
        max(22px, env(safe-area-inset-left));
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 8px 14px;
}
.brand {
    display: block;
    flex-shrink: 0;
}
.brand__logo {
    display: block;
    width: auto;
    max-width: 235px;
    height: auto;
    max-height: 66px;
    object-fit: contain;
}
/* Sits beside the logo; drops under it when a wide logo leaves no room. */
.brand__caption {
    flex: 1 1 170px;
    max-width: 360px;
    margin: 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.45;
}
.page {
    width: 100%;
    max-width: 640px;
    flex: 1;
    margin: 0 auto;
    padding: 10px max(16px, env(safe-area-inset-right)) 28px
        max(16px, env(safe-area-inset-left));
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.page--top {
    justify-content: flex-start;
}
.card {
    padding: 26px 22px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 12px 48px -28px #17454b24;
    animation: enter 0.5s ease-out both;
    overflow-wrap: anywhere;
}
.card--center {
    text-align: center;
}
.site-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 20px calc(22px + env(safe-area-inset-bottom));
    color: var(--muted);
    font-size: 11px;
    letter-spacing: 0.06em;
}
.brand-dots {
    display: flex;
    gap: 4px;
}
.brand-dots i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}
.brand-dots i:first-child {
    background: var(--orange);
}
.brand-dots i:last-child {
    background: var(--violet);
}
.eyebrow {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 13px;
    color: var(--accent);
    font-size: 11px;
    line-height: 1.5;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}
.card--center .eyebrow {
    justify-content: center;
}
.title {
    margin: 0 0 14px;
    font-size: clamp(28px, 7.5vw, 36px);
    font-weight: 750;
    line-height: 1.13;
    letter-spacing: -0.04em;
    text-wrap: balance;
}
.lead {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.65;
}
.status-dot {
    display: inline-block;
    flex-shrink: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
}
.hero {
    padding: 0;
    overflow: hidden;
}
.hero__visual {
    position: relative;
    padding: 8px 22px 22px;
    background:
        linear-gradient(#f0f8f7d9, #f0f8f7ed),
        url('../images/neural-background.svg') center / 480px,
        #f0f8f7;
    text-align: center;
}
.hero__content {
    padding: 26px 24px 22px;
}
.hero__content .title {
    max-width: 390px;
    font-size: clamp(32px, 8.4vw, 42px);
}
.arena-heading {
    position: relative;
    max-width: 300px;
    margin: 0 auto 8px;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.35;
    letter-spacing: -0.02em;
    text-wrap: balance;
}
.arena-text {
    max-width: 340px;
    margin: 0 auto;
    font-size: 12px;
    line-height: 1.6;
    color: var(--muted);
}
.facts {
    display: flex;
    flex-wrap: wrap;
    gap: 9px 18px;
    margin: 20px 0 0;
    font-size: 12px;
    font-weight: 600;
}
.facts span {
    display: flex;
    align-items: center;
    gap: 7px;
}
.facts .icon {
    width: 17px;
    height: 17px;
    color: var(--accent);
}
.hero__note {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
}
.hero__note .icon {
    width: 13px;
    height: 13px;
}
/* The illustrated community is deliberately not a live player counter. */
.arena {
    position: relative;
    width: 100%;
    max-width: 340px;
    height: 222px;
    margin: 0 auto 20px;
}
.arena__orbit {
    position: absolute;
    border: 1px dashed #bad5d3;
    border-radius: 50%;
    left: 50%;
    top: 47%;
    transform: translate(-50%, -50%);
}
.arena__orbit--outer {
    width: 88%;
    height: 81%;
    transform: translate(-50%, -50%) rotate(-16deg);
}
.arena__orbit--inner {
    width: 58%;
    height: 69%;
    border-style: solid;
    opacity: 0.7;
    transform: translate(-50%, -50%) rotate(23deg);
}
.avatar {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}
.arena__person {
    position: absolute;
    width: 51px;
    height: 51px;
    border: 4px solid white;
    border-radius: 50%;
    box-shadow: 0 5px 16px #1d545010;
    animation: float 4.5s ease-in-out infinite;
}
.arena__person--one {
    left: 5%;
    top: 19%;
    --avatar-bg: #ffe7c6;
    --avatar-shirt: #b86e36;
    animation-delay: -0.8s;
}
.arena__person--two {
    right: 5%;
    top: 24%;
    --avatar-bg: #e9e1f4;
    --avatar-shirt: #8d72b5;
    animation-delay: -2s;
}
.arena__person--three {
    left: 22%;
    top: 3%;
    width: 43px;
    height: 43px;
    --avatar-bg: #dae9f7;
    --avatar-shirt: #597aa1;
    animation-delay: -1.3s;
}
.arena__person--four {
    right: 20%;
    bottom: 14%;
    --avatar-bg: #ffead1;
    --avatar-shirt: #c88b49;
    animation-delay: -0.3s;
}
.arena__person--five {
    left: 12%;
    bottom: 12%;
    width: 46px;
    height: 46px;
    --avatar-bg: #e6e2f5;
    --avatar-shirt: #8173a6;
    animation-delay: -1.7s;
}
.arena__you {
    position: absolute;
    left: 50%;
    top: 48%;
    width: 90px;
    height: 90px;
    transform: translate(-50%, -50%);
    border: 6px solid white;
    border-radius: 50%;
    box-shadow:
        0 0 0 1px #b9dad4,
        0 0 0 10px #d9eeea66,
        0 8px 24px #155f5b16;
    --avatar-bg: #cdeee8;
}
.arena__you > span {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 6px;
    bottom: -17px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--accent-ink);
    border: 3px solid white;
    border-radius: 20px;
    padding: 4px 13px;
    font-size: 12px;
    font-weight: 750;
    white-space: nowrap;
}
.arena__you .icon {
    width: 13px;
    height: 13px;
}
.arena__caption {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) rotate(-3deg);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 6px 12px;
    border: 1px solid #e7ddd0;
    border-radius: 8px;
    background: #fff9ee;
    color: #8c602b;
    font-size: 10px;
    font-weight: 650;
}
.arena__caption .status-dot {
    width: 5px;
    height: 5px;
}
.arena__spark {
    position: absolute;
    color: var(--orange);
}
.arena__spark--one {
    top: 4%;
    right: 27%;
    transform: rotate(12deg);
}
.arena__spark--two {
    left: 29%;
    bottom: 30%;
    color: var(--violet);
    transform: scale(0.6);
}
.arena__dot {
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #8dc8c2;
}
.arena__dot--one {
    top: 37%;
    left: 28%;
}
.arena__dot--two {
    right: 11%;
    bottom: 22%;
    background: var(--orange);
}
.arena__you > .avatar {
    animation: float 5.5s ease-in-out infinite;
}
/* Actions remain ordinary links and forms, including when JavaScript is off. */
.button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    min-height: var(--tap);
    margin-top: 24px;
    padding: 15px 20px;
    border: 0;
    border-radius: var(--radius-small);
    background: var(--accent);
    color: var(--accent-ink);
    font: inherit;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 5px 0 #123e4312;
    transition:
        transform 0.18s ease,
        filter 0.18s ease,
        box-shadow 0.18s ease;
}
.button .icon {
    width: 19px;
    height: 19px;
    transition: transform 0.2s ease;
}
.button:active {
    transform: translateY(2px) scale(0.99);
    box-shadow: none;
}
.button--quiet {
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--text);
    box-shadow: none;
}
.button:disabled,
.button.is-busy {
    opacity: 0.7;
    cursor: wait;
}
.button.is-busy .icon {
    display: none;
}
.button.is-busy::after {
    content: '';
    width: 18px;
    height: 18px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--accent-ring);
    outline-offset: 4px;
}
.journey {
    display: flex;
    justify-content: space-between;
    gap: 6px;
    margin: 0 4px 20px;
    color: var(--muted);
    font-size: 11px;
}
.journey span {
    display: flex;
    align-items: center;
    gap: 5px;
}
.journey b {
    display: grid;
    place-items: center;
    width: 23px;
    height: 23px;
    border: 1px solid var(--line);
    border-radius: 50%;
    font-size: 10px;
}
.journey .journey__current {
    color: var(--accent);
    font-weight: 700;
}
.journey__current b {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--accent-ink);
}
.section-symbol {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 18px;
    background: #f2ecfa;
    color: #8561a9;
    border-radius: 14px;
    transform: rotate(-5deg);
}
.form {
    margin-top: 25px;
}
.field + .field {
    margin-top: 19px;
}
.label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 700;
}
.input {
    display: block;
    width: 100%;
    min-height: var(--tap);
    padding: 14px 16px;
    border: 1.5px solid var(--line);
    border-radius: 13px;
    background: #fbfcfc;
    color: var(--text);
    font-size: 16px;
    transition:
        border-color 0.2s,
        background 0.2s;
}
.input::placeholder {
    color: #839198;
    opacity: 1;
}
.input:focus {
    border-color: var(--accent);
    background: white;
}
.input--invalid {
    border-color: var(--danger);
    background: var(--danger-soft);
}
.input--area {
    resize: vertical;
    min-height: 170px;
    line-height: 1.65;
}
.input-group {
    position: relative;
}
.input-group__prefix {
    position: absolute;
    top: 15px;
    left: 16px;
    color: var(--muted);
    pointer-events: none;
}
.input--prefixed {
    padding-left: 37px;
}
.hint {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.55;
}
.hint--center {
    text-align: center;
}
.error {
    margin: 8px 0 0;
    color: var(--danger);
    font-size: 13px;
}
.check {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 5px 0;
    font-size: 12px;
    line-height: 1.65;
    color: var(--muted);
    cursor: pointer;
}
.check__box {
    flex: 0 0 21px;
    width: 21px;
    height: 21px;
    margin: 2px 0 0;
    accent-color: var(--accent);
}
.notice {
    padding: 14px 18px;
    margin: 0 0 16px;
    background: var(--accent-soft);
    border: 1px solid var(--line);
    border-radius: 16px;
    font-size: 14px;
}
/* Question flow: content can grow freely, and images are never cropped. */
.question-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 3px;
    margin-bottom: 12px;
}
.progress__label {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
}
.question-status__pace {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--muted);
    font-size: 11px;
}
.question-status__pace .icon {
    width: 14px;
    height: 14px;
}
.progress {
    height: 6px;
    border-radius: 8px;
    background: #e1eaea;
    overflow: hidden;
    margin-bottom: 22px;
}
.progress__bar {
    height: 100%;
    border-radius: inherit;
    background: var(--accent);
    transform-origin: left;
    animation: progress-in 0.7s ease-out both;
}
.question-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 23px;
}
.question-heading .eyebrow {
    margin: 0;
    font-size: 10px;
    letter-spacing: 0.07em;
}
.question-heading > .icon {
    margin-left: auto;
    color: var(--violet);
    width: 20px;
    height: 20px;
}
.question-number {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--accent-soft);
    border: 1px solid var(--line);
    color: var(--text);
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
.question {
    margin: 0;
    font-size: clamp(22px, 5.7vw, 28px);
    line-height: 1.4;
    font-weight: 700;
    letter-spacing: -0.025em;
    white-space: pre-line;
    overflow-wrap: anywhere;
}
.question-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 18px;
    padding: 14px 16px;
    border-left: 3px solid var(--accent);
    border-radius: 0 12px 12px 0;
    background: var(--raised);
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
}
.question-note > .icon {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    flex-shrink: 0;
    color: var(--accent);
}
.question-note p {
    min-width: 0;
    margin: 0;
    white-space: pre-line;
    overflow-wrap: anywhere;
}
.question__image {
    display: block;
    max-width: 100%;
    width: auto;
    height: auto;
    max-height: 540px;
    margin: 22px auto 0;
    border-radius: 14px;
    object-fit: contain;
}
.options {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    border: 0;
    min-width: 0;
}
.option,
.picture {
    display: block;
    position: relative;
    min-width: 0;
    cursor: pointer;
}
.option__input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}
.option__body {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 66px;
    padding: 13px 14px;
    border: 1.5px solid var(--line);
    border-radius: 16px;
    background: #fcfdfd;
    font-size: 15px;
    transition:
        background 0.18s,
        border-color 0.18s,
        transform 0.18s;
}
.option__letter {
    display: grid;
    place-items: center;
    flex: 0 0 29px;
    width: 29px;
    height: 29px;
    border: 1px solid var(--line);
    border-radius: 9px;
    font-size: 12px;
    color: var(--muted);
    background: white;
    transition: background 0.18s;
}
.option__text {
    flex: 1;
    min-width: 0;
    overflow-wrap: anywhere;
    white-space: pre-line;
}
.option__check {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    border: 1.5px solid #c8d5d7;
    border-radius: 50%;
}
.option__check .icon {
    display: block;
    width: 15px;
    height: 15px;
    opacity: 0;
}
.option__input:checked + .option__body {
    background: var(--accent-soft);
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent);
}
.option__input:checked + .option__body .option__letter {
    background: var(--accent);
    color: var(--accent-ink);
    border-color: var(--accent);
}
.option__input:checked + .option__body .option__check {
    background: var(--accent);
    color: var(--accent-ink);
    border-color: var(--accent);
    animation: select-pop 0.25s ease-out;
}
.option__input:checked + .option__body .option__check .icon {
    opacity: 1;
}
.option__input:focus-visible + .option__body,
.option__input:focus-visible + .picture__frame {
    outline: 3px solid var(--accent-ring);
    outline-offset: 4px;
}
.pictures {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 12px;
}
.picture__frame {
    position: relative;
    display: block;
    border: 2px solid var(--line);
    border-radius: 16px;
    background: var(--raised);
    padding: 6px;
    transition:
        border-color 0.2s,
        background 0.2s;
}
.picture__image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: contain;
    border-radius: 9px;
}
.picture__number {
    position: absolute;
    top: 8px;
    left: 8px;
    display: grid;
    place-items: center;
    min-width: 25px;
    height: 25px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
    color: var(--text);
    font-size: 11px;
    font-weight: 700;
}
.picture__check {
    position: absolute;
    right: 8px;
    bottom: 8px;
    display: grid;
    place-items: center;
    width: 25px;
    height: 25px;
    background: var(--accent);
    color: var(--accent-ink);
    border-radius: 50%;
    opacity: 0;
}
.picture__check .icon {
    width: 17px;
    height: 17px;
}
.picture__caption {
    display: block;
    margin: 8px 2px 0;
    font-size: 13px;
    overflow-wrap: anywhere;
}
.option__input:checked + .picture__frame {
    border-color: var(--accent);
    background: var(--accent-soft);
    box-shadow: 0 0 0 1px var(--accent);
}
.option__input:checked + .picture__frame .picture__check {
    opacity: 1;
    animation: select-pop 0.25s ease-out;
}
.answer-actions {
    margin-top: 25px;
}
.answer-actions .button {
    margin-top: 0;
}
/* Completion has a short, finite celebration, never a flashing loop. */
.finish {
    padding-top: 38px;
    padding-bottom: 30px;
}
.celebration {
    position: relative;
    width: 220px;
    height: 170px;
    margin: 0 auto 20px;
}
.celebration__medal {
    position: absolute;
    top: 16px;
    left: 50%;
    margin-left: -58px;
    display: grid;
    place-items: center;
    width: 116px;
    height: 116px;
    background: #fff3dc;
    border: 1px solid #f4dfb8;
    border-radius: 38px;
    color: #bd7929;
    transform: rotate(-8deg);
    animation: medal 0.7s ease-out both;
    box-shadow: 0 0 0 12px #fffbf3;
}
.celebration__medal .icon {
    width: 55px;
    height: 55px;
}
.celebration__check {
    position: absolute;
    right: 43px;
    bottom: 26px;
    display: grid;
    place-items: center;
    width: 37px;
    height: 37px;
    background: var(--accent);
    color: var(--accent-ink);
    border: 4px solid white;
    border-radius: 50%;
}
.celebration__check .icon {
    width: 19px;
    height: 19px;
}
.celebration > i {
    position: absolute;
    left: calc(10% + var(--i) * 8%);
    top: 62px;
    width: 6px;
    height: 12px;
    background: var(--orange);
    border-radius: 3px;
    transform: rotate(calc(var(--i) * 37deg));
    animation: confetti 1.6s ease-out both;
    animation-delay: calc(var(--i) * 0.045s);
}
.celebration > i:nth-child(2n) {
    top: 25px;
    background: var(--violet);
}
.celebration > i:nth-child(3n) {
    top: 118px;
    background: #5dbcb2;
}
.finish__receipt {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: 26px;
    padding: 16px 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--raised);
    font-size: 13px;
}
.finish__check {
    display: grid;
    place-items: center;
    width: 23px;
    height: 23px;
    background: var(--accent);
    color: var(--accent-ink);
    border-radius: 50%;
}
.finish__check .icon {
    width: 15px;
    height: 15px;
}
.prose {
    margin-top: 15px;
    overflow-wrap: anywhere;
    font-size: 15px;
    line-height: 1.8;
}
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
@media (hover: hover) {
    .button:hover {
        filter: brightness(1.07);
        box-shadow: 0 7px 16px #123e431b;
    }
    .button:hover .icon {
        transform: translateX(3px);
    }
    .option:hover .option__body,
    .picture:hover .picture__frame {
        border-color: var(--accent);
    }
}
@media (min-width: 700px) {
    body::before {
        background-size: auto, cover, auto, auto, auto, auto;
    }
    .site-header {
        gap: 18px;
        padding-top: 32px;
        padding-bottom: 26px;
    }
    .brand__caption {
        font-size: 12px;
        line-height: 1.6;
    }
    .page {
        padding-top: 24px;
        padding-bottom: 46px;
    }
    .page--home {
        max-width: 1040px;
    }
    .hero {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .hero__visual {
        grid-column: 2;
        grid-row: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 40px 26px;
    }
    .hero__content {
        grid-column: 1;
        grid-row: 1;
        padding: 54px 40px;
        align-self: center;
    }
    .hero__content .title {
        font-size: clamp(36px, 4.4vw, 48px);
    }
    .arena {
        height: 280px;
        margin-bottom: 24px;
    }
    .arena__person {
        width: 61px;
        height: 61px;
    }
    .arena__person--three,
    .arena__person--five {
        width: 51px;
        height: 51px;
    }
    .arena__you {
        width: 108px;
        height: 108px;
    }
    .arena-heading {
        font-size: 21px;
    }
    .arena-text {
        font-size: 13px;
    }
    .card:not(.hero) {
        padding: 36px;
    }
    .journey {
        margin-bottom: 26px;
        font-size: 12px;
    }
    .journey b {
        width: 28px;
        height: 28px;
    }
}
@media (max-width: 359px) {
    .card:not(.hero) {
        padding: 22px 16px;
    }
    .hero__content {
        padding: 24px 20px;
    }
    .hero__visual {
        padding-left: 12px;
        padding-right: 12px;
    }
    .option__body {
        gap: 9px;
        padding: 12px 10px;
    }
    .journey {
        font-size: 10px;
    }
    .question-status__pace {
        font-size: 10px;
    }
}
@keyframes enter {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes float {
    0%,
    100% {
        transform: translateY(0) rotate(-3deg);
    }
    50% {
        transform: translateY(-7px) rotate(3deg);
    }
}
@keyframes progress-in {
    from {
        transform: scaleX(0.8);
        opacity: 0.6;
    }
    to {
        transform: scaleX(1);
        opacity: 1;
    }
}
@keyframes select-pop {
    0% {
        transform: scale(0.75);
    }
    70% {
        transform: scale(1.12);
    }
    100% {
        transform: scale(1);
    }
}
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
@keyframes medal {
    from {
        opacity: 0;
        transform: rotate(-16deg) scale(0.8);
    }
    to {
        opacity: 1;
        transform: rotate(-8deg) scale(1);
    }
}
@keyframes confetti {
    from {
        opacity: 0;
        translate: 0 -18px;
    }
    30% {
        opacity: 1;
    }
    to {
        opacity: 1;
        translate: 0 0;
    }
}
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

/* Choose a physician once; the same portrait follows the participant. */
.avatar-picker {
    margin: 0 0 24px;
    padding: 0;
    border: 0;
    min-width: 0;
}
.avatar-picker .hint {
    margin: 0;
}
.avatar-picker__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 15px;
}
.avatar-choice {
    position: relative;
    display: block;
    cursor: pointer;
}
.avatar-choice__input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}
.avatar-choice__portrait {
    position: relative;
    display: block;
    padding: 7px;
    border: 2px solid var(--line);
    border-radius: 21px;
    background: var(--raised);
    transition:
        border-color 0.2s,
        background 0.2s;
}
.avatar-choice__portrait > .avatar {
    max-width: 88px;
    margin: auto;
}
.avatar-choice__check {
    position: absolute;
    right: 3px;
    bottom: 3px;
    display: grid;
    place-items: center;
    width: 23px;
    height: 23px;
    border: 2px solid white;
    border-radius: 50%;
    background: var(--accent);
    color: var(--accent-ink);
    opacity: 0;
}
.avatar-choice__check .icon {
    width: 14px;
    height: 14px;
}
.avatar-choice__input:checked + .avatar-choice__portrait {
    border-color: var(--accent);
    background: var(--accent-soft);
    box-shadow: 0 0 0 1px var(--accent);
}
.avatar-choice__input:checked + .avatar-choice__portrait .avatar-choice__check {
    opacity: 1;
}
.avatar-choice__input:focus-visible + .avatar-choice__portrait {
    outline: 3px solid var(--accent-ring);
    outline-offset: 3px;
}
.question-avatar {
    display: block;
    width: 32px;
    height: 32px;
    border: 2px solid white;
    border-radius: 50%;
}
/* Results show participant names, portraits and total scores. */
.page--done {
    gap: 20px;
}
.page--done .celebration {
    height: 135px;
    margin-bottom: 10px;
}
.page--done .celebration__medal {
    width: 92px;
    height: 92px;
    margin-left: -46px;
    border-radius: 30px;
}
.page--done .celebration__medal .icon {
    width: 44px;
    height: 44px;
}
.page--done .celebration__check {
    right: 53px;
    bottom: 15px;
}
.page--done .finish {
    padding-top: 24px;
}
.page--done .finish__receipt {
    justify-content: flex-start;
    gap: 12px;
    text-align: left;
}
.finish__receipt strong {
    font-size: 12px;
}
.finish__identity {
    min-width: 0;
    overflow-wrap: anywhere;
}
.finish__receipt > .finish__check {
    margin-left: auto;
    flex-shrink: 0;
}
.finish__avatar {
    width: 43px;
    height: 43px;
    flex-shrink: 0;
}
.leaderboard__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.leaderboard__heading .eyebrow {
    margin-bottom: 5px;
    font-size: 10px;
}
.leaderboard h2 {
    margin: 0;
    font-size: clamp(23px, 6vw, 29px);
    line-height: 1.2;
    letter-spacing: -0.035em;
}
.leaderboard__trophy {
    display: grid;
    place-items: center;
    flex: 0 0 43px;
    height: 43px;
    border-radius: 14px;
    color: #ac6a10;
    background: #ffefcf;
    transform: rotate(7deg);
}
.leaderboard__intro {
    margin-top: 14px;
}
.leaderboard__list {
    display: grid;
    gap: 9px;
    margin: 21px 0 0;
    padding: 0;
    list-style: none;
}
.leaderboard__row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 10px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fbfcfc;
}
.leaderboard__row:first-child {
    border-color: #ebcf96;
    background: #fff7e6;
}
.leaderboard__row--you {
    box-shadow: inset 3px 0 0 var(--accent);
}
.leaderboard__place {
    width: 20px;
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 800;
    color: var(--muted);
    text-align: center;
}
.leaderboard__row:first-child .leaderboard__place {
    color: #a66a17;
}
.leaderboard__avatar {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
}
.leaderboard__name {
    flex: 1;
    min-width: 0;
    font-size: 12px;
    font-weight: 650;
    overflow-wrap: anywhere;
}
.leaderboard__you {
    display: block;
    width: fit-content;
    margin-top: 3px;
    padding: 1px 7px;
    background: var(--accent);
    color: var(--accent-ink);
    border-radius: 6px;
    font-size: 9px;
}
.leaderboard__score {
    flex-shrink: 0;
    text-align: right;
}
.leaderboard__score strong {
    display: block;
    font-size: 18px;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
}
.leaderboard__score small {
    color: var(--muted);
    font-size: 11px;
    font-weight: 500;
}
.leaderboard__score > span {
    color: var(--muted);
    font-size: 9px;
}
@media (max-width: 359px) {
    .leaderboard__row {
        gap: 6px;
        padding: 11px 8px;
    }
    .leaderboard__avatar {
        width: 36px;
        height: 36px;
    }
    .leaderboard__name {
        font-size: 11px;
    }
}
