/* Word Trainer: values and geometry from the approved HanziDay prototype. */
.wt-shell,.wt-backdrop{--wt-blue:var(--hd-primary,#2e4a43);--wt-deep:var(--hd-primary-hover,#1f342f);--wt-ink:var(--hd-text,#222a2d);--wt-sub:var(--hd-muted,#5d686c);--wt-soft:var(--hd-primary-soft,#e7eeea);--wt-quiet:var(--hd-canvas,#f6f7f3);--wt-line:var(--hd-border,#d7ddda);color:var(--wt-ink);font-family:inherit;line-height:1.55}.wt-shell{max-width:1140px;margin:0 auto 60px}.wt-shell *,.wt-backdrop *{box-sizing:border-box}.wt-shell [hidden],.wt-backdrop [hidden]{display:none!important}.wt-page-heading{margin:25px 0 30px;text-align:center}.wt-page-heading h1{font-size:36px;font-weight:700;color:var(--wt-ink);margin:0 0 12px}.wt-page-heading p{color:var(--wt-sub);font-size:15px}.wt-bank{padding:30px;border:1px solid var(--wt-line);border-radius:16px;background:#fff}.wt-bank-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.wt-bank-heading h2{font-size:21px;font-weight:700;margin:0}.wt-bank-counter{color:var(--wt-deep);white-space:nowrap}.wt-bank-counter strong{font-size:24px}.wt-plan-label{font-size:10px;font-weight:700;padding:4px 7px;background:var(--wt-soft);border-radius:4px;margin-left:5px}.wt-help{font-size:14px;color:var(--wt-sub);margin:0 0 16px}.wt-sources{margin-bottom:12px}.wt-sources .my-list-word-picker__buttons{display:flex;gap:8px;flex-wrap:wrap;margin:0}.wt-sources .my-list-word-picker__source{min-height:44px;padding:10px 16px;font-size:13px;white-space:normal;border-radius:8px}.wt-search-wrap{position:relative;min-width:0}.wt-search-wrap>i{position:absolute;top:14px;left:15px;color:var(--hd-muted,#5d686c);font-size:17px}.wt-search-wrap input{display:block;width:100%;min-width:0;padding:12px 14px 12px 42px;border:1px solid var(--hd-control-border,#7d8983);border-radius:8px;outline:none;font-size:15px;line-height:22px;color:var(--wt-ink);background:#fff;transition:border-color .18s ease,box-shadow .18s ease}.wt-search-wrap input:focus{border-color:var(--hd-focus,#275ea8);box-shadow:0 0 0 2px var(--hd-info-soft,#eaf2fc)}.wt-search-wrap input::placeholder{color:var(--wt-sub)}.wt-search-results{position:absolute;top:100%;left:0;right:0;z-index:30;max-height:360px;overflow:auto;background:#fff;box-shadow:0 8px 24px rgba(34,42,45,.14);border-radius:8px;padding:8px}.wt-search-results>p{padding:15px;margin:0}.wt-search-row{display:flex;align-items:center;gap:18px;padding:12px 8px;border-bottom:1px solid var(--wt-line)}.wt-search-row:last-child{border:0}.wt-search-translation{min-width:0;flex:1;font-size:13px;overflow-wrap:anywhere}.wt-search-row .wt-ruby{font-size:27px}.wt-caption{font-size:12px;color:var(--hd-muted,#5d686c);margin:10px 0 24px}.wt-tags{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:26px;min-width:0}.wt-word-tag{display:flex;gap:14px;align-items:center;max-width:100%;padding:10px 10px 10px 16px;background:var(--wt-quiet);border:1px solid var(--hd-border,#d7ddda);border-radius:8px}.wt-word-tag>button{border:0;background:none;color:var(--hd-muted,#5d686c);padding:9px;cursor:pointer;flex:none}.wt-ruby{display:inline-flex;align-items:flex-end;justify-content:center;flex-wrap:wrap;vertical-align:middle;gap:.08em;font-size:30px;line-height:1.2}.wt-syllable{display:inline-flex;flex-direction:column;align-items:center;text-align:center;min-width:1em;max-width:100%}.wt-hanzi{font-family:simkai,"Kaiti SC",serif;font-weight:400;line-height:1.25}.wt-pinyin{font-family:inherit;font-size:12px;line-height:1.4;color:var(--wt-deep);white-space:pre-wrap;overflow-wrap:anywhere;text-align:center}.wt-ruby-fallback{display:inline-flex;flex-direction:column;align-items:center;max-width:100%;font-size:30px}.wt-empty{color:var(--wt-sub);font-size:14px;margin:6px 0}.wt-settings{border:0;border-top:1px solid var(--wt-line);padding:26px 0 0;margin:0;min-width:0}.wt-settings legend{border:0;float:left;width:100%;font-size:15px;font-weight:700;margin-bottom:16px}.wt-modes{clear:both;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.wt-modes label{min-width:0;display:flex;align-items:center;gap:10px;border:1px solid var(--wt-line);border-radius:8px;padding:15px 12px;font-size:14px;cursor:pointer;margin:0;transition:background-color .18s ease,border-color .18s ease}.wt-modes label:has(input:checked){background:var(--wt-quiet);border-color:var(--wt-blue)}.wt-modes input{appearance:auto!important;width:16px;height:16px;margin:0;accent-color:var(--wt-blue);flex:none}.wt-modes .checker{flex:none;margin:0}.wt-modes i{font-size:18px;color:var(--wt-blue)}.wt-modes span{overflow-wrap:normal}.wt-start-row{display:flex;justify-content:space-between;gap:25px;align-items:center;margin-top:28px}.wt-card-count{font-size:16px}.wt-start-help{font-size:13px;color:var(--wt-sub);margin:5px 0 0}.wt-btn{border:1px solid var(--wt-line);border-radius:8px;background:#fff;color:var(--wt-ink);display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:46px;padding:12px 22px;font-size:14px;font-weight:700;line-height:1.3;text-decoration:none;cursor:pointer;transition:background-color .2s ease,color .2s ease,border-color .2s ease,box-shadow .2s ease,transform .2s ease}.wt-btn:hover{background:var(--wt-quiet);border-color:var(--wt-blue);color:var(--wt-deep);text-decoration:none}.wt-btn:active{transform:translateY(1px)}.wt-btn.wt-primary{background:var(--wt-blue);color:#fff;border-color:var(--wt-blue)}.wt-btn.wt-primary:hover{background:var(--hd-primary-hover,#1f342f);border-color:var(--hd-primary-hover,#1f342f);color:#fff}.wt-btn:disabled{opacity:.5;cursor:not-allowed;transform:none}.wt-btn:focus-visible,.wt-shell button:focus-visible,.wt-backdrop button:focus-visible{outline:2px solid var(--hd-focus,#275ea8);outline-offset:3px}.wt-start-row>.wt-btn{min-width:210px;font-size:16px}.wt-resume-note{background:var(--wt-quiet);color:var(--wt-deep);border-radius:8px;padding:14px 16px;font-size:13px;margin-top:18px}.wt-pro-banner{display:flex;align-items:center;gap:35px;justify-content:space-between;background:var(--wt-soft);border-radius:16px;padding:30px;margin:24px 0}.wt-pro-banner>div{max-width:760px}.wt-pro-banner h2{font-size:24px;font-weight:700;color:var(--wt-deep);margin:0 0 12px}.wt-pro-banner p{font-size:14px;color:var(--wt-sub);margin:8px 0}.wt-pro-banner .wt-btn{white-space:nowrap;flex:none}.wt-seo,.wt-faq{margin-top:45px;max-width:900px}.wt-seo h2,.wt-faq h2{font-size:25px;font-weight:700;margin:0 0 20px}.wt-seo p,.wt-faq p{font-size:14px;line-height:1.85;color:var(--wt-sub)}.wt-faq details{border-bottom:1px solid var(--wt-line);padding:18px 0}.wt-faq summary{font-size:15px;font-weight:600;cursor:pointer}.wt-faq details p{margin:16px 0 0}.wt-page-error,.wt-modal-error{padding:12px 15px;margin:12px 0;border-radius:8px;background:var(--hd-error-soft,#fdeded);color:var(--hd-error,#b73535);overflow-wrap:anywhere;font-size:13px}.wt-backdrop{position:fixed;inset:0;z-index:99999;background:rgba(34,42,45,.48);padding:24px;display:flex;align-items:center;justify-content:center}.wt-dialog{position:relative;background:#fff;border-radius:16px;box-shadow:0 20px 70px rgba(34,42,45,.2);max-height:calc(100dvh - 48px);max-width:100%;outline:none}.wt-simple{width:460px;padding:32px;overflow:auto}.wt-simple h2{font-size:24px;font-weight:700;margin:0 25px 16px 0;line-height:1.35}.wt-simple p{color:var(--wt-sub);font-size:14px;line-height:1.7}.wt-close{border:0;background:transparent;color:var(--wt-sub);font-size:18px;padding:8px;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:color .18s ease,background-color .18s ease;border-radius:6px}.wt-close:hover{color:var(--wt-ink);background:var(--wt-quiet)}.wt-simple>.wt-close{position:absolute;right:18px;top:18px}.wt-dialog-actions{display:flex;gap:10px;margin-top:24px}.wt-dialog-actions .wt-btn{flex:1}.wt-countdown{background:var(--wt-quiet);border-radius:10px;padding:18px;margin-top:20px;color:var(--wt-deep)}.wt-countdown strong{font-size:28px;font-variant-numeric:tabular-nums}.wt-card{width:690px;height:850px;display:flex;flex-direction:column;min-height:0;overflow:hidden}.wt-card-top{padding:24px 32px 18px;flex:none;border-bottom:1px solid var(--wt-line)}.wt-card-meta{display:flex;align-items:center;gap:15px}.wt-card-meta h2{font-size:16px;font-weight:700;flex:1;margin:0}.wt-card-meta h2 i{color:var(--wt-blue);margin-right:5px}.wt-card-meta>span{font-size:12px;color:var(--wt-sub)}.wt-card progress{width:100%;height:4px;display:block;margin:15px 0 25px;border:0;border-radius:4px;overflow:hidden;accent-color:var(--wt-blue)}.wt-card progress::-webkit-progress-bar{background:var(--hd-surface-muted,#eff2ef)}.wt-card progress::-webkit-progress-value{background:var(--wt-blue);transition:width .2s ease}.wt-question{font-size:20px;font-weight:600;line-height:1.4;margin:0;text-align:center;transition:font-size .42s cubic-bezier(.2,.8,.2,1)}.wt-question-hint{font-size:13px;text-align:center;color:var(--wt-sub);margin:8px 0 0;max-height:30px;opacity:1;transition:max-height .42s ease,opacity .32s ease,margin .42s ease;overflow:hidden}.wt-stimulus{display:flex;justify-content:center;align-items:center;text-align:center;min-height:180px;padding:18px 0 2px;overflow-wrap:anywhere;transition:min-height .42s cubic-bezier(.2,.8,.2,1),padding .42s ease}.wt-question-hanzi{font-family:simkai,"Kaiti SC",serif;font-size:86px;line-height:1.15;transition:font-size .42s cubic-bezier(.2,.8,.2,1)}.wt-question-pinyin{font-size:34px;color:var(--wt-deep);line-height:1.4;transition:font-size .42s ease}.wt-card.is-answered .wt-stimulus{min-height:60px;padding-top:12px}.wt-card.is-answered .wt-question-hanzi{font-size:38px}.wt-card.is-answered .wt-question-pinyin{font-size:22px}.wt-card.is-answered .wt-question{font-size:17px}.wt-card.is-answered .wt-question-hint{max-height:0;opacity:0;margin:0}.wt-card-content{min-height:0;flex:1;overflow-y:auto;overscroll-behavior:contain;padding:24px 32px;scrollbar-width:thin;scrollbar-color:var(--hd-control-border,#7d8983) transparent}.wt-card-bottom{flex:none;padding:18px 28px 14px;background:#fff;border-top:1px solid var(--wt-line)}.wt-card-actions{display:flex;gap:12px}.wt-card-actions .wt-btn{flex:1;min-height:50px;font-size:17px}.wt-card-actions .wt-review{border-color:var(--hd-warning,#94521d);color:var(--hd-warning,#94521d);background:var(--hd-warning-soft,#fff0df)}.wt-save-status{display:block;text-align:center;font-size:11px;color:var(--hd-muted,#5d686c);margin-top:9px}.wt-answer{opacity:0;transform:translateY(8px);transition:opacity .38s ease,transform .38s cubic-bezier(.2,.8,.2,1)}.wt-card.is-answered .wt-answer{opacity:1;transform:translateY(0)}.wt-answer-label{font-size:12px;text-align:center;color:var(--hd-muted,#5d686c);margin:0 0 14px;font-weight:600}.wt-answer-word{display:flex;align-items:center;justify-content:center;gap:14px;min-width:0;margin:15px 0 20px}.wt-answer-ruby{font-size:46px}.wt-answer-ruby .wt-pinyin{font-size:18px}.wt-answer-primary{color:var(--wt-ink)}.wt-translation{font-size:16px;font-weight:400;line-height:1.5;color:var(--wt-ink);overflow-wrap:anywhere;text-align:left;list-style-type:disc;padding-left:22px;margin:12px 0}.wt-translation>li{display:list-item;list-style-type:disc;margin-bottom:8px}.wt-translation>li:last-child{margin-bottom:0}.wt-search-row .wt-search-translation{font-size:13px;margin:0}.wt-answer-main{max-width:100%;margin-bottom:24px}.wt-illustration{width:180px;height:180px;max-width:100%;border-radius:12px;overflow:hidden;margin:24px auto;background:#fff}.wt-illustration img{width:100%;height:100%;display:block;object-fit:contain}.wt-sound{border:0;background:var(--wt-quiet);color:var(--wt-blue);display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:50%;font-size:18px;flex:none;transition:background-color .2s ease,color .2s ease,width .42s ease,height .42s ease,font-size .42s ease;cursor:pointer}.wt-sound:hover,.wt-sound.is-playing{background:var(--wt-soft);color:var(--wt-deep)}.wt-listen-main{width:85px;height:85px;font-size:36px}.wt-card.is-answered .wt-listen-main{width:42px;height:42px;font-size:20px}.wt-examples,.wt-reference{margin-top:28px;padding-top:22px;border-top:1px solid var(--wt-line)}.wt-examples h3,.wt-reference h3,.wt-own-drawing h3{font-size:14px;font-weight:700;margin:0 0 18px}.wt-example{margin:20px 0}.wt-example-line{display:flex;align-items:flex-start;gap:10px}.wt-example-line>.wt-sound{margin-top:7px}.wt-example-line>.wt-ruby,.wt-example-line>.wt-ruby-fallback{min-width:0;flex:1}.wt-example .wt-ruby,.wt-example .wt-ruby-fallback{font-size:25px;justify-content:flex-start}.wt-example .wt-pinyin{font-size:11px}.wt-example .wt-translation{font-size:13px;color:var(--wt-sub);text-align:left;padding-left:0;margin-left:48px}.wt-own-drawing>h3{display:none}.wt-card.is-answered .wt-own-drawing>h3{display:block;color:var(--wt-sub)}.wt-own-drawing{margin:0 0 25px}.wt-drawing{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:12px}.wt-draw-cell{width:144px;height:144px;display:block;border:1px solid var(--wt-line);touch-action:none;background-color:#fff;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 144 144'%3E%3Cpath d='M72 0v144M0 72h144M0 0l144 144M144 0L0 144' stroke='%23e1e1e1' stroke-dasharray='3 3' fill='none'/%3E%3C/svg%3E");background-size:100% 100%;transition:width .42s ease,height .42s ease}.wt-clear{display:block;margin:10px auto 0;border:0;background:none;color:var(--wt-blue);font-size:12px;padding:4px 8px}.wt-add-cell{width:40px;height:40px;flex:none;margin-bottom:28px;display:flex;align-items:center;justify-content:center;line-height:1;border:1px dashed var(--hd-border,#d7ddda);background:var(--wt-quiet);color:var(--wt-blue);border-radius:7px;padding:0;transition:background-color .2s ease}.wt-card.is-answered .wt-draw-cell{width:95px;height:95px}.wt-card.is-answered .wt-add-cell,.wt-card.is-answered .wt-clear{display:none}.wt-writers{display:flex;flex-wrap:wrap;justify-content:center;gap:15px}.wt-writer{width:144px;text-align:center}.wt-writer-canvas{width:144px;height:144px;background:#fff;border:1px solid var(--wt-line);font-family:simkai,serif;font-size:90px;display:flex;align-items:center;justify-content:center}.wt-writer-canvas svg{display:block;max-width:100%;height:auto}.wt-writer-control{border:1px solid var(--wt-line);border-radius:4px;background:#fff;color:var(--wt-blue);padding:6px;font-size:11px;margin:7px 2px 0;transition:background-color .2s ease}.wt-writer-control:hover{background:var(--wt-quiet)}.wt-stroke-unavailable{font-size:11px;color:var(--wt-sub);margin-top:8px}.wt-unavailable{text-align:center;margin:20px auto;max-width:380px}.wt-unavailable h3{font-size:20px}.wt-unavailable p{font-size:14px;color:var(--wt-sub)}.wt-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin-bottom:30px;padding:20px 0;border-bottom:1px solid var(--wt-line)}.wt-summary strong{font-size:15px}.wt-summary i{color:var(--wt-blue)}.wt-summary p{font-size:12px;color:var(--wt-sub);margin:8px 0}.wt-summary small{color:var(--wt-sub)}.wt-result-filters{display:flex;gap:10px;margin-bottom:24px}.wt-result-filters .is-selected{background:var(--wt-soft);border-color:var(--wt-blue);color:var(--wt-deep)}.wt-result-word{padding:24px 0;border-bottom:1px solid var(--wt-line)}.wt-result-word-main{display:flex;align-items:center;gap:14px}.wt-result-word>.wt-translation{text-align:left;max-width:900px}.wt-result-assessments{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:20px 0 10px}.wt-result-assessments dt{font-size:12px;font-weight:400;color:var(--wt-sub);margin-bottom:4px}.wt-result-assessments dd{font-size:14px;margin:0;font-weight: 700;}.wt-result-know{color:var(--hd-success,#286747)}.wt-result-repeat{color:var(--hd-warning,#94521d)}.wt-result-unavailable,.wt-result-notSelected{color:var(--hd-muted,#5d686c)}.wt-status-history{font-size:12px;color:var(--wt-sub);margin:15px 0 0}.wt-result-actions{display:flex;flex-wrap:wrap;gap:14px;margin:28px 0}.wt-shell button,.wt-backdrop button{font-family:inherit}.wt-shell ::selection,.wt-backdrop ::selection{background:var(--wt-soft);color:var(--wt-deep)}
@media(max-width:767px){.wt-shell{margin-bottom:35px}.wt-page-heading{margin:18px 0 24px}.wt-page-heading h1{font-size:27px}.wt-page-heading p{font-size:13px;line-height:1.7}.wt-bank{padding:20px 17px;border-radius:12px}.wt-bank-heading h2{font-size:18px}.wt-bank-counter{font-size:12px}.wt-bank-counter strong{font-size:18px}.wt-help{font-size:12px;margin-bottom:12px}.wt-caption{font-size:11px;margin-bottom:20px}.wt-sources .my-list-word-picker__source{font-size:12px;padding:10px;flex:1;min-width:0}.wt-search-wrap input{font-size:16px}.wt-search-row{gap:10px;padding:10px 2px;flex-wrap:wrap}.wt-search-row .wt-search-translation{font-size:12px;flex-basis:100%;order:3}.wt-search-row [data-search-id]{margin-left:auto}.wt-tags{gap:8px;margin-bottom:24px}.wt-word-tag{padding:8px 4px 8px 11px;gap:7px}.wt-word-tag .wt-ruby,.wt-word-tag .wt-ruby-fallback{font-size:27px}.wt-word-tag .wt-pinyin{font-size:10px}.wt-settings{padding-top:20px}.wt-settings legend{font-size:14px}.wt-modes{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.wt-modes label{font-size:12px;padding:13px 9px;gap:7px}.wt-modes i{font-size:16px}.wt-start-row{display:block;margin-top:22px}.wt-start-row>.wt-btn{width:100%;margin-top:18px;min-width:0}.wt-start-help{font-size:12px}.wt-card-count{font-size:14px}.wt-pro-banner{display:block;border-radius:12px;padding:23px 20px;margin-top:18px}.wt-pro-banner h2{font-size:21px}.wt-pro-banner p{font-size:13px}.wt-pro-banner .wt-btn{width:100%;margin-top:16px;white-space:normal}.wt-seo,.wt-faq{margin-top:35px}.wt-seo h2,.wt-faq h2{font-size:22px}.wt-seo p,.wt-faq p{font-size:13px}.wt-faq summary{font-size:14px}.wt-backdrop{padding:12px}.wt-dialog{max-height:calc(100dvh - 24px)}.wt-simple{padding:26px 22px}.wt-simple h2{font-size:21px}.wt-dialog-actions{flex-direction:column}.wt-backdrop:has(.wt-card){padding:0}.wt-card{width:100%;height:100dvh;max-height:none;border-radius:0}.wt-card-top{padding:17px 20px 13px}.wt-card-meta h2{font-size:14px}.wt-card-meta>span{font-size:11px}.wt-card progress{margin:12px 0 20px}.wt-question{font-size:17px}.wt-stimulus{min-height:150px;padding-top:16px}.wt-question-hanzi{font-size:78px}.wt-question-pinyin{font-size:28px}.wt-card.is-answered .wt-question{font-size:15px}.wt-card-content{padding:22px 20px}.wt-card-bottom{padding:14px 18px max(14px,env(safe-area-inset-bottom))}.wt-card-actions .wt-btn{font-size:15px;min-height:48px;padding:12px 10px}.wt-answer-ruby{font-size:39px}.wt-answer-ruby .wt-pinyin{font-size:16px}.wt-translation{font-size:14px}.wt-illustration{width:160px;height:160px}.wt-example .wt-ruby{font-size:23px}.wt-example .wt-pinyin{font-size:10px}.wt-example-line{gap:8px}.wt-example .wt-translation{font-size:12px;margin-left:46px}.wt-draw-cell{width:122px;height:122px}.wt-drawing{gap:9px}.wt-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 12px}.wt-result-assessments{grid-template-columns:repeat(2,minmax(0,1fr))}.wt-result-actions{flex-direction:column}.wt-result-actions .wt-btn{width:100%}}
@media(max-width:379px){.wt-modes{grid-template-columns:minmax(0,1fr)}.wt-sources .my-list-word-picker__buttons{display:grid;grid-template-columns:minmax(0,1fr)}.wt-bank-heading{gap:10px}.wt-bank-heading h2{max-width:145px}.wt-simple{padding:25px 20px}}
@media(prefers-reduced-motion:reduce){.wt-shell *,.wt-backdrop *{transition-duration:.08s!important;animation-duration:.08s!important;scroll-behavior:auto!important}.wt-answer{transform:none}}

/* Word Trainer presentation for the shared picker; its behaviour remains in my_list. */
.wt-writer-control--practice {
    border-color: var(--hd-info, #275ea8);
    background: var(--hd-info, #275ea8);
    color: #fff;
}
.wt-writer-control--practice:hover {
    border-color: var(--hd-info-hover, #1f4c88);
    background: var(--hd-info-hover, #1f4c88);
    color: #fff;
}
#word-trainer .wt-sources .my-list-word-picker { margin: 0; }
#word-trainer .wt-sources .my-list-word-picker__buttons { align-items: stretch; display: flex; flex-wrap: wrap; gap: 8px; overflow: visible; white-space: normal; }
#word-trainer .wt-sources .my-list-word-picker__source.btn { min-width: 0; min-height: 44px; height: auto; padding: 10px 16px; border: 1px solid var(--wt-line); border-radius: 8px; color: var(--wt-ink); font: inherit; font-size: 13px; font-weight: 600; line-height: 1.35; gap: 8px; flex: 0 1 auto; white-space: normal; transition: color .18s ease, background-color .18s ease, border-color .18s ease; }
#word-trainer .wt-sources .my-list-word-picker__source.btn:hover { background: var(--wt-quiet); border-color: var(--wt-blue); }
#word-trainer .wt-sources .my-list-word-picker__source.btn:focus-visible { outline: 2px solid var(--hd-focus, #275ea8); outline-offset: 3px; }
#word-trainer .wt-sources .my-list-word-picker__source > i { flex: none; }
#word-trainer .wt-sources .ico-pro-status.wt-source-pro { display: inline-flex; align-items: center; justify-content: center; width: auto; height: auto; flex: none; padding: 2px 6px; border-radius: 4px; background: var(--wt-soft); color: var(--wt-deep); font-size: 10px; font-weight: 700; line-height: 1.4; }
@media (max-width: 767px) { #word-trainer .wt-sources .my-list-word-picker__source.btn { flex: 1; font-size: 12px; padding: 10px; gap: 6px; } }
@media (max-width: 379px) { #word-trainer .wt-sources .my-list-word-picker__buttons { display: grid; grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { #word-trainer .wt-sources .my-list-word-picker__source.btn { transition: none; } }
.wt-answer-reading .wt-answer-ruby .wt-pinyin { font-size: 25px; font-weight: 700; color: var(--wt-deep); }
.wt-answer-writing .wt-answer-ruby { font-size: 62px; color: var(--wt-deep); }
.wt-bank-notice { margin-bottom: 22px; }
.wt-last-result { margin: 20px 0 0; }
@media (max-width: 767px) {
    .wt-answer-reading .wt-answer-ruby .wt-pinyin { font-size: 22px; }
    .wt-answer-writing .wt-answer-ruby { font-size: 52px; }
}

.wt-selection{display:flex;align-items:flex-start;flex-wrap:wrap;gap:12px;margin-bottom:26px}.wt-selection .wt-tags{flex:1 1 240px;margin-bottom:0}.wt-clear-set{flex:0 0 auto;margin-left:auto;padding:9px 12px;font-size:13px}

/* Pronunciation keeps the approved trainer shell and its recording/review checkpoint. */
.wt-modes.has-pronunciation{grid-template-columns:repeat(5,minmax(0,1fr))}
.wt-modes.has-pronunciation label{gap:7px;padding-left:10px;padding-right:10px}
.wt-pron-card .wt-stimulus{min-height:220px;padding-top:22px;transition:min-height .42s ease,padding .42s ease}
.wt-pron-word{font-size:84px;gap:24px;transition:font-size .42s ease,gap .42s ease}
.wt-pron-word .wt-pinyin{font-size:24px;transition:font-size .42s ease}
.wt-pron-card.is-answered .wt-stimulus{min-height:108px;padding-top:10px}
.wt-pron-card.is-answered .wt-pron-word{font-size:54px;gap:18px}
.wt-pron-card.is-answered .wt-pron-word .wt-pinyin{font-size:18px}
.wt-pron-content{display:flex;flex-direction:column}
.wt-pron-phase{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:10px 0 18px;min-width:0}
.wt-pron-phase h3{font-size:20px;font-weight:700;margin:0 0 8px;line-height:1.4}
.wt-pron-phase p{font-size:14px;line-height:1.7;color:var(--wt-sub);margin:0;max-width:390px}
.wt-pron-phase>.icon-spinner{font-size:32px;color:var(--wt-blue);margin-bottom:24px}
.wt-pron-phase .wt-pron-recording-state{color:var(--wt-deep);font-size:13px;margin:0 0 12px}
.wt-pron-recording-state i{font-size:8px;color:var(--wt-blue);margin-right:7px}
.wt-pron-timer{font-size:34px;font-variant-numeric:tabular-nums;line-height:1.2;margin:8px 0 20px}
.wt-pron-wave{--wt-level:0;display:flex;height:64px;align-items:center;justify-content:center;gap:5px;margin:0 0 20px}
.wt-pron-wave span{width:4px;border-radius:2px;background:var(--wt-blue);height:64px;transform:scaleY(calc(.078125 + .40625 * var(--wt-level)));transition:transform .1s linear}
.wt-pron-wave span:nth-child(3n){transform:scaleY(calc(.109375 + .75 * var(--wt-level)))}
.wt-pron-wave span:nth-child(4n){transform:scaleY(calc(.09375 + .59375 * var(--wt-level)))}
.wt-pron-player{display:flex;align-items:center;gap:14px;width:100%;max-width:380px;padding:16px;margin:25px 0 22px;background:var(--wt-quiet);border-radius:10px;text-align:left}
.wt-pron-player .wt-sound{width:46px;height:46px;background:#fff;border:1px solid var(--wt-blue)}
.wt-pron-player strong{flex:1;min-width:0;font-size:14px}
.wt-pron-player>span{color:var(--wt-sub);font-size:13px;font-variant-numeric:tabular-nums}
.wt-pron-phase .wt-pron-review-hint{font-size:13px}
.wt-pron-skip{display:inline-flex;justify-content:center;align-items:center;min-height:44px;padding:8px 10px;margin-top:4px;border:0;border-radius:6px;background:transparent;color:var(--wt-deep);font-size:13px;text-decoration:underline;text-underline-offset:3px;transition:color .2s ease,background-color .2s ease}
.wt-pron-skip:hover{background:var(--wt-quiet);color:var(--wt-blue)}
.wt-pron-card .wt-card-actions .wt-btn{font-size:15px;overflow-wrap:normal;min-width:0}
.wt-pron-note{font-size:11px;color:var(--wt-sub);text-align:center;line-height:1.6;margin:12px 0 0}
.wt-pron-listen{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:14px;margin:12px 0 0}
.wt-pron-audio{border:0;background:transparent;color:var(--wt-deep);display:inline-flex;align-items:center;gap:8px;padding:7px 5px;min-height:44px;font-size:13px;cursor:pointer;border-radius:6px;transition:background-color .2s ease,color .2s ease}
.wt-pron-audio>i{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;background:var(--wt-quiet);color:var(--wt-blue);border-radius:50%}
.wt-pron-audio:hover,.wt-pron-audio.is-playing{background:var(--wt-quiet);color:var(--wt-blue)}
.wt-pron-result-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:25px}
.wt-pron-result-heading>div:first-child{min-width:0;flex:1}
.wt-pron-title{display:flex;align-items:center;gap:5px}
.wt-pron-title h3{font-size:20px;font-weight:700;margin:0;line-height:1.4}
.wt-pron-result-heading p{font-size:12px;color:var(--wt-sub);margin:6px 0 0}
.wt-pron-info{flex:none;position:relative}
.wt-pron-info>summary{list-style:none;width:34px;height:34px;display:flex;align-items:center;justify-content:center;color:var(--wt-sub);cursor:pointer;border-radius:6px;font-size:16px;transition:background-color .2s ease,color .2s ease}
.wt-pron-info>summary::-webkit-details-marker{display:none}
.wt-pron-info>summary:hover,.wt-pron-info[open]>summary{background:var(--wt-quiet);color:var(--wt-blue)}
.wt-pron-info>summary:focus-visible{outline:2px solid var(--hd-focus,#275ea8);outline-offset:2px}
.wt-pron-info>p{position:absolute;z-index:3;top:100%;right:-30px;width:290px;max-width:calc(100vw - 50px);padding:16px;margin:6px 0 0;background:#fff;border:1px solid var(--wt-line);border-radius:10px;font-size:13px;line-height:1.6;color:var(--wt-sub)}
.wt-pron-total{white-space:nowrap;color:var(--wt-deep);display:flex;align-items:baseline;gap:5px}
.wt-pron-total strong{font-size:40px;line-height:1;font-variant-numeric:tabular-nums}
.wt-pron-total span{font-size:12px;color:var(--wt-sub)}
.wt-pron-scores{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin-bottom:24px}
.wt-pron-scores>div>div{display:flex;align-items:baseline;justify-content:space-between;gap:12px;font-size:13px}
.wt-pron-scores strong{font-variant-numeric:tabular-nums;color:var(--wt-deep)}
.wt-pron-scores small{color:var(--wt-sub);font-size:10px;font-weight:400}
.wt-pron-scores progress{appearance:none;height:5px;display:block;width:100%;border:0;margin:10px 0 0;background:var(--wt-quiet);color:var(--wt-blue);border-radius:4px;overflow:hidden}
.wt-pron-scores progress::-webkit-progress-bar{background:var(--wt-quiet)}
.wt-pron-scores progress::-webkit-progress-value{background:var(--wt-blue)}
.wt-pron-scores progress::-moz-progress-bar{background:var(--wt-blue)}
.wt-pron-feedback-list{display:grid;gap:14px}
.wt-pron-feedback{display:flex;align-items:flex-start;gap:12px;padding:16px;background:var(--wt-quiet);border-radius:10px;min-width:0}
.wt-pron-feedback>i{font-size:17px;flex:none;margin-top:1px;color:var(--wt-blue)}
.wt-pron-feedback>div{min-width:0;flex:1}
.wt-pron-feedback h3{font-size:14px;font-weight:700;line-height:1.5;margin:0 0 5px;overflow-wrap:anywhere}
.wt-pron-feedback p{font-size:13px;line-height:1.65;color:var(--wt-sub);margin:0}
.wt-pron-feedback.is-warning{background:var(--hd-warning-soft,#fff0df)}
.wt-pron-feedback.is-warning>i{color:var(--hd-warning,#94521d)}
.wt-pron-feedback.is-success>i{color:var(--hd-success,#286747)}
.wt-pron-tone-reference{display:flex;align-items:center;gap:12px;margin-top:10px;color:var(--wt-deep);font-size:12px}
.wt-pron-tone-reference svg{flex:none}
.wt-pron-syllable-status{font-family:inherit;font-size:10px;line-height:1.4;max-width:100px;margin-top:5px;white-space:normal}
.wt-pron-word .has-warning .wt-pinyin,.wt-pron-word .has-warning .wt-pron-syllable-status{color:var(--hd-warning,#94521d)}
.wt-pron-word .has-success .wt-pron-syllable-status{color:var(--hd-success,#286747)}
.wt-pron-word .has-neutral .wt-pron-syllable-status{color:var(--wt-sub)}
.wt-pron-summary{font-size:13px;padding-bottom:20px;margin:0 0 20px;border-bottom:1px solid var(--wt-line)}
.wt-pron-summary>i{color:var(--wt-blue)}
.wt-pron-summary>span{display:block;color:var(--wt-sub);margin-top:5px;font-size:12px}
.wt-result-pronunciation{max-width:620px;margin-top:24px;padding-top:22px;border-top:1px solid var(--wt-line)}
.wt-result-pronunciation .wt-pron-note{text-align:left}
@media(max-width:991px){.wt-modes.has-pronunciation{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:767px){.wt-modes.has-pronunciation{grid-template-columns:repeat(2,minmax(0,1fr))}.wt-pron-card .wt-stimulus{min-height:180px}.wt-pron-word{font-size:72px;gap:18px}.wt-pron-word .wt-pinyin{font-size:21px}.wt-pron-card.is-answered .wt-stimulus{min-height:96px}.wt-pron-card.is-answered .wt-pron-word{font-size:48px;gap:14px}.wt-pron-card.is-answered .wt-pron-word .wt-pinyin{font-size:16px}.wt-pron-title h3{font-size:16px}.wt-pron-total strong{font-size:32px}.wt-pron-result-heading{gap:10px;margin-bottom:20px}.wt-pron-info>p{right:-55px;width:270px}.wt-pron-feedback{padding:13px;gap:9px}.wt-pron-phase h3{font-size:18px}.wt-pron-player{gap:10px;padding:13px}.wt-pron-listen{gap:10px;margin-top:8px}.wt-pron-card .wt-card-actions .wt-btn{font-size:14px}.wt-pron-syllable-status{font-size:9px;max-width:90px}}
@media(max-width:479px){.wt-pron-card[data-pronunciation-phase="recording"] .wt-card-actions,.wt-pron-card[data-pronunciation-phase="stopping"] .wt-card-actions,.wt-pron-card[data-pronunciation-phase="recorded"] .wt-card-actions{flex-direction:column;gap:8px}.wt-pron-card .wt-card-actions .wt-btn{min-height:44px}.wt-pron-info>p{position:fixed;top:auto;right:20px;left:20px;max-width:none;width:auto;margin-top:8px}.wt-pron-scores{gap:14px}}
@media(max-width:379px){.wt-modes.has-pronunciation{grid-template-columns:minmax(0,1fr)}}

