/*
=========================================================
YD COMMERCIAL CLEANING
CLEANING CHALLENGE — PHASE 2
=========================================================
*/

.cleaning-game {
    --game-bg: #f4f7f6;
    --game-surface: #ffffff;
    --game-surface-soft: #eef4f2;
    --game-text: #10211d;
    --game-text-soft: #64736f;
    --game-border: rgba(16, 33, 29, 0.10);
    --game-primary: #123d35;
    --game-primary-dark: #092b25;
    --game-accent: #7ec8a5;
    --game-success: #16805a;
    --game-danger: #c84d4d;
    --game-shadow:
        0 24px 70px rgba(16, 33, 29, 0.10);

    min-height: 760px;

    overflow: hidden;

    color: var(--game-text);

    background:
        radial-gradient(
            circle at 15% 15%,
            rgba(126, 200, 165, 0.16),
            transparent 32%
        ),
        radial-gradient(
            circle at 90% 80%,
            rgba(18, 61, 53, 0.08),
            transparent 34%
        ),
        var(--game-bg);
}


.cleaning-game *,
.cleaning-game *::before,
.cleaning-game *::after {
    box-sizing: border-box;
}


.cleaning-game button,
.cleaning-game a {
    -webkit-tap-highlight-color: transparent;
}


/* =====================================================
   ACCESSIBILITY
===================================================== */

.cleaning-game button:focus-visible,
.cleaning-game a:focus-visible {
    outline:
        3px solid
        rgba(126, 200, 165, 0.85);

    outline-offset: 4px;
}


.cleaning-game .sr-only {
    position: absolute !important;

    width: 1px !important;
    height: 1px !important;

    padding: 0 !important;
    margin: -1px !important;

    overflow: hidden !important;

    clip: rect(0, 0, 0, 0) !important;

    white-space: nowrap !important;

    border: 0 !important;
}


/* =====================================================
   SCREENS
===================================================== */

.game-screen {
    min-height: 760px;

    padding:
        72px 24px;
}


.game-shell {
    width:
        min(1180px, 100%);

    margin: 0 auto;
}


/* =====================================================
   INTRO
===================================================== */

.game-intro-grid {
    min-height: 610px;

    display: grid;

    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(360px, 0.95fr);

    align-items: center;

    gap: 90px;
}


.game-eyebrow,
.result-kicker {
    display: inline-flex;

    align-items: center;

    gap: 9px;

    color:
        var(--game-primary);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 0.16em;

    text-transform: uppercase;
}


.game-eyebrow-dot {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background:
        var(--game-accent);

    box-shadow:
        0 0 0 5px
        rgba(126, 200, 165, 0.16);
}


.game-intro-copy h1 {
    max-width: 720px;

    margin:
        22px 0 24px;

    font-size:
        clamp(48px, 6vw, 82px);

    line-height: 0.98;

    letter-spacing: -0.055em;

    font-weight: 800;
}


.game-intro-copy h1 span {
    display: block;

    color:
        var(--game-primary);
}


.game-intro-description {
    max-width: 610px;

    margin: 0;

    color:
        var(--game-text-soft);

    font-size: 18px;

    line-height: 1.75;
}


.game-intro-actions {
    margin-top: 38px;
}


/* =====================================================
   BUTTONS
===================================================== */

.game-button {
    min-height: 56px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 14px;

    padding:
        0 24px;

    border: 0;

    border-radius: 15px;

    font: inherit;

    font-size: 14px;

    font-weight: 800;

    letter-spacing: -0.01em;

    text-decoration: none;

    cursor: pointer;

    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        background 180ms ease,
        border-color 180ms ease;
}


.game-button svg {
    width: 19px;
    height: 19px;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.8;

    stroke-linecap: round;

    stroke-linejoin: round;
}


.game-button:hover {
    transform:
        translateY(-2px);
}


.game-button:active {
    transform:
        translateY(0);
}


.game-button-primary {
    color: #ffffff;

    background:
        var(--game-primary);

    box-shadow:
        0 14px 32px
        rgba(18, 61, 53, 0.20);
}


.game-button-primary:hover {
    background:
        var(--game-primary-dark);

    box-shadow:
        0 18px 38px
        rgba(18, 61, 53, 0.26);
}


.game-button-secondary {
    color:
        var(--game-primary);

    background:
        rgba(255, 255, 255, 0.72);

    border:
        1px solid
        var(--game-border);
}


.game-button-secondary:hover {
    background: #ffffff;
}


/* =====================================================
   INTRO META
===================================================== */

.game-meta {
    display: flex;

    align-items: center;

    gap: 15px;

    margin-top: 22px;

    color:
        var(--game-text-soft);

    font-size: 12px;
}


.game-status-message {
    padding: 12px 14px;
    margin: 14px 0 0;
    border: 1px solid rgba(200, 77, 77, 0.22);
    border-radius: 10px;
    background: rgba(200, 77, 77, 0.07);
    color: #983737;
    font-size: 13px;
    line-height: 1.5;
}


.game-meta strong {
    color:
        var(--game-text);
}


.game-meta-divider {
    width: 4px;
    height: 4px;

    border-radius: 50%;

    background:
        #aab6b2;
}


/* =====================================================
   INTRO VISUAL
===================================================== */

.game-intro-visual {
    position: relative;

    display: grid;

    place-items: center;

    min-height: 520px;
}


.challenge-orbit {
    position: absolute;

    border:
        1px solid
        rgba(18, 61, 53, 0.08);

    border-radius: 50%;
}


.challenge-orbit-one {
    width: 470px;
    height: 470px;
}


.challenge-orbit-two {
    width: 350px;
    height: 350px;
}


.challenge-visual-card {
    position: relative;

    z-index: 2;

    width:
        min(380px, 100%);

    min-height: 440px;

    padding: 28px;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    border:
        1px solid
        rgba(255, 255, 255, 0.72);

    border-radius: 30px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.98),
            rgba(235, 244, 240, 0.94)
        );

    box-shadow:
        var(--game-shadow);

    transform:
        rotate(2deg);

    transition:
        transform 400ms
        cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 300ms ease;
}


.game-intro-visual:hover
.challenge-visual-card {
    transform:
        rotate(0deg)
        translateY(-5px);

    box-shadow:
        0 30px 80px
        rgba(16, 33, 29, 0.14);
}


.visual-card-top {
    display: flex;

    align-items: center;

    justify-content: space-between;
}


.visual-status {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding:
        8px 11px;

    border-radius: 999px;

    background:
        rgba(126, 200, 165, 0.16);

    color:
        var(--game-success);

    font-size: 10px;

    font-weight: 900;

    letter-spacing: 0.12em;
}


.visual-status span {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background:
        var(--game-success);
}


.visual-number {
    color:
        #8a9894;

    font-size: 12px;

    font-weight: 800;
}


.visual-cleaning-icon {
    width: 112px;
    height: 112px;

    display: grid;

    place-items: center;

    margin: auto;

    border-radius: 50%;

    background:
        var(--game-primary);

    box-shadow:
        0 20px 40px
        rgba(18, 61, 53, 0.20);
}


.visual-cleaning-icon svg {
    width: 58px;
    height: 58px;

    fill: none;

    stroke: #ffffff;

    stroke-width: 2;

    stroke-linecap: round;

    stroke-linejoin: round;
}


.visual-card-content span {
    display: block;

    margin-bottom: 10px;

    color:
        #82908c;

    font-size: 10px;

    font-weight: 900;

    letter-spacing: 0.15em;
}


.visual-card-content strong {
    display: block;

    font-size: 30px;

    line-height: 1.05;

    letter-spacing: -0.035em;
}


.visual-card-content p {
    margin:
        8px 0 0;

    color:
        var(--game-text-soft);
}


.visual-card-progress {
    display: flex;

    gap: 8px;

    margin-top: 24px;
}


.visual-card-progress span {
    height: 5px;

    flex: 1;

    border-radius: 99px;

    background:
        rgba(18, 61, 53, 0.12);
}


.visual-card-progress span:first-child {
    background:
        var(--game-primary);
}


/* =====================================================
   GAME HEADER
===================================================== */

.game-header {
    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 24px;

    margin-bottom: 26px;
}


.game-header-brand {
    margin-bottom: 8px;

    color:
        var(--game-primary);

    font-size: 11px;

    font-weight: 900;

    letter-spacing: 0.16em;
}


.game-progress-label {
    color:
        var(--game-text-soft);

    font-size: 14px;

    font-weight: 700;
}


.game-score-box {
    min-width: 105px;

    padding:
        12px 16px;

    border:
        1px solid
        var(--game-border);

    border-radius: 14px;

    background:
        rgba(255, 255, 255, 0.72);

    text-align: right;
}


.game-score-label {
    display: block;

    color:
        var(--game-text-soft);

    font-size: 9px;

    font-weight: 900;

    letter-spacing: 0.14em;
}


.game-score-box strong {
    display: block;

    margin-top: 2px;

    color:
        var(--game-primary);

    font-size: 24px;

    line-height: 1;

    font-variant-numeric:
        tabular-nums;
}


/* =====================================================
   PROGRESS
===================================================== */

.game-progress {
    margin-bottom: 28px;
}


.scenario-briefing {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    align-items: start;
    gap: 16px;
    padding: 20px 22px;
    margin-bottom: 34px;
    border: 1px solid rgba(18, 61, 53, 0.12);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 12px 28px rgba(16, 33, 29, 0.05);
}


.scenario-briefing-icon {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 14px;
    background: var(--game-primary);
    color: #ffffff;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.08em;
}


.scenario-briefing-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    margin-bottom: 7px;
}


.scenario-briefing-heading strong {
    color: var(--game-primary);
    font-size: 10px;
    letter-spacing: 0.12em;
}


.scenario-briefing-heading span {
    color: var(--game-text-soft);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.1em;
}


.scenario-briefing-copy p {
    max-width: 820px;
    margin: 0;
    color: var(--game-text);
    font-size: 14px;
    line-height: 1.65;
}


.game-progress-track {
    width: 100%;

    height: 6px;

    overflow: hidden;

    border-radius: 99px;

    background:
        rgba(18, 61, 53, 0.09);
}


.game-progress-fill {
    width: 0;

    height: 100%;

    border-radius: inherit;

    background:
        linear-gradient(
            90deg,
            var(--game-primary),
            var(--game-accent)
        );

    transition:
        width 450ms
        cubic-bezier(0.22, 1, 0.36, 1);
}


.game-progress-dots {
    display: flex;

    justify-content:
        space-between;

    margin-top: 12px;
}


.progress-dot {
    width: 9px;
    height: 9px;

    border:
        2px solid
        rgba(18, 61, 53, 0.18);

    border-radius: 50%;

    background:
        var(--game-bg);

    transition:
        background 180ms ease,
        border-color 180ms ease,
        transform 180ms ease;
}


.progress-dot.active {
    border-color:
        var(--game-primary);

    background:
        var(--game-primary);

    transform:
        scale(1.15);
}


.progress-dot.complete {
    border-color:
        var(--game-success);

    background:
        var(--game-success);
}


/* =====================================================
   QUESTION
===================================================== */

.question-layout {
    display: grid;

    grid-template-columns:
        80px
        minmax(0, 800px);

    gap: 35px;

    max-width: 950px;

    margin: 0 auto;
}


.question-number {
    padding-top: 7px;
}


.question-number span {
    display: block;

    color:
        rgba(18, 61, 53, 0.15);

    font-size: 54px;

    line-height: 1;

    font-weight: 900;

    letter-spacing: -0.06em;
}


.question-kicker {
    margin-bottom: 15px;

    color:
        var(--game-success);

    font-size: 10px;

    font-weight: 900;

    letter-spacing: 0.16em;
}


.question-content h2 {
    margin: 0;

    max-width: 800px;

    font-size:
        clamp(32px, 4vw, 50px);

    line-height: 1.08;

    letter-spacing: -0.045em;
}


.question-enter {
    animation:
        questionIn
        360ms
        ease both;
}


.answer-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 14px;

    margin-top: 36px;
}


.answer-button {
    position: relative;

    min-height: 76px;

    display: flex;

    align-items: center;

    gap: 15px;

    padding:
        17px 20px;

    border:
        1px solid
        var(--game-border);

    border-radius: 18px;

    background:
        rgba(255, 255, 255, 0.76);

    color:
        var(--game-text);

    font: inherit;

    font-size: 15px;

    font-weight: 700;

    text-align: left;

    cursor: pointer;

    transition:
        transform 180ms ease,
        border-color 180ms ease,
        background 180ms ease,
        box-shadow 180ms ease;
}


.answer-button:hover:not(:disabled) {
    transform:
        translateY(-2px);

    border-color:
        rgba(18, 61, 53, 0.25);

    background:
        #ffffff;

    box-shadow:
        0 12px 28px
        rgba(16, 33, 29, 0.08);
}


.answer-button:disabled {
    cursor: default;
}


.answer-button:disabled:not(
    .correct
):not(
    .incorrect
) {
    opacity: 0.68;
}


.answer-letter {
    width: 36px;
    height: 36px;

    flex:
        0 0 36px;

    display: grid;

    place-items: center;

    border-radius: 11px;

    background:
        var(--game-surface-soft);

    color:
        var(--game-primary);

    font-size: 12px;

    font-weight: 900;
}


.answer-button.correct {
    border-color:
        rgba(22, 128, 90, 0.35);

    background:
        rgba(22, 128, 90, 0.08);

    box-shadow:
        0 12px 30px
        rgba(22, 128, 90, 0.08);
}


.answer-button.correct .answer-letter {
    background:
        var(--game-success);

    color: #ffffff;
}


.answer-button.incorrect {
    border-color:
        rgba(200, 77, 77, 0.35);

    background:
        rgba(200, 77, 77, 0.07);
}


.answer-button.incorrect .answer-letter {
    background:
        var(--game-danger);

    color: #ffffff;
}


/* =====================================================
   FEEDBACK
===================================================== */

.answer-feedback {
    display: flex;

    gap: 15px;

    margin-top: 22px;

    padding: 20px;

    border:
        1px solid
        var(--game-border);

    border-radius: 18px;

    background:
        rgba(255, 255, 255, 0.75);

    animation:
        feedbackIn
        300ms
        ease both;
}


.feedback-icon {
    width: 38px;
    height: 38px;

    flex:
        0 0 38px;

    display: grid;

    place-items: center;

    border-radius: 12px;

    background:
        rgba(22, 128, 90, 0.10);

    color:
        var(--game-success);
}


.feedback-icon-svg {
    width: 21px;
    height: 21px;

    fill: none;

    stroke:
        currentColor;

    stroke-width: 2;

    stroke-linecap: round;

    stroke-linejoin: round;
}


.answer-feedback.is-incorrect
.feedback-icon {
    background:
        rgba(200, 77, 77, 0.10);

    color:
        var(--game-danger);
}


.feedback-copy {
    min-width: 0;
}


.feedback-copy strong {
    display: block;

    font-size: 14px;
}


.feedback-copy p {
    margin:
        5px 0 0;

    color:
        var(--game-text-soft);

    font-size: 13px;

    line-height: 1.6;
}


.feedback-tip {
    margin-top: 10px;

    padding:
        10px 12px;

    border-radius: 10px;

    background:
        var(--game-surface-soft);

    color:
        var(--game-text-soft);

    font-size: 12px;

    line-height: 1.6;
}


.feedback-tip strong {
    display: inline;

    color:
        var(--game-primary);
}


.question-actions {
    margin-top: 22px;

    animation:
        feedbackIn
        300ms
        ease both;
}


/* =====================================================
   RESULT
===================================================== */

.result-container {
    max-width: 760px;

    margin: 0 auto;

    padding:
        50px 0;

    text-align: center;
}


.result-kicker {
    justify-content:
        center;
}


.result-container h2 {
    margin:
        17px 0 10px;

    font-size:
        clamp(40px, 6vw, 64px);

    line-height: 1;

    letter-spacing: -0.055em;
}


.result-subtitle {
    margin: 0;

    color:
        var(--game-text-soft);

    line-height: 1.6;
}


.result-score {
    display: grid;

    place-items: center;

    margin:
        40px 0 22px;
}


.result-score-ring {
    position: relative;

    width: 190px;
    height: 190px;
}


.result-score-ring svg {
    width: 100%;
    height: 100%;

    transform:
        rotate(-90deg);
}


.score-ring-background,
.score-ring-progress {
    fill: none;

    stroke-width: 8;
}


.score-ring-background {
    stroke:
        rgba(18, 61, 53, 0.09);
}


.score-ring-progress {
    stroke:
        var(--game-primary);

    stroke-linecap: round;

    stroke-dasharray:
        427.3;

    stroke-dashoffset:
        427.3;

    transition:
        stroke-dashoffset
        1.1s
        cubic-bezier(
            0.22,
            1,
            0.36,
            1
        );
}


.score-ring-content {
    position: absolute;

    inset: 0;

    display: flex;

    align-items: center;

    justify-content: center;
}


.score-ring-content span {
    font-size: 52px;

    line-height: 1;

    font-weight: 900;

    letter-spacing: -0.06em;

    color:
        var(--game-primary);
}


.score-ring-content small {
    align-self:
        flex-end;

    margin:
        0 0 58px 4px;

    color:
        var(--game-text-soft);

    font-size: 13px;

    font-weight: 800;
}


.performance-badge {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 42px;

    padding:
        0 18px;

    border-radius: 999px;

    background:
        var(--game-primary);

    color:
        #ffffff;

    font-size: 12px;

    font-weight: 900;

    letter-spacing: 0.04em;

    transition:
        transform 180ms ease,
        box-shadow 180ms ease;
}


.performance-badge:hover {
    transform:
        translateY(-2px);

    box-shadow:
        0 12px 28px
        rgba(18, 61, 53, 0.10);
}


/* =====================================================
   RESULT STATS
===================================================== */

.result-stats {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 12px;

    margin-top: 30px;
}


.result-stat {
    padding:
        20px 14px;

    border:
        1px solid
        var(--game-border);

    border-radius: 17px;

    background:
        rgba(255, 255, 255, 0.72);

    transition:
        transform 180ms ease,
        box-shadow 180ms ease;
}


.result-stat:hover {
    transform:
        translateY(-2px);

    box-shadow:
        0 12px 28px
        rgba(16, 33, 29, 0.07);
}


.result-stat-label {
    display: block;

    margin-bottom: 7px;

    color:
        var(--game-text-soft);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}


.result-stat strong {
    color:
        var(--game-primary);

    font-size: 20px;
}


.result-stat-bonus strong {
    color:
        var(--game-success);
}


/* =====================================================
   RESULT PROFILE
===================================================== */

.result-profile {
    margin-top: 30px;

    padding:
        25px;

    border:
        1px solid
        var(--game-border);

    border-radius: 22px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.94),
            rgba(238, 244, 242, 0.90)
        );

    text-align: left;
}


.result-profile-label {
    color:
        var(--game-success);

    font-size: 10px;

    font-weight: 900;

    letter-spacing: 0.14em;
}


.result-profile h3 {
    margin:
        10px 0 8px;

    color:
        var(--game-primary);

    font-size:
        clamp(22px, 3vw, 30px);

    line-height: 1.15;

    letter-spacing:
        -0.03em;
}


.result-profile p {
    margin: 0;

    color:
        var(--game-text-soft);

    font-size: 14px;

    line-height: 1.7;
}


/* =====================================================
   RESULT TIP
===================================================== */

.result-tip {
    display: flex;

    gap: 14px;

    align-items: flex-start;

    margin-top: 14px;

    padding:
        18px;

    border:
        1px solid
        rgba(126, 200, 165, 0.35);

    border-radius: 18px;

    background:
        rgba(126, 200, 165, 0.10);

    text-align: left;
}


.result-tip-icon {
    width: 38px;
    height: 38px;

    flex:
        0 0 38px;

    display: grid;

    place-items: center;

    border-radius: 11px;

    background:
        rgba(255, 255, 255, 0.85);
}


.result-tip span {
    display: block;

    margin-bottom: 5px;

    color:
        var(--game-success);

    font-size: 10px;

    font-weight: 900;

    letter-spacing: 0.12em;
}


.result-tip p {
    margin: 0;

    color:
        var(--game-text-soft);

    font-size: 13px;

    line-height: 1.6;
}


/* =====================================================
   RESULT CTA
===================================================== */

.result-cta {
    margin-top: 16px;

    padding:
        22px;

    border-radius: 20px;

    background:
        var(--game-primary);

    color:
        #ffffff;

    text-align: left;
}


.result-cta span {
    display: block;

    margin-bottom: 7px;

    color:
        rgba(255, 255, 255, 0.65);

    font-size: 10px;

    font-weight: 900;

    letter-spacing: 0.12em;
}


.result-cta strong {
    display: block;

    max-width: 580px;

    font-size: 18px;

    line-height: 1.45;
}


.result-message {
    max-width: 560px;

    margin:
        28px auto 0;

    color:
        var(--game-text-soft);

    font-size: 14px;

    line-height: 1.7;
}


.result-actions {
    display: flex;

    justify-content:
        center;

    flex-wrap: wrap;

    gap: 12px;

    margin-top: 30px;
}


.result-footnote {
    margin:
        18px 0 0;

    color:
        #8a9894;

    font-size: 11px;

    line-height: 1.6;
}


/* =====================================================
   UTILITIES
===================================================== */

[hidden] {
    display: none !important;
}


@keyframes feedbackIn {

    from {
        opacity: 0;

        transform:
            translateY(10px);
    }

    to {
        opacity: 1;

        transform:
            translateY(0);
    }
}


@keyframes questionIn {

    from {
        opacity: 0;

        transform:
            translateY(16px);
    }

    to {
        opacity: 1;

        transform:
            translateY(0);
    }
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 900px) {

    .game-intro-grid {
        grid-template-columns: 1fr;

        gap: 40px;

        padding:
            35px 0;
    }


    .game-intro-visual {
        min-height: 420px;
    }


    .challenge-orbit-one {
        width: 390px;
        height: 390px;
    }


    .challenge-orbit-two {
        width: 300px;
        height: 300px;
    }


    .game-progress {
        margin-bottom: 28px;
    }


    .question-layout {
        grid-template-columns:
            55px
            minmax(0, 1fr);

        gap: 20px;
    }
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 640px) {

    .cleaning-game {
        min-height: 650px;
    }


    .game-screen {
        min-height: 650px;

        padding:
            42px 17px;
    }


    .game-intro-grid {
        min-height: auto;

        padding:
            20px 0 45px;
    }


    .game-intro-copy h1 {
        margin-top: 18px;

        font-size:
            clamp(42px, 14vw, 62px);
    }


    .game-intro-description {
        font-size: 15px;

        line-height: 1.65;
    }


    .game-intro-actions {
        margin-top: 28px;
    }


    .game-button {
        width: 100%;

        min-height: 54px;
    }


    .game-meta {
        justify-content:
            center;

        flex-wrap: wrap;

        font-size: 11px;
    }


    .game-intro-visual {
        min-height: 350px;
    }


    .challenge-orbit-one {
        width: 300px;
        height: 300px;
    }


    .challenge-orbit-two {
        width: 235px;
        height: 235px;
    }


    .challenge-visual-card {
        width:
            min(310px, 94%);

        min-height: 350px;

        padding: 22px;

        border-radius: 24px;
    }


    .visual-cleaning-icon {
        width: 85px;
        height: 85px;
    }


    .visual-cleaning-icon svg {
        width: 44px;
        height: 44px;
    }


    .visual-card-content strong {
        font-size: 25px;
    }


    .game-header {
        align-items: center;
    }


    .game-header-brand {
        font-size: 9px;
    }


    .game-progress-label {
        font-size: 12px;
    }


    .game-score-box {
        min-width: 82px;

        padding:
            10px 12px;
    }


    .game-score-box strong {
        font-size: 21px;
    }


    .game-progress {
        margin-bottom: 20px;
    }


    .scenario-briefing {
        grid-template-columns: 40px minmax(0, 1fr);
        gap: 11px;
        padding: 15px;
        margin-bottom: 26px;
    }


    .scenario-briefing-icon {
        width: 38px;
        height: 38px;
        border-radius: 11px;
        font-size: 8px;
    }


    .scenario-briefing-copy p {
        font-size: 13px;
    }


    .question-layout {
        display: block;
    }


    .question-number {
        padding: 0;

        margin-bottom: 14px;
    }


    .question-number span {
        font-size: 38px;
    }


    .question-content h2 {
        font-size:
            clamp(30px, 8vw, 42px);
    }


    .answer-grid {
        grid-template-columns: 1fr;

        gap: 10px;

        margin-top: 28px;
    }


    .answer-button {
        min-height: 68px;

        padding:
            14px;

        font-size: 14px;
    }


    .answer-letter {
        width: 34px;
        height: 34px;

        flex-basis: 34px;
    }


    .answer-feedback {
        padding: 16px;
    }


    .question-actions .game-button {
        width: 100%;
    }


    .result-container {
        padding:
            20px 0 40px;
    }


    .result-container h2 {
        font-size: 43px;
    }


    .result-score-ring {
        width: 165px;
        height: 165px;
    }


    .score-ring-content span {
        font-size: 44px;
    }


    .score-ring-content small {
        margin-bottom: 49px;
    }


    .result-stats {
        grid-template-columns: 1fr;

        gap: 9px;
    }


    .result-stat {
        display: flex;

        align-items: center;

        justify-content:
            space-between;

        padding:
            15px 17px;
    }


    .result-stat-label {
        margin: 0;
    }


    .result-profile {
        padding: 20px;
    }


    .result-tip {
        padding: 16px;
    }


    .result-cta {
        padding: 19px;
    }


    .result-cta strong {
        font-size: 16px;
    }


    .result-actions {
        flex-direction: column;
    }


    .result-actions .game-button {
        width: 100%;
    }
}


/* =====================================================
   SMALL PHONES
===================================================== */

@media (max-width: 390px) {

    .game-screen {
        padding-left: 14px;
        padding-right: 14px;
    }


    .game-intro-copy h1 {
        font-size: 40px;
    }


    .challenge-visual-card {
        min-height: 330px;
    }


    .visual-cleaning-icon {
        width: 78px;
        height: 78px;
    }


    .visual-cleaning-icon svg {
        width: 40px;
        height: 40px;
    }


    .game-meta-divider {
        display: none;
    }


    .game-meta {
        gap: 8px 12px;
    }


    .result-profile h3 {
        font-size: 23px;
    }
}


/* =====================================================
   REDUCED MOTION
===================================================== */

@media (prefers-reduced-motion: reduce) {

    .cleaning-game *,
    .cleaning-game *::before,
    .cleaning-game *::after {
        scroll-behavior: auto !important;

        transition-duration:
            0.01ms !important;

        animation-duration:
            0.01ms !important;

        animation-iteration-count:
            1 !important;
    }
}