/* CantoHub cream/orange interface, with inked Hong Kong chapter panels. */
.wk-start,.wk-home-next,.wk-stop-card,.wk-chapter-map,.wk-explore-card,.wk-question,.wk-celebration{border:2px solid #33454b;border-radius:20px;background:#fffdf8;box-shadow:4px 5px 0 #ead8bd;overflow:hidden}.wk-start,.wk-home-next{display:grid;grid-template-columns:1.15fr 1fr;margin:24px 0 28px}.wk-start>div:first-child,.wk-home-next>div:first-child{padding:clamp(22px,4vw,38px)}.wk-start h2,.wk-home-next h2{font-size:clamp(24px,3vw,34px);line-height:1.25;margin:13px 0 20px;max-width:24ch}.wk-eyebrow{font-size:11px;font-weight:800;letter-spacing:.14em;color:#945020}.wk-start small{display:block;font-size:12px;line-height:1.6;margin-top:16px;color:#6a6157}.wk-start button,.wk-home-next button{margin:8px 10px 0 0;min-height:48px}.wk-next-name{font-size:20px;font-weight:800}.wk-start-art,.wk-home-art,.wk-scene,.wk-chapter-cover,.wk-lesson-cover{background-image:url('assets/learn/comic-scenes.webp');background-size:200% 200%;background-position:var(--wk-x) var(--wk-y);background-repeat:no-repeat}.wk-start-art,.wk-home-art{min-height:300px;border-left:2px solid #33454b}.wk-passport{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:28px 0;color:#6a5543}.wk-passport b{border:1px solid #ab6835;border-radius:100px;padding:9px 17px;font-size:13px;background:#fff0d8}.wk-passport>span{font-size:13px}.wk-atlas{position:relative;display:grid;gap:30px;padding:8px 0 50px}.wk-atlas:before{content:'';position:absolute;left:50%;top:0;bottom:0;border-left:5px dashed #d89a54;transform:translateX(-50%)}.wk-map-stop{position:relative;width:46%;scroll-margin-top:110px}.wk-map-stop:nth-child(even){margin-left:54%}.wk-map-node{position:absolute;display:grid;place-items:center;top:38px;left:calc(108.7% - 21px);width:42px;height:42px;border:2px solid #33454b;border-radius:50%;background:#fff7e8;font-size:16px;font-weight:800;z-index:1}.wk-map-stop:nth-child(even) .wk-map-node{left:calc(-8.7% - 21px)}.wk-map-stop.is-current .wk-map-node{background:#ff9a43;box-shadow:0 0 0 7px #ffdfb4}.wk-map-stop.is-done .wk-map-node{background:#f6cd8d}.wk-stop-card .wk-scene{height:180px;border-bottom:2px solid #33454b}.wk-stop-info{padding:20px}.wk-stop-info>span{font-size:10px;font-weight:800;letter-spacing:.12em;color:#925426}.wk-stop-info h3{font-size:21px;margin:8px 0 17px}.wk-stop-info button{margin:5px 8px 0 0;font-size:12px;min-height:44px}.wk-map-stop.is-current .wk-stop-card{border-color:#e37b28;box-shadow:4px 5px 0 #f3c88f}.wk-map-stop.is-locked .wk-scene{filter:saturate(.55)}.wk-map-stop.is-locked .wk-stop-card{background:#f7f1e7;box-shadow:3px 3px 0 #e4ded2}.wk-chapter-map{margin:30px 0;scroll-margin-top:100px}.wk-chapter-cover{height:270px;position:relative;border-bottom:2px solid #33454b;display:flex;align-items:flex-end;padding:24px;box-sizing:border-box;isolation:isolate}.wk-chapter-cover:after,.wk-lesson-cover:after{content:'';position:absolute;inset:40% 0 0;background:linear-gradient(transparent,#24190ee8);z-index:-1}.wk-chapter-cover>span{position:absolute;top:20px;left:20px;color:#33454b;background:#fff8e6;border:2px solid #33454b;padding:7px 13px;border-radius:6px;font-weight:800;font-size:13px}.wk-chapter-cover small{color:#fff2cf;font-weight:800;font-size:10px;letter-spacing:.12em}.wk-chapter-cover h2{color:#fff;margin:7px 0 0;font-size:30px}.wk-chapter-intro{padding:24px 28px;border-bottom:1px solid #d7c9b5}.wk-chapter-intro>div{display:flex;gap:18px;align-items:center;margin-bottom:15px}.wk-chapter-intro p{margin:0;max-width:50ch;line-height:1.7}.wk-chapter-intro>b{font-size:13px;margin-right:20px}.wk-chapter-intro button{margin-top:15px;min-height:44px}.wk-portrait{display:inline-block;flex:none;width:66px;height:76px;background-image:url('assets/learn/comic-cast.webp');background-size:500% 300%;background-position:var(--px) var(--py);border:1px solid #bca88f;border-radius:11px;background-color:#f9ebd5}.wk-stage-path{padding:5px 28px 30px}.wk-phase h3{display:flex;gap:12px;align-items:center;font-size:19px;margin:28px 0 18px}.wk-phase h3>span{display:grid;place-items:center;font-family:monospace;font-size:13px;width:32px;height:32px;border:1px solid #a86b35;border-radius:8px;background:#fff0d8}.wk-phase>div{display:grid;grid-template-columns:1fr 1fr;gap:14px}.wk-step{display:flex;align-items:center;gap:12px;text-align:left;background:#fffdf8;border:1px solid #c8bca9;border-radius:12px;box-shadow:2px 3px 0 #e7d8c1;min-height:83px;padding:13px}.wk-step small,.wk-step b{display:block;font-size:12px;line-height:1.6}.wk-step small{font-size:11px;color:#827465;margin-top:4px}.wk-step-node{display:grid;place-items:center;width:34px;height:34px;border:1px solid #b48a5c;border-radius:50%;background:#fff1d8;flex:none}.wk-step.is-current{border-color:#ec8d3d;background:#fff6e6}.wk-step.is-done{background:#fbefd7}.wk-step:disabled{opacity:.65;background:#f1ede6;box-shadow:none;cursor:not-allowed}.wk-explore-heading{margin:30px 0}.wk-explore-heading h2{font-size:30px;margin:12px 0}.wk-explore-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:25px 0}.wk-explore-card .wk-scene{height:155px;border-bottom:2px solid #33454b}.wk-explore-card>div:last-child{padding:19px}.wk-explore-card span,.wk-explore-card p{font-size:12px}.wk-explore-card h3{font-size:20px;line-height:1.4;margin:9px 0}.wk-explore-card button{font-size:12px;min-height:44px;width:100%;margin-top:10px}.wk-lesson-head{display:flex;align-items:center;gap:15px;justify-content:space-between;margin:8px 0 20px}.wk-lesson-head button{font-size:12px;min-height:44px}.wk-lesson-head>span{font-size:10px;color:#976032;font-weight:800;letter-spacing:.1em}.wk-lesson-cover{height:235px;position:relative;border:2px solid #33454b;border-radius:18px;overflow:hidden;display:flex;align-items:flex-end;isolation:isolate;padding:24px;color:#fff}.wk-lesson-cover h1{font-size:clamp(25px,3vw,34px);margin:7px 0 0;color:white}.wk-lesson-cover span{font-size:12px;font-weight:800;letter-spacing:.1em}.wk-exercise-picker{display:flex;gap:15px;align-items:center;margin:20px 0}.wk-exercise-picker select{max-width:100%;padding:10px;border:1px solid #af9272;border-radius:8px}.wk-question{padding:clamp(20px,4vw,38px);margin:25px auto;max-width:850px;scroll-margin-top:100px}.wk-question h2{font-size:24px;line-height:1.4;margin:19px 0 12px;outline:none}.wk-question-meta{display:flex;justify-content:space-between;gap:16px;font-size:11px;color:#87613e;font-weight:800;letter-spacing:.07em}.wk-question progress{width:100%;height:8px;accent-color:#ec8d3d;border:none;border-radius:30px;overflow:hidden}.wk-language{display:flex;gap:15px;align-items:center;flex-wrap:wrap;padding:17px 0 24px;font-size:12px}.wk-language label{display:flex;gap:5px;align-items:center;margin:0}.wk-language input{accent-color:#bc712f;width:15px;height:15px}.wk-language select{border:1px solid #bbac96;border-radius:8px;background:#fffdf8;padding:5px 8px}.wk-language>span{font-weight:700}.wk-question .flashcard{border-radius:15px;background:#fff6e5;min-height:230px;border:2px solid #8a633c;box-shadow:4px 4px 0 #e5cfae;max-width:100%}.wk-question .guided-choices button,.wk-question .guided-matching button{border-radius:11px;min-height:54px;padding:15px;background:#fffdf9;border:1px solid #cdbfa8;box-shadow:2px 2px 0 #e7ddcd}.wk-question .guided-built{background:#fff4df;border:1px dashed #b27a44;border-radius:12px;min-height:80px;padding:18px;line-height:2.4}.wk-question .guided-built span{margin-right:5px}.wk-question .guided-word-bank button,.wk-word-bank button{border-radius:8px;min-height:44px;margin:4px;font-size:13px}.wk-phrase p{margin:8px 0;overflow-wrap:anywhere}.wk-hanzi{font-size:clamp(23px,3vw,31px);line-height:1.7;font-weight:750;color:#3d352c}.wk-jp{font-size:15px;line-height:1.9;color:#89633f}.wk-en{font-size:15px;line-height:1.7;color:#665d51}.wk-scenario{font-size:18px;line-height:1.8;padding:18px 20px;background:#fff3da;border-left:4px solid #e9913e;border-radius:0 10px 10px 0;margin:20px 0}.wk-fill-template{font-size:20px;line-height:1.9}.wk-answer-form{display:grid;gap:12px;margin:20px 0}.wk-answer-form label{font-weight:750;font-size:14px}.wk-answer-form input{font-size:17px;border:2px solid #a58a68;border-radius:11px;min-height:50px;padding:12px;box-sizing:border-box;background:#fff;max-width:100%;width:100%}.wk-answer-form input:focus{outline:3px solid #ffd18e;outline-offset:2px}.wk-answer-form button{justify-self:start;min-height:47px}.wk-hint-button{background:transparent!important;box-shadow:none!important;border:none!important;color:#935e2f!important;font-size:12px!important;padding-left:0!important}.wk-word-bank{margin:15px 0}.wk-word-bank button{font-size:12px;background:#fbefd8}.wk-continue{margin-top:16px;min-height:48px}.wk-celebration{padding:38px;margin:25px auto;max-width:850px;text-align:center;scroll-margin-top:110px}.wk-celebration .actions{justify-content:center}.wk-result-check{display:grid;place-items:center;margin:5px auto 20px;width:55px;height:55px;font-size:32px;font-weight:800;border:2px solid #986433;border-radius:50%;background:#ffe4b8;color:#895623}.wk-result{background:#fffdf8}.wk-result .wk-eyebrow{display:block}.wk-result button{min-height:47px;margin:8px 6px}.wk-result .guided-result-answer{text-align:left;padding:17px;border:1px solid #c2aa89;border-radius:12px;background:#fff6e5}.wk-result .wk-phrase+.wk-phrase{border-top:1px dashed #c2aa89;padding-top:15px;margin-top:15px}.wk-story-context{display:flex;gap:15px;align-items:center;margin:12px 0}.wk-story-context h3{margin:7px 0 0;font-size:21px}.wk-previous-line{border:1px solid #c7b89f;border-radius:14px;padding:20px;background:#f6f0e5}.wk-previous-line>span{font-size:11px;font-weight:800;color:#8a6a44}.wk-previous-line .wk-hanzi{font-size:20px}.wk-previous-line button{font-size:11px;min-height:38px}.wk-dialogue-options button{display:flex;gap:14px;align-items:center;text-align:left}.wk-dialogue-options b,.wk-dialogue-options small{display:block;line-height:1.7}.wk-dialogue-options b{font-size:17px}.wk-dialogue-options small{font-size:12px;color:#826346}.wk-choice-letter{display:grid;place-items:center;border:1px solid #b89b73;border-radius:6px;background:#fff0d5;width:28px;height:29px;flex:none;font-family:monospace}.wk-question .guided-speaking{border-radius:15px;background:#fff6e5}.wk-loading{padding:40px!important}#guided-result{border:2px solid #b37536;border-radius:20px;background:#fffdf8;max-width:min(600px,calc(100vw - 28px));max-height:85dvh;overflow:auto}#guided-result::backdrop{background:#35271d88;backdrop-filter:blur(3px)}.wk-question :focus-visible,.wk-atlas :focus-visible{outline:3px solid #e9903c;outline-offset:4px}.wk-home-next{margin-bottom:30px}.wk-home-art{min-height:240px}.wk-home-next h3{font-size:21px}.wk-home-next>div:first-child{padding:28px}
@media(min-width:1100px){.wk-stage-path{padding:5px 40px 35px}.wk-map-stop{width:45%}.wk-map-stop:nth-child(even){margin-left:55%}.wk-map-node{left:calc(111.1% - 21px)}.wk-map-stop:nth-child(even) .wk-map-node{left:calc(-11.1% - 21px)}}
@media(max-width:760px){.wk-start,.wk-home-next{grid-template-columns:1fr}.wk-start-art,.wk-home-art{min-height:210px;border-left:none;border-top:2px solid #33454b;order:-1}.wk-start h2{max-width:100%}.wk-passport{align-items:flex-start;flex-direction:column;gap:12px}.wk-atlas{padding-left:42px;gap:23px}.wk-atlas:before{left:17px}.wk-map-stop,.wk-map-stop:nth-child(even){width:100%;margin-left:0}.wk-map-node,.wk-map-stop:nth-child(even) .wk-map-node{left:-44px;top:32px;width:36px;height:36px;font-size:13px}.wk-stop-card .wk-scene{height:170px}.wk-explore-grid{grid-template-columns:1fr 1fr;gap:15px}.wk-explore-card .wk-scene{height:135px}.wk-explore-card h3{font-size:18px}.wk-phase>div{grid-template-columns:1fr}.wk-chapter-cover{height:230px}.wk-chapter-cover h2{font-size:25px}.wk-chapter-intro,.wk-stage-path{padding:20px}.wk-lesson-head{gap:8px}.wk-lesson-head>span{display:none}.wk-lesson-head button{font-size:11px;padding:8px 10px}.wk-lesson-cover{height:210px;padding:18px}.wk-question{padding:20px;scroll-margin-top:90px}.wk-question h2{font-size:21px}.wk-language{gap:11px}.wk-question .guided-matching{gap:8px}.wk-question .guided-matching button{padding:10px 7px}.wk-question .guided-matching .cantonese-text{font-size:18px}.wk-question .guided-matching .jyut{font-size:10px}.wk-result .wk-hanzi{font-size:23px}.wk-question-meta{letter-spacing:0;font-size:10px}.wk-exercise-picker{display:block}.wk-exercise-picker select{display:block;width:100%;margin-top:10px}.wk-previous-line{padding:16px}.wk-story-context h3{font-size:18px}}
@media(max-width:420px){.wk-explore-grid{grid-template-columns:1fr}.wk-explore-card .wk-scene{height:180px}.wk-start-art{min-height:180px}.wk-chapter-intro>div{align-items:flex-start}.wk-portrait{width:54px;height:66px}.wk-language{font-size:11px}.wk-result button{width:100%;margin:8px 0}.wk-step b{font-size:12px}.wk-lesson-cover{height:190px}.wk-celebration{padding:25px 18px}}
@media(prefers-reduced-motion:reduce){.wk-atlas *,.wk-question *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
/* Preserve legible comic-cover lettering against the site's global headings. */
.wk-lesson-cover h1,.wk-chapter-cover h2{color:#fff!important;text-shadow:0 2px 3px #20160f}
/* Characters are present while studying sentences, before the final role play. */
.wk-early-character{display:flex;gap:15px;align-items:center;margin:0 0 20px;padding:14px 18px;border:1px solid #ceb79b;border-radius:14px;background:#faf0df;position:relative}.wk-early-character:after{content:'';position:absolute;bottom:-8px;left:49px;width:13px;height:13px;background:#faf0df;border-right:1px solid #ceb79b;border-bottom:1px solid #ceb79b;transform:rotate(45deg)}.wk-early-character .wk-portrait{width:62px;height:69px}.wk-early-character b,.wk-early-character span:not(.wk-portrait){display:block}.wk-early-character b{font-size:15px;margin-bottom:5px}.wk-early-character div>span{font-size:12px;line-height:1.7;color:#765b40}.wk-illustrated-study{display:grid;grid-template-columns:minmax(150px,220px) minmax(0,1fr);gap:22px;align-items:center}.wk-meaning-picture{margin:0;min-width:0}.wk-meaning-image{width:100%;aspect-ratio:1;background-size:300% 200%;background-repeat:no-repeat;border:1px solid #bd9c75;border-radius:13px;overflow:hidden;position:relative;box-sizing:border-box}.wk-meaning-picture figcaption{padding:10px 2px 0;font-size:11px;line-height:1.7;color:#795c42}.wk-meaning-picture figcaption b,.wk-meaning-picture figcaption span{display:block}.wk-meaning-picture figcaption b{font-size:12px;color:#58402f}.wk-illustrated-text{min-width:0}.wk-question .wk-illustrated-text .flashcard{min-height:190px}.wk-illustrated-text>p{font-size:12px;line-height:1.7}.wk-meaning-arrow{position:absolute;inset:0;width:100%;height:100%;filter:drop-shadow(0 1px 2px #fff)}.wk-meaning-arrow path{stroke:#f88921;stroke-width:3;stroke-linecap:round;paint-order:stroke;fill:none}.wk-meaning-arrow circle{stroke:#ff8b22;stroke-width:2.5;fill:#fff5;}
@media(max-width:600px){.wk-illustrated-study{grid-template-columns:1fr;gap:12px}.wk-meaning-picture{display:grid;grid-template-columns:minmax(100px,160px) minmax(0,1fr);gap:14px;align-items:center}.wk-meaning-picture figcaption{padding:0}.wk-early-character{padding:12px;gap:12px}.wk-early-character .wk-portrait{width:51px;height:57px}.wk-question .wk-illustrated-text .flashcard{min-height:155px}}

/* Keep the question compact; audio updates remain available to screen readers. */
.wk-question .guided-feedback:empty,.wk-question #wk-story-feedback:empty,.wk-question #audio-voice:empty{display:none}
.wk-question #audio-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.wk-question #audio-voice{display:block;margin-top:12px;font-size:11px;color:#8b7a64}
