#wtk-adventure {
    width:min(96vw,1000px);
    max-width:none;
    max-height:94dvh;
    border:0;
    border-radius:30px;
    padding:0;
    background:#fff9eb;
    color:#453263;
    overflow:auto;
    box-shadow:0 20px 90px #27144655;
}

#wtk-adventure::backdrop {
    background:#30204caa;
    backdrop-filter:blur(5px);
}

.wtk-top {
    position:sticky;
    top:0;
    z-index:5;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    background:#7845de;
    color:white;
    padding:16px 22px;
}

.wtk-top strong {
    font-size:clamp(15px,3vw,23px);
}

.wtk-controls {
    display:flex;
    gap:7px;
}

.wtk-icon {
    border:0;
    background:#ffffff25;
    color:white;
    border-radius:13px;
    width:42px;
    height:42px;
    font-size:19px;
}

.wtk-main {
    position:relative;
    text-align:center;
    padding:clamp(18px,4vw,42px);
    overflow:hidden;
}

.wtk-main h2 {
    font-size:clamp(25px,4vw,38px);
    color:#7845de;
}

.wtk-garden {
    font-size:45px;
}

.wtk-levels,
.wtk-modes {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:14px;
    margin:24px 0;
}

.wtk-level,
.wtk-mode {
    min-height:120px;
    border:3px solid transparent;
    border-radius:23px;
    padding:18px 10px;
    color:#50367d;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:9px;
    transition:transform .2s;
}

.wtk-level:nth-child(1),
.wtk-mode:nth-child(1) {
    background:#dcf5cc;
}

.wtk-level:nth-child(2),
.wtk-mode:nth-child(2) {
    background:#fff0b5;
}

.wtk-level:nth-child(3),
.wtk-mode:nth-child(3) {
    background:#eadcff;
}

.wtk-level strong,
.wtk-mode strong {
    font-size:clamp(17px,2.5vw,23px);
}

.wtk-level.selected {
    border-color:#7845de;
    box-shadow:0 5px 18px #7845de20;
}

.wtk-mode:hover,
.wtk-level:hover {
    transform:translateY(-3px);
}

.wtk-status {
    display:flex;
    justify-content:space-between;
    gap:15px;
    color:#6845ad;
}

#wtk-adventure progress {
    width:100%;
    height:16px;
    accent-color:#8b53e6;
    margin:12px 0;
}

.wtk-visual {
    background:linear-gradient(
        145deg,#e0f5d3,#e1f5ff,#fff3c6
    );
    border-radius:28px;
    min-height:180px;
    padding:25px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:clamp(32px,7vw,78px);
    font-weight:800;
    color:#6540b7;
    overflow-wrap:anywhere;
}

.wtk-count {
    flex-wrap:wrap;
    gap:15px;
}

.wtk-object {
    display:inline-block;
    font-size:clamp(30px,5vw,55px);
    animation:wtk-pop .35s ease-out;
}

.wtk-swatch {
    width:140px;
    height:140px;
    border-radius:30px;
    border:5px solid #ffffff;
    box-shadow:0 5px 15px #00000020;
}

.wtk-answers {
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:14px;
    margin:20px 0;
}

.wtk-answer {
    border:3px solid transparent;
    background:var(--answer-color);
    color:#49316c;
    min-height:82px;
    border-radius:22px;
    padding:16px;
    font-size:clamp(18px,3vw,27px);
    font-weight:800;
    transition:transform .2s;
}

.wtk-answer:hover:not(:disabled) {
    transform:scale(1.025);
    border-color:#9d73e5;
}

.wtk-answer.correct {
    background:#b8eda3;
    border-color:#5baf45;
    animation:wtk-pop .35s ease;
}

.wtk-answer.incorrect {
    background:#ffe0c8;
    border-color:#efac72;
    opacity:.7;
}

.wtk-answer-swatch {
    display:block;
    width:65px;
    height:65px;
    margin:auto;
    border:2px solid #fff;
    border-radius:15px;
    box-shadow:0 2px 5px #00000022;
}

.wtk-shape-answer {
    font-size:48px;
}

.wtk-big-shape {
    font-size:120px;
    color:#ed639f;
}

.wtk-button {
    border:0;
    border-radius:30px;
    padding:14px 26px;
    background:#7845de;
    color:white;
    font-size:17px;
    font-weight:800;
    min-height:50px;
    margin:8px;
}

.wtk-yellow {
    background:#ffd44e;
    color:#654b10;
}

.wtk-listen {
    border:0;
    background:#eee3ff;
    color:#6540b7;
    border-radius:25px;
    padding:10px 20px;
    font-weight:800;
    margin:10px;
}

.wtk-feedback {
    font-size:20px;
    font-weight:800;
    min-height:35px;
    color:#447e31;
}

.wtk-lesson {
    background:#fff0ba;
    border-radius:22px;
    padding:25px;
    font-size:25px;
    font-weight:800;
    margin:20px 0;
}

.wtk-trophy {
    font-size:110px;
    animation:wtk-pop .6s ease-out;
}

.wtk-final-stars {
    font-size:35px;
    overflow-wrap:anywhere;
}

.wtk-finish-actions {
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
}

.wtk-confetti {
    position:absolute;
    inset:0;
    pointer-events:none;
    overflow:hidden;
}

.wtk-confetti span {
    position:absolute;
    top:-40px;
    font-size:27px;
    animation:wtk-fall 1.8s ease-in forwards;
}

.wtk-clock {
    position:relative;
    width:180px;
    height:180px;
    border:7px solid #7845de;
    border-radius:50%;
    background:white;
}

.wtk-clock-number {
    position:absolute;
    transform:translate(-50%,-50%);
    font-size:16px;
    color:#49316c;
}

.wtk-minute,
.wtk-hour {
    position:absolute;
    bottom:50%;
    left:calc(50% - 3px);
    width:6px;
    border-radius:6px;
    transform-origin:bottom center;
}

.wtk-minute {
    height:35%;
    background:#7845de;
}

.wtk-hour {
    height:24%;
    background:#ed639f;
}

@keyframes wtk-pop {
    from {transform:scale(.8);opacity:.5}
    to {transform:scale(1);opacity:1}
}

@keyframes wtk-fall {
    to {transform:translateY(700px) rotate(360deg);opacity:0}
}

@media(max-width:600px) {
    .wtk-levels,
    .wtk-modes {
        grid-template-columns:1fr;
        gap:10px;
    }

    .wtk-level,
    .wtk-mode {
        min-height:80px;
    }

    .wtk-top {
        padding:12px;
    }

    .wtk-icon {
        width:35px;
        height:35px;
    }

    .wtk-answers {
        gap:9px;
    }

    .wtk-visual {
        min-height:150px;
        padding:16px;
    }
}

@media(prefers-reduced-motion:reduce) {
    #wtk-adventure *,
    #wtk-adventure *::before,
    #wtk-adventure *::after {
        animation:none!important;
        transition:none!important;
    }
}
