/* Study translation follows the app: Chinese, pinyin, Vietnamese, English. */
#hero-dictionary-search{display:flex;align-items:center;gap:8px;padding:10px 12px;min-width:0}
#hero-query{box-sizing:border-box;display:block;flex:1;min-width:0;width:100%;min-height:68px;max-height:200px;resize:vertical;border:0;border-radius:8px;background:transparent;color:#352938;padding:6px 2px;font:inherit;font-size:16px;line-height:1.55;box-shadow:none;outline-offset:3px}
#hero-query::placeholder{color:#8c7e85;opacity:1}
#hero-dictionary-search>.tcx-query-clear{flex:0 0 28px;width:28px;min-width:28px;min-height:36px;padding:0!important;font-size:24px;color:#81717c;background:transparent!important;border:0!important;box-shadow:none!important;align-self:flex-start}
#hero-dictionary-search>button[type=submit]{flex:0 0 auto;min-height:46px;padding:10px 14px;white-space:nowrap}
#hero-dictionary-search>[hidden]{display:none!important}
#hero-dictionary-result.tcx-study-dictionary{margin-top:12px;padding:0;background:transparent!important;box-shadow:none!important;border:0!important}
.tcx-study-dictionary{min-width:0;color:#352938}
.tcx-study-dictionary [hidden]{display:none!important}
.tcx-study-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;position:relative;margin:0 0 8px;min-width:0}
.tcx-study-scripts{display:flex;flex:0 1 auto;padding:3px;border:1px solid #e9dce0;border-radius:14px;background:#f6eeee;max-width:100%}
.tcx-study-scripts button,.tcx-study-translate{min-height:42px;padding:8px 13px;border:1px solid transparent;border-radius:10px;background:transparent;color:#7b6773;font:inherit;font-size:13px;font-weight:650;cursor:pointer;white-space:nowrap}
.tcx-study-scripts button[aria-pressed=true]{background:#fff;color:#943e56;border-color:#fff;box-shadow:0 2px 4px #69344917}
.tcx-study-translate{margin-left:auto;color:#b23d55;background:#fff9f8;border-color:#ead1d6}
.tcx-study-translate:disabled{opacity:.6;cursor:wait}
.tcx-study-help{flex:0 0 auto;position:static}
.tcx-study-help>summary{display:grid;place-items:center;width:34px;height:40px;list-style:none;font-size:16px;font-weight:750;color:#a34d63;cursor:pointer}
.tcx-study-help>summary::-webkit-details-marker{display:none}
.tcx-study-help>summary:before{content:"";position:absolute;width:23px;height:23px;border:1.5px solid currentColor;border-radius:50%;pointer-events:none}
.tcx-study-help>div{position:absolute;right:0;top:calc(100% + 6px);width:min(350px,calc(100vw - 80px));padding:14px 16px;z-index:25;background:#fffdfc;border:1px solid #ead6dd;border-radius:16px;box-shadow:0 16px 32px #623b5224}
.tcx-study-help p{margin:0 0 8px;font-size:12px;line-height:1.6}.tcx-study-help p:last-child{margin:0}
#hero-dictionary-result .tcx-dictionary-status{font-size:12px;line-height:1.5;margin:6px 2px;min-height:0}
#hero-dictionary-result .tcx-dictionary-status:empty{display:none}
#hero-dictionary-result .tcx-study-result{margin:12px 0 0;padding:20px;border:1px solid #f1e0e2;background:linear-gradient(145deg,#fff,#fffafa);border-radius:20px;max-height:none;overflow:visible;box-shadow:0 4px 0 #eadbdf,0 10px 24px #69344908;overflow-wrap:anywhere}
.tcx-study-result-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.tcx-study-result-heading h3{font-size:12px!important;font-weight:650!important;color:#9a7885!important;letter-spacing:.6px;margin:0 0 12px!important}
#hero-dictionary-result .tcx-study-chinese{margin:0 0 7px;font-size:24px;line-height:1.6;font-weight:750;color:#372a3c!important;white-space:pre-wrap}
#hero-dictionary-result .tcx-dictionary-translation-pinyin{margin:0 0 18px;font-size:15px;line-height:1.7;font-weight:500;color:#26877e!important;white-space:pre-wrap}
.tcx-study-meanings{display:grid;gap:14px;margin:0 0 16px}
.tcx-study-meanings dt{font-size:11px;font-weight:650;letter-spacing:.3px;color:#a0818c;margin:0 0 4px}
.tcx-study-meanings dd{font-size:15px;line-height:1.7;color:#423542;margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
.tcx-study-dictionary .tcx-dictionary-audio{display:flex;flex-wrap:wrap;gap:8px}
.tcx-study-dictionary .tcx-dictionary-audio button{border:1px solid #eddce2;border-radius:10px;background:#fff8f8;color:#8d465b;font:inherit;font-size:12px;min-height:40px;padding:8px 13px;cursor:pointer}
.tcx-study-dictionary .tcx-dictionary-audio button[aria-pressed=true]{color:#fff;background:#b34661;border-color:#b34661}
.tcx-study-explanation{margin-top:16px!important;padding-top:13px!important;border-top:1px solid #f0e3e7!important}
.tcx-study-explanation summary,.tcx-study-words>summary{cursor:pointer;font-size:13px;color:#8c4d64!important;font-weight:650!important}
.tcx-study-explanation p{font-size:14px;line-height:1.8;white-space:pre-wrap;margin:12px 0 0}
.tcx-study-result progress{display:block;width:100%;height:5px;accent-color:#cc5c76;border:0}
.tcx-study-words{margin-top:18px;min-width:0}.tcx-study-words>summary{margin-bottom:12px}
.tcx-study-words .tcx-dictionary-results{display:grid;grid-template-columns:1fr;max-height:none;overflow:visible;gap:10px}
.tcx-study-words .tcx-dictionary-word{padding:14px 16px;background:#fffdfc;border-color:#eddfe3;box-shadow:0 2px 0 #eadde0}
.tcx-study-dictionary .tcx-dictionary-credits{margin:12px 2px 0;padding-top:10px;font-size:11px}
.tcx-study-dictionary .tcx-dictionary-sentence{margin-bottom:12px}.tcx-study-dictionary .tcx-dictionary-sentence:empty{display:none}
.tcx-study-dictionary :is(button,summary,a):focus-visible,#hero-query:focus-visible{outline:3px solid #c96883;outline-offset:3px}
@media(max-width:760px){#tu-dien.coral-hero h1{font-size:27px!important;letter-spacing:-1px!important}#hero-dictionary-search{gap:5px;padding:8px 9px}#hero-query{min-height:76px;font-size:16px}#hero-dictionary-search>button[type=submit]{padding:10px 12px;font-size:13px}#hero-dictionary-result .tcx-study-result{padding:16px}.tcx-study-scripts button,.tcx-study-translate{font-size:12px;padding:8px 10px}.tcx-study-meanings dd{font-size:14px}.tcx-study-help>div{width:min(320px,calc(100vw - 80px))}}
@media(max-width:350px){.tcx-study-scripts{flex:1 0 100%;justify-content:center}.tcx-study-scripts button{flex:1}.tcx-study-translate{margin-left:0;flex:1}#hero-dictionary-search>.tcx-query-clear{flex-basis:22px;min-width:22px;width:22px}#hero-dictionary-search>button[type=submit]{padding:9px 10px}.tcx-study-help>div{width:calc(100vw - 84px)}.public-header{gap:6px!important}.public-header .public-logo{flex:1 1 80px!important;min-width:80px!important}.public-header .public-logo-mark{width:30px;height:30px;flex:0 0 30px}.public-header .public-logo b{font-size:9px!important;min-width:40px;word-break:normal!important;overflow-wrap:normal!important}.public-header .header-actions{gap:4px!important}.header-actions .tcx-language-host select{width:62px!important;font-size:9px!important}.header-actions .public-learn-button{max-width:66px!important;font-size:9px!important}.public-header .header-admin{display:none!important}.public-header .menu-toggle{width:28px!important;min-width:28px!important;flex-basis:28px!important}}
@media(forced-colors:active){.tcx-study-dictionary :is(button,.tcx-study-result,.tcx-study-scripts,.tcx-study-help>div){border:1px solid CanvasText;background:Canvas;color:CanvasText}.tcx-study-scripts button[aria-pressed=true]{background:Highlight;color:HighlightText}}
