/* Jidian website. System fonts and local assets only. */
:root{color-scheme:light;--ink:#183c30;--muted:#68796e;--green:#006342;--deep:#004a34;--lime:#d6ebae;--paper:#fafbf7;--line:#dce5da;--soft:#eff4e8;--white:#fff;--radius:26px;font-family:Inter,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;font-synthesis:none}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:30px}body{margin:0;background:var(--paper);color:var(--ink);line-height:1.7;-webkit-font-smoothing:antialiased}img{max-width:100%;display:block}a{color:inherit;text-decoration:none}button{font:inherit}a,button,summary{-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #187d51;outline-offset:6px}button:disabled{cursor:not-allowed}h1,h2,h3,p{margin:0}h1,h2,h3{line-height:1.25;font-weight:600}p+p{margin-top:16px}a[href^="mailto:"]{overflow-wrap:anywhere}::selection{background:#d2e7a9;color:#163c2c}
.section-wrap{width:min(1280px,calc(100% - 112px));margin-inline:auto}.skip-link{position:fixed;top:8px;left:8px;z-index:100;transform:translateY(-180%);padding:10px 20px;background:#fff;border:2px solid var(--green)}.skip-link:focus{transform:none}.preview-banner{background:#fff1d5;color:#665329;text-align:center;font-size:12px;line-height:1.7;padding:8px 20px;border-bottom:1px solid #e7d9b8}.site-header{height:110px;width:min(1380px,calc(100% - 112px));margin:auto;display:flex;align-items:center;justify-content:space-between;gap:28px;border-bottom:1px solid var(--line)}.brand{display:inline-flex;gap:12px;align-items:center;flex-shrink:0}.brand>span{font-size:24px;font-weight:650;line-height:1.12;letter-spacing:2px}.brand img{border-radius:11px}.brand-en{display:block;font-size:8px;font-weight:450;letter-spacing:4px;margin-top:8px}.site-header nav{display:flex;gap:40px;font-size:14px;color:var(--muted)}.site-header nav a{padding:8px 0;position:relative}.site-header nav a:hover,.site-header nav a[aria-current="page"]{color:var(--green)}.site-header nav a[aria-current="page"]:after{content:"";position:absolute;width:4px;height:4px;left:50%;bottom:0;border-radius:50%;background:var(--green)}.nav-cta{border:1px solid #bfd0bf;border-radius:50px;padding:10px 20px;font-size:13px;display:flex;gap:24px;align-items:center;transition:background .2s}.nav-cta:hover{background:var(--soft)}.nav-cta span{font-size:21px}
.eyebrow{font-size:11px;font-weight:600;letter-spacing:2px;color:#5c745f;line-height:1.7}.status-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#6a9756;margin-right:7px;vertical-align:2px}.hero{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center;padding-block:76px 86px;min-height:720px}.hero h1{font-size:clamp(64px,6.8vw,100px);line-height:1.17;letter-spacing:-.045em;margin-top:24px}.hero-intro{font-size:23px;line-height:1.65;margin-top:28px;font-weight:450}.hero-description{font-size:15px;color:var(--muted);line-height:1.95;margin-top:18px}.hero-actions{display:flex;gap:27px;align-items:center;margin-top:32px}.button{display:inline-flex;align-items:center;justify-content:center;gap:26px;border-radius:50px;padding:15px 25px;font-size:14px;font-weight:500;min-height:52px;transition:background .2s,transform .2s}.primary{background:var(--deep);color:#fff}.primary:hover{background:#006e4a;transform:translateY(-2px)}.button span{font-size:20px;line-height:1}.text-link{display:inline-flex;gap:20px;align-items:center;font-size:14px;padding-block:10px}.text-link:hover{color:#008456}.text-link span{font-size:20px}.platform-line{display:flex;gap:20px;margin-top:24px;font-size:11px;color:#72816f}.platform-line span+span{border-left:1px solid #cad6c5;padding-left:20px}.hero-visual{position:relative;padding-top:90px;min-width:0}.hero-visual:before{content:"";position:absolute;inset:0 -30px -12px;background:radial-gradient(ellipse at 60% 48%,#e0ebcc 0%,#eff4e6 48%,transparent 73%);z-index:-1}.visual-label{position:absolute;top:20px;left:20px;font-size:12px;letter-spacing:2px;color:#74926a;max-width:140px;line-height:1.8}.word-note{position:absolute;right:26px;top:-2px;background:#fff;border:1px solid #e0e8d9;border-radius:18px;padding:22px 28px;width:250px;z-index:2;transform:rotate(5deg);box-shadow:0 15px 30px #3454220a}.word-note>span{display:block;font-size:10px;letter-spacing:1px;color:#637860}.word-note strong{display:block;font-family:Georgia,serif;font-weight:500;font-size:37px;line-height:1.5;color:var(--green)}.word-note i{font-style:normal;position:absolute;right:24px;top:43px;font-size:40px;color:#cfdfa6;transform:rotate(-14deg)}.keyboard-demo{position:relative;background:#fff;border:1px solid #d4decc;border-radius:25px;overflow:hidden;box-shadow:0 28px 70px -30px #183b3028;isolation:isolate}.demo-composer{padding:26px 24px 30px;position:relative;min-height:137px}.composer-label{font-size:10px;color:#81907e;letter-spacing:1px}.demo-composer p{margin-top:17px;font-size:19px;letter-spacing:1px;padding-right:25px}.demo-caret{display:inline-block;height:22px;width:2px;background:#638e58;vertical-align:middle;margin-left:4px}.composer-send{position:absolute;right:24px;bottom:30px;color:#fff;background:var(--deep);width:29px;height:29px;border-radius:50%;text-align:center;font-size:19px;line-height:27px}.demo-keyboard{background:#f0f3eb;padding:0 12px 13px}.demo-toolbar{display:flex;align-items:center;justify-content:space-between;padding:14px 7px 10px;color:#72846e;font-size:16px}.demo-toolbar span:nth-last-child(2){font-size:10px}.demo-toolbar img{border-radius:5px}.demo-pinyin{font-size:13px;padding:7px 12px;color:#526b4d;letter-spacing:2px;border-bottom:1px solid #dfe5d7;display:flex;justify-content:space-between}.demo-pinyin span{font-size:9px;color:#84947e;letter-spacing:0}.candidate-row{display:flex;align-items:center;padding:11px 0 14px;gap:0}.candidate{padding:0 20px;border-right:1px solid #dbe4d2;display:flex;flex-direction:column;gap:2px;white-space:nowrap}.candidate:first-child{padding-left:11px}.candidate strong{font-size:20px;font-weight:500;color:#354a32}.candidate span{font-size:10px;color:#6c7d60}.candidate.selected strong{color:#006342}.candidate.selected span{color:#477938}.candidate-more{margin-left:auto;padding-right:6px;color:#70826a}.keyboard-keys{display:grid;gap:6px}.keyboard-keys>div{display:flex;gap:5px;justify-content:center}.keyboard-keys>div:nth-child(2){padding-inline:15px}.keyboard-keys span{flex:1;text-align:center;background:#fff;border-radius:5px;box-shadow:0 1px 1px #8ca18442;padding-block:8px;min-width:0;font-size:14px;color:#385034;line-height:1.4}.keyboard-keys .key-soft{background:#e2e8d9;color:#65765b;font-size:12px}.keyboard-keys .key-space{flex:4.4;font-size:10px;letter-spacing:2px}.keyboard-keys .key-enter{flex:1.5;background:var(--deep);color:#fff;font-size:10px}.illustration-caption{text-align:center;font-size:10px;letter-spacing:1px;color:#819176;margin-top:21px}
.intent-strip{border-block:1px solid var(--line);background:#f2f6ea}.intent-strip>.section-wrap{display:flex;align-items:center;gap:50px;padding-block:26px}.intent-strip p{font-size:18px;font-weight:550}.intent-strip .intent-copy{font-size:13px;color:var(--muted)}.experience{padding-block:105px 0;scroll-margin-top:36px}.section-heading h2{font-size:46px;letter-spacing:-1.5px;margin-top:20px}.section-heading>p:last-child{color:var(--muted);font-size:14px;line-height:1.9;margin-top:22px}.feature-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-top:45px}.feature{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:38px;overflow:hidden;position:relative;min-width:0}.feature-wide{grid-column:span 2;display:grid;grid-template-columns:1fr 1fr;gap:100px;align-items:center;padding-block:46px}.feature-no{font-size:11px;color:#75836d;letter-spacing:1.5px}.feature h3{font-size:27px;line-height:1.5;letter-spacing:-.6px;margin-top:20px}.feature p{font-size:13px;color:var(--muted);line-height:1.9;margin-top:16px;max-width:400px}.mini-definition{max-width:350px;margin:26px auto 32px;padding:24px 28px 20px;border:1px solid var(--line);border-radius:15px;background:#fafbf7;transform:rotate(-2deg)}.mini-definition>div:first-child{display:flex;justify-content:space-between;align-items:center}.mini-definition strong{font:37px Georgia,serif;color:#dc742d}.mini-definition span{color:#8aa278}.mini-definition p{font-size:16px;margin-top:6px}.definition-tags{display:flex;gap:28px;font-size:11px;margin-top:20px}.definition-tags span:first-child{color:var(--green);border-bottom:2px solid #dc742d;padding-bottom:6px}.feature-green{background:#e9f1dc;border-color:#d8e6c6}.mini-vocab{max-width:350px;margin:26px auto 32px;padding:21px 26px 14px;background:#fff;border-radius:15px;box-shadow:0 8px 25px #31531e07;transform:rotate(2deg)}.mini-vocab>span{font-size:11px;color:#718362}.mini-vocab>div{display:flex;gap:18px;align-items:center;border-bottom:1px solid #edf1e8;padding:16px 0}.mini-vocab>div:last-child{border:0}.mini-vocab strong{font-size:18px;font-weight:500}.mini-vocab>div>span{font:17px Georgia,serif;color:#648151}.mini-vocab b{margin-left:auto;color:#a3b98d;font-size:16px}.quiet-section{display:grid;grid-template-columns:.75fr 1fr;align-items:center;gap:80px;padding-block:115px}.quiet-mark{font-size:150px;line-height:1;font-weight:500;position:relative;color:#427d56;letter-spacing:-15px;justify-self:center;transform:rotate(-8deg)}.quiet-mark:before{content:"";position:absolute;inset:-40px -45px;background:#edf2e2;z-index:-1;border-radius:50%;transform:rotate(30deg)}.quiet-mark>span{display:block;font:italic 50px Georgia,serif;letter-spacing:-3px;margin-left:95px;margin-top:6px;color:#7c9e66}.quiet-section h2{font-size:35px;margin-top:16px}.quiet-section p:not(.eyebrow){font-size:14px;color:var(--muted);line-height:2;margin-top:20px}.feature-pills{display:flex;gap:8px;flex-wrap:wrap;margin-block:24px 16px}.feature-pills span{border:1px solid #d4dfcc;border-radius:20px;padding:5px 12px;font-size:11px;color:#5e7556}.device-section{background:var(--deep);color:#f3f7e8;border-radius:30px;padding:56px;display:grid;grid-template-columns:1fr 1fr;gap:100px;position:relative;overflow:hidden;--rb-spotlight-color:rgba(207,232,165,.15)}.device-section .eyebrow{color:#a5c38a}.device-section h2{font-size:40px;margin-top:18px}.device-section p:not(.eyebrow){font-size:13px;color:#bbcdb6;margin-top:25px;line-height:1.9}.device-options{align-self:center}.device-options>a{display:flex;align-items:center;gap:22px;border-bottom:1px solid #49735d;padding:22px 0;transition:padding .2s}.device-options>a:hover{padding-left:8px}.device-icon{font-size:33px;line-height:1;width:32px;text-align:center;color:#d4e8af}.device-options strong{display:block;font-size:21px;font-weight:500;line-height:1.3}.device-options small{font-size:11px;color:#b2c6a6}.device-options b{margin-left:auto;font-size:23px;font-weight:400}.device-options>p{text-align:right;font-size:10px!important;margin-top:16px!important}.end-note{text-align:center;padding-block:110px}.end-note h2{font-size:43px;margin-top:20px;letter-spacing:-2px}.end-note .button{margin-top:32px}
.site-footer{width:min(1380px,calc(100% - 112px));margin:auto;border-top:1px solid var(--line);padding:40px 0 24px}.footer-top{display:flex;align-items:center;gap:48px;padding-bottom:40px}.footer-top p{font-size:13px;color:#687b61}.footer-top>a:last-child{font-size:13px;margin-left:auto}.footer-top>a:last-child span{margin-left:12px}.footer-links{display:flex;justify-content:space-between;font-size:11px;color:#6e7e65;border-top:1px solid var(--line);padding-top:22px}.footer-links nav{display:flex;gap:25px}.footer-links a:hover,.footer-registration a:hover{color:var(--green)}.footer-registration{display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;font-size:10px;color:#74816d;margin-top:16px;line-height:1.8}.footer-registration img{width:16px;height:16px;display:inline-block;vertical-align:middle;margin-right:5px}.footer-registration a{display:inline-flex;align-items:center;gap:5px}.footer-registration>span{overflow-wrap:anywhere}
.page-heading{padding-block:76px 52px}.page-heading h1{font-size:clamp(44px,5.2vw,72px);letter-spacing:-2.5px;line-height:1.24;margin-top:22px}.page-heading>p:last-child{font-size:16px;line-height:1.9;color:var(--muted);margin-top:26px}.download-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.download-card{border:1px solid var(--line);border-radius:var(--radius);background:#fff;padding:36px;position:relative;overflow:hidden;scroll-margin-top:30px}.download-top{display:flex;align-items:center;justify-content:space-between}.large-device-icon{font-size:46px;line-height:1;color:var(--green)}.status-pill{display:inline-block;padding:4px 12px;border-radius:20px;background:#e6f0d9;color:#4b6f3a;font-size:11px}.status-pill.pale{background:#f2f4ed;color:#77846e}.download-card h2{font-size:33px;margin-top:32px}.download-subtitle{font-size:16px;margin-top:12px}.download-card>p:not(.download-subtitle){font-size:13px;color:var(--muted);line-height:1.9;margin-top:22px}.download-card dl{margin:30px 0;border-top:1px solid var(--line)}.download-card dl>div{display:flex;gap:20px;justify-content:space-between;border-bottom:1px solid var(--line);padding:13px 0;font-size:12px}.download-card dt{color:#7c8a74}.download-card dd{margin:0;text-align:right}.download-button{display:flex;justify-content:center;align-items:center;width:100%;padding:14px 20px;border:1px solid #d6e0cd;border-radius:40px;background:var(--soft);color:#637757;font-size:14px;font-weight:500;min-height:52px}.download-button:not(:disabled):hover{background:#deebcf}.download-card .download-hint{font-size:10px!important;text-align:center;margin-top:13px!important}.info-row{display:grid;grid-template-columns:1.3fr 1fr;gap:80px;padding-block:70px;border-bottom:1px solid var(--line)}.info-row h2{font-size:28px;margin-top:15px}.info-row p{font-size:13px;line-height:1.9;color:var(--muted);margin-top:20px}.side-note{background:#eef3e6;padding:28px 32px;border-radius:20px;align-self:start}.side-note h3{font-size:20px}.side-note .download-button{margin-top:22px;font-size:12px;min-height:40px;background:#e1e9d7}.download-assurance{display:flex;gap:35px;margin-block:50px 80px;max-width:850px}.download-assurance>span{font-size:38px;color:#7b9d63}.download-assurance h2{font-size:23px}.download-assurance p{color:var(--muted);font-size:13px;line-height:1.95;margin-top:18px}.download-assurance .text-link{margin-top:14px}
.help-layout{display:grid;grid-template-columns:1.65fr 1fr;gap:70px;margin-bottom:95px;align-items:start}.faq-list h2{font-size:25px;margin-bottom:25px}.faq-list details{border-top:1px solid var(--line);padding:23px 0}.faq-list details:last-child{border-bottom:1px solid var(--line)}.faq-list summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;gap:20px;font-size:16px;font-weight:500}.faq-list summary::-webkit-details-marker{display:none}.faq-list summary>span{font-size:20px;line-height:1.3;color:#789361}.faq-list details[open] summary>span{transform:rotate(45deg)}.faq-list details p,.faq-list details ol{font-size:13px;line-height:2;color:var(--muted);margin-top:18px}.faq-list details p a{color:var(--green);border-bottom:1px solid #94b88b}.contact-card{background:#edf3e4;border:1px solid #dfE8d4;border-radius:24px;padding:32px;position:relative;overflow:hidden}.contact-card h2{font-size:27px;margin-top:16px}.contact-card p{font-size:13px;color:var(--muted);line-height:1.9;margin-top:18px}.contact-value{margin-top:27px;font-size:15px;font-weight:500;overflow-wrap:anywhere}.contact-card .small-copy{font-size:11px;margin-top:22px}.contact-card hr{border:0;border-top:1px solid #d4dfc9;margin:30px 0 22px}.small-label{font-size:11px;color:#7a8a70}.contact-card .small-label+p{margin-top:8px}
.legal-layout{display:grid;grid-template-columns:1fr 1.75fr;gap:90px;padding-block:80px 100px}.legal-aside h1{font-size:39px;letter-spacing:-1px;margin-top:24px}.legal-aside>p:not(.eyebrow){font-size:14px;line-height:1.95;color:var(--muted);margin-top:22px}.legal-aside .small-label{display:block;margin-top:30px}.legal-content{min-width:0}.legal-content .lead{font-size:17px;line-height:1.9;color:var(--ink);padding-bottom:28px;border-bottom:1px solid var(--line)}.legal-content h2{font-size:21px;margin-top:35px;margin-bottom:17px}.legal-content p{font-size:14px;line-height:2;color:var(--muted)}.legal-content a{color:var(--green);border-bottom:1px solid #99b28c}.policy-note{font-size:13px;line-height:2;background:#f0f4e9;border:1px solid #dfe7d4;border-radius:14px;padding:20px;margin-top:22px}.not-found{text-align:center;padding-block:80px 110px}.error-code{font:italic 140px Georgia,serif;line-height:1.3;color:#c6d9b1}.not-found h1{font-size:35px;margin-top:25px}.not-found p{font-size:15px;color:var(--muted);margin-top:22px}.not-found .button{margin-top:30px}
/* Layered brand atmosphere. Every layer is decorative and works without JS. */
body{background-image:radial-gradient(ellipse 66% 580px at 100% 0,rgba(146,208,173,.24),transparent 78%),radial-gradient(ellipse 48% 760px at 0 290px,rgba(218,235,175,.2),transparent 76%);background-repeat:no-repeat}
.site-header{position:relative;z-index:2}
.hero-scene{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(110deg,rgba(250,251,247,.9) 12%,rgba(241,247,225,.5) 51%,rgba(211,238,221,.65) 100%)}
.hero-scene:before{content:"";pointer-events:none;position:absolute;z-index:0;width:950px;height:690px;left:calc(50% + 60px);top:-200px;border:1px solid rgba(53,128,93,.13);border-radius:50%;box-shadow:0 0 0 65px rgba(255,255,255,.1),0 0 0 66px rgba(53,128,93,.08),0 0 0 135px rgba(255,255,255,.06),0 0 0 136px rgba(53,128,93,.06);transform:rotate(-32deg)}
.hero-scene:after{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;background-image:radial-gradient(circle,rgba(32,103,70,.2) .7px,transparent .9px);background-size:22px 22px;mask-image:linear-gradient(115deg,transparent 33%,#000 100%);opacity:.42}
.hero-scene .hero{position:relative;z-index:1}.hero-visual:before{display:none}
.hero-copy>.eyebrow{display:inline-flex;align-items:center;padding:7px 12px;border:1px solid rgba(111,157,106,.23);border-radius:30px;background:rgba(255,255,255,.48);letter-spacing:1.6px}
.hero-copy>.eyebrow .status-dot{vertical-align:initial;box-shadow:0 0 0 4px rgba(104,151,86,.08)}
.hero-scene .platform-line{color:#61765b}.hero-scene .illustration-caption{color:#5c7358}.hero-scene .visual-label{color:#5d7d55}
.hero-scene .keyboard-demo{box-shadow:0 32px 65px -30px rgba(4,76,45,.3),0 1px 0 rgba(255,255,255,.9)}
.intent-strip{background:linear-gradient(105deg,#eef4e2,#e3efda 58%,#ecf5e8)}
.experience{position:relative;isolation:isolate}.experience:before{content:"";pointer-events:none;position:absolute;inset:0 0 -40px;z-index:-1;background:radial-gradient(ellipse at 93% 25%,rgba(204,231,208,.4),transparent 48%),radial-gradient(ellipse at 6% 83%,rgba(227,237,195,.34),transparent 53%)}
.device-section{background-image:radial-gradient(ellipse at 100% 0,rgba(132,182,97,.28),transparent 70%),linear-gradient(120deg,transparent 44%,rgba(81,130,85,.13) 44.1%,transparent 44.4%,transparent 55%,rgba(81,130,85,.13) 55.1%,transparent 55.4%)}
.end-note{background:radial-gradient(ellipse at 50% 65%,rgba(216,235,184,.47),transparent 66%)}
@media(max-width:800px){.hero-scene:before{width:670px;height:680px;left:28%;top:410px}.hero-scene:after{mask-image:linear-gradient(180deg,transparent 30%,#000 95%)}.hero-scene{background:linear-gradient(155deg,rgba(250,251,247,.85) 20%,rgba(235,246,221,.65) 58%,rgba(200,232,213,.68) 100%)}}
@media(forced-colors:active){body,.hero-scene,.intent-strip,.device-section,.end-note{background-image:none}.hero-scene:before,.hero-scene:after,.experience:before{display:none}.hero-copy>.eyebrow{background:Canvas}}
@media(min-width:1600px){.hero{min-height:800px;gap:100px}.hero h1{font-size:104px}.hero-visual{padding-top:100px}}
@media(max-width:1100px){.section-wrap,.site-header,.site-footer{width:calc(100% - 64px)}.hero{gap:25px;padding-block:65px}.hero h1{font-size:75px}.hero-intro{font-size:20px}.hero-actions{gap:18px}.hero-actions .button{padding-inline:20px;font-size:12px}.hero-actions .text-link{font-size:12px;gap:12px}.candidate{padding-inline:14px}.feature-wide{gap:40px}.device-section{gap:45px;padding:44px}.quiet-section{gap:40px}.help-layout{gap:40px}.legal-layout{gap:55px}.footer-top{gap:30px}}
@media(max-width:800px){.site-header{height:88px}.nav-cta{display:none}.site-header nav{gap:25px}.hero{grid-template-columns:1fr;padding-block:52px 50px;gap:55px}.hero-copy{max-width:530px}.hero h1{font-size:83px}.hero-intro br{display:none}.hero-intro{font-size:21px;margin-top:25px}.hero-description{margin-top:16px}.hero-visual{width:min(540px,100%);justify-self:center;padding-top:115px;margin-bottom:5px}.word-note{right:15px;top:0;width:240px}.visual-label{top:32px}.hero-visual:before{inset:0 -10px}.intent-strip>.section-wrap{gap:25px}.intent-strip p{font-size:16px}.intent-strip .intent-copy{font-size:11px}.experience{padding-top:66px}.section-heading h2{font-size:37px}.feature{padding:28px}.feature-wide{gap:40px;grid-template-columns:1fr}.feature-wide h3 br{display:none}.feature h3{font-size:23px}.mini-definition,.mini-vocab{padding:22px 18px;transform:none}.mini-vocab>div{gap:12px}.mini-vocab>div>span{font-size:14px}.mini-definition strong{font-size:32px}.definition-tags{gap:20px}.quiet-section{padding-block:90px;grid-template-columns:.6fr 1fr;gap:40px}.quiet-mark{font-size:110px;letter-spacing:-10px}.quiet-mark>span{font-size:40px;margin-left:60px}.quiet-mark:before{inset:-30px}.quiet-section h2{font-size:28px}.device-section{grid-template-columns:1fr;gap:25px}.device-section h2{font-size:36px}.device-section h2 br{display:none}.device-options{display:grid;grid-template-columns:1fr 1fr;column-gap:30px}.device-options>p{grid-column:span 2}.end-note{padding-block:75px}.end-note h2{font-size:35px}.footer-top{gap:20px}.footer-top p{display:none}.download-card{padding:26px}.download-card dl>div{display:block}.download-card dd{text-align:left;margin-top:4px}.info-row{gap:35px}.page-heading{padding-block:55px 40px}.page-heading h1{font-size:58px}.help-layout{grid-template-columns:1fr;gap:40px}.contact-card{max-width:none}.legal-layout{grid-template-columns:1fr;gap:35px;padding-block:55px}.legal-aside>p br{display:none}}
@media(max-width:520px){.section-wrap,.site-header,.site-footer{width:calc(100% - 40px)}.preview-banner{padding:7px 16px;font-size:10px}.site-header{height:82px;gap:14px}.brand{gap:8px}.brand>span{font-size:20px}.brand-en{font-size:7px;letter-spacing:3px;margin-top:6px}.brand img{width:33px;height:33px}.site-header nav{font-size:12px;gap:17px}.hero{padding-top:40px;gap:36px}.hero h1{font-size:64px;letter-spacing:-3px;margin-top:20px}.eyebrow{font-size:9px;letter-spacing:1.7px}.hero-intro{font-size:18px;line-height:1.85;margin-top:20px}.hero-description{font-size:13px}.hero-actions{margin-top:27px;gap:20px}.hero-actions .button{font-size:12px;gap:16px;min-height:47px;padding:12px 18px}.hero-actions .text-link{font-size:11px;gap:8px}.platform-line{font-size:10px;gap:13px;margin-top:20px}.platform-line span+span{padding-left:13px}.hero-visual{padding-top:100px}.visual-label{display:none}.word-note{width:207px;padding:18px 23px;right:14px}.word-note strong{font-size:31px}.word-note>span{font-size:8px}.word-note i{font-size:34px;right:22px;top:37px}.keyboard-demo{border-radius:20px}.demo-composer{padding:20px 18px 23px;min-height:118px}.demo-composer p{font-size:16px;margin-top:15px}.composer-send{right:18px;bottom:24px;width:25px;height:25px;font-size:17px;line-height:23px}.demo-keyboard{padding:0 8px 9px}.demo-toolbar{padding:11px 7px 7px;font-size:14px}.demo-toolbar img{width:20px;height:20px}.demo-pinyin{padding:5px 9px;font-size:12px}.candidate-row{padding:9px 0 11px}.candidate{padding-inline:17px}.candidate strong{font-size:18px}.candidate span{font-size:9px}.keyboard-keys{gap:5px}.keyboard-keys>div{gap:4px}.keyboard-keys span{padding-block:7px;font-size:12px;border-radius:4px}.keyboard-keys .key-space{font-size:8px;letter-spacing:1px}.keyboard-keys .key-soft{font-size:10px}.keyboard-keys .key-enter{font-size:9px}.illustration-caption{font-size:9px;margin-top:17px}.intent-strip>.section-wrap{display:block;position:relative;padding-block:23px;padding-right:20px}.intent-strip p{font-size:17px}.intent-strip .intent-copy{display:block;margin-top:8px;font-size:11px}.experience{padding-top:55px}.section-heading h2{font-size:34px;letter-spacing:-1px;margin-top:14px}.section-heading>p:last-child{font-size:12px;margin-top:18px}.feature-grid{grid-template-columns:1fr;gap:17px;margin-top:30px}.feature{border-radius:20px;padding:26px}.feature-wide{grid-column:span 1;gap:25px}.feature h3{font-size:23px;margin-top:15px}.feature p{font-size:12px;line-height:1.95;margin-top:14px}.feature-no{font-size:9px}.mini-definition,.mini-vocab{max-width:290px;margin-block:24px 28px}.quiet-section{grid-template-columns:1fr;text-align:center;gap:40px;padding-block:85px 58px}.quiet-mark{font-size:90px;letter-spacing:-8px}.quiet-mark>span{font-size:35px;margin-left:50px}.quiet-mark:before{inset:-23px}.quiet-section h2{font-size:27px}.quiet-section p:not(.eyebrow){font-size:12px;margin-top:15px}.feature-pills{justify-content:center;margin-block:20px 12px}.feature-pills span{font-size:10px}.device-section{padding:30px 26px;border-radius:23px;gap:15px}.device-section h2{font-size:29px;line-height:1.4;margin-top:14px}.device-section p:not(.eyebrow){font-size:12px;margin-top:17px}.device-options{grid-template-columns:1fr;gap:0}.device-options>p{grid-column:span 1;font-size:9px!important}.device-options>a{padding:18px 0}.device-options strong{font-size:20px}.end-note{padding-block:65px}.end-note h2{font-size:31px;letter-spacing:-1.5px;line-height:1.5}.end-note h2>span{display:block}.end-note .button{font-size:12px;padding:13px 22px;min-height:48px;margin-top:24px}.footer-top{padding-bottom:25px}.footer-top>a:last-child{font-size:11px}.site-footer{padding-top:26px}.footer-links{display:block;font-size:10px;padding-top:20px}.footer-links nav{margin-top:14px;gap:20px;flex-wrap:wrap}.footer-registration{font-size:9px;display:block;margin-top:16px}.footer-registration>*{display:block!important;margin-top:7px}.page-heading{padding-block:43px 30px}.page-heading h1{font-size:44px;letter-spacing:-2px;margin-top:16px}.page-heading>p:last-child{font-size:13px;margin-top:20px}.download-grid{grid-template-columns:1fr;gap:20px}.download-card{padding:28px;border-radius:22px}.download-card h2{font-size:31px;margin-top:26px}.download-subtitle{font-size:15px}.download-card dl>div{display:flex}.download-card dd{text-align:right;margin-top:0}.info-row{grid-template-columns:1fr;gap:30px;padding-block:45px}.info-row h2{font-size:25px}.side-note{padding:26px}.download-assurance{gap:20px;margin-block:35px 55px}.download-assurance>span{font-size:28px}.download-assurance h2{font-size:21px}.download-assurance p{font-size:12px}.help-layout{margin-bottom:55px}.faq-list h2{font-size:23px}.faq-list summary{font-size:14px}.faq-list details{padding-block:21px}.faq-list details p,.faq-list details ol{font-size:12px}.contact-card{padding:27px}.contact-card h2{font-size:25px}.legal-layout{padding-block:45px;gap:30px}.legal-aside h1{font-size:33px;margin-top:16px}.legal-aside>p:not(.eyebrow){font-size:13px;margin-top:16px}.legal-aside .small-label{margin-top:20px}.legal-content .lead{font-size:15px;padding-bottom:24px}.legal-content h2{font-size:20px;margin-top:28px}.legal-content p{font-size:13px}.policy-note{font-size:12px;padding:17px}.not-found{padding-block:55px 75px}.error-code{font-size:110px}.not-found h1{font-size:27px}.not-found p{font-size:13px}}
@media(max-width:355px){.section-wrap,.site-header,.site-footer{width:calc(100% - 30px)}.site-header nav{gap:12px;font-size:11px}.brand>span{font-size:18px}.brand img{width:29px;height:29px}.hero h1{font-size:56px}.hero-actions{gap:12px}.hero-actions .button{padding-inline:14px;font-size:11px}.hero-actions .text-link{font-size:10px}.candidate{padding-inline:13px}.keyboard-keys span{font-size:10px}.keyboard-keys .key-space{font-size:7px}.page-heading h1{font-size:39px}.download-card{padding:23px}.download-card dl>div{font-size:11px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}.primary:hover{transform:none}}

/* Local hero keyboard and word-learning sheet, following the supplied app reference. */
.hero-demo,.hero-visual#try-demo{scroll-margin-top:28px}
.hero-demo #try-demo-composition{flex:0 1 90px}
.hero-demo .demo-pinyin.live-pinyin{justify-content:flex-start}
.hero-demo #try-demo-clear{top:auto;right:53px;bottom:16px}
.hero-demo .demo-composer #try-demo-output{padding-right:80px}
.hero-demo .demo-composer{padding:22px 24px 23px;min-height:123px}
.hero-demo .composer-label{display:block;padding-right:42px}
#try-demo-clear{position:absolute;right:18px;top:8px;min-width:44px;min-height:44px;padding:8px 0;background:transparent;border:0;color:#708568;font-size:10px;cursor:pointer}
#try-demo-clear:hover:not(:disabled){color:var(--green);text-decoration:underline;text-underline-offset:4px}
.hero-demo #try-demo-output{max-height:63px;min-height:31px;margin-top:14px;padding-right:27px;overflow-y:auto;overscroll-behavior:contain;overflow-wrap:anywhere;white-space:pre-wrap;font-size:14px;line-height:1.6;letter-spacing:.4px;color:#83907b}
.hero-demo #try-demo-output.has-text{font-size:19px;color:var(--ink)}
.hero-demo #try-demo-output.has-text::after{content:"";display:inline-block;width:2px;height:21px;margin-left:4px;background:#719960;vertical-align:-3px}
.hero-demo .composer-send{bottom:24px}
.hero-demo .demo-keyboard{background:radial-gradient(ellipse at 100% 0,#c4dfcf,transparent 65%),linear-gradient(125deg,#e6efd9,#d7e6db 60%,#d2e3c7)}
.hero-demo .demo-toolbar{padding:11px 7px 8px;color:#55755f}
.hero-demo .live-pinyin{align-items:center;gap:12px;padding:2px 5px 7px 11px;min-height:45px;border-bottom-color:#bcd2b7}
#try-demo-composition{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;line-height:1.7;letter-spacing:1.4px;color:#315b45}
#try-demo-composition.is-empty{font-size:10px;letter-spacing:.5px;color:#7e9479}
.candidate-guide{display:flex;align-items:center;gap:6px;flex:0 0 auto;padding:5px 9px 5px 7px;border:1px solid #cfdfc4;border-radius:10px;background:#f8fbf0;box-shadow:0 2px 4px #6e8d4b08}
.hero-demo .candidate-guide>span{font-size:10px;line-height:1.5;letter-spacing:0;color:#6b835b}
.hero-demo .candidate-guide .candidate-guide-arrow{font-size:25px;line-height:1;color:#7fa05f;flex-shrink:0;align-self:flex-end}
.hero-demo .kbd-candidates{display:flex;align-items:stretch;gap:3px;min-width:0;min-height:68px;max-width:100%;padding:7px 0 10px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#a9c5a6 transparent}
.hero-demo .try-demo-candidate{flex:0 0 auto;display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;gap:4px;max-width:160px;min-width:78px;min-height:75px;padding:6px 11px;border:1px solid transparent;border-right-color:#b9d0b3;border-radius:9px;background:transparent;color:var(--ink);text-align:left;white-space:normal;cursor:pointer;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;touch-action:pan-x pan-y;transition:background .12s,border-color .12s}
/* Non-candidate demo controls keep their normal selection suppression.
   Candidate children use the original site's CSS and an explicit selectstart
   listener, so native Android contextmenu can still reach the gesture handler. */
#try-demo-keyboard button,#try-demo-keyboard button *,#try-demo-clear,#try-demo-expand,
#try-demo .demo-example-words button,#try-demo .demo-example-words button *{
  -webkit-user-select:none;user-select:none;-webkit-touch-callout:none
}
.hero-demo .try-demo-candidate:first-child{padding-left:11px;background:#f4f9e9;border-color:#e5efdc}
.hero-demo .try-demo-candidate strong{font-size:20px;line-height:1.3;font-weight:500;color:#294b3c;flex:0 0 auto}
.hero-demo .try-demo-candidate>span{max-width:125px;font-size:11px;line-height:1.5;color:#5b7a55;overflow-wrap:anywhere}
.hero-demo .try-demo-candidate small{display:block;font-size:9px;font-weight:400;line-height:1.6;color:#829477;margin-top:3px}
.hero-demo .try-demo-candidate .demo-candidate-meta{display:flex;flex-direction:column;gap:3px;min-width:0;max-width:125px}
.hero-demo .try-demo-candidate .translation{font-size:12px;line-height:1.5;color:#58794f;overflow-wrap:anywhere}
.hero-demo .try-demo-candidate .ipa{font-size:9px;line-height:1.6;color:#829477;overflow-wrap:anywhere}
.kbd-candidate-hint{display:flex;align-items:center;min-height:48px;max-width:100%;margin:0!important;padding:5px 11px;font-size:10px;line-height:1.8;color:#788e6c;overflow-wrap:anywhere}
.hero-demo .try-demo-candidate:hover:not(:disabled),.hero-demo .try-demo-candidate.is-selected,.hero-demo .try-demo-candidate[aria-pressed="true"]{background:#eef6df;border-color:#bed4ad}
.hero-demo .try-demo-candidate.is-selected strong,.hero-demo .try-demo-candidate[aria-pressed="true"] strong,.hero-demo .try-demo-candidate:first-child strong{color:var(--green)}
.kbd-keyboard{display:grid;gap:7px;padding:0 0 2px;min-width:0;outline-offset:-3px}
.kbd-row{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:5px;min-width:0}
.kbd-row-middle{grid-template-columns:repeat(9,minmax(0,1fr));margin-inline:5%}
.kbd-row-bottom{grid-template-columns:minmax(0,1.22fr) repeat(7,minmax(0,1fr)) minmax(0,1.22fr);margin:0}
.kbd-row-actions{grid-template-columns:minmax(0,1.1fr) minmax(0,1.3fr) minmax(0,.7fr) minmax(0,3.4fr) minmax(0,.7fr) minmax(0,1.3fr)}
.kbd-key{position:relative;display:flex;align-items:center;justify-content:center;min-width:0;min-height:44px;padding:5px 0;border:1px solid #f0f5ea;border-bottom-color:#aabfa9;border-radius:7px;background:linear-gradient(155deg,#fff 25%,#f0f6ed);color:#253e35;font-size:18px;font-weight:450;line-height:1.4;box-shadow:0 1.5px 0 #aabfa9,inset 0 1px #fff;cursor:pointer;touch-action:manipulation;user-select:none;-webkit-user-select:none;transition:background .1s,transform .1s,box-shadow .1s}
.kbd-letter{padding-top:12px}
.kbd-letter::before{content:attr(data-key-hint);position:absolute;top:2px;left:0;right:0;text-align:center;font-size:9px;line-height:1.2;color:#9aaa9c;font-weight:400}
.kbd-keyboard.is-numbers .kbd-letter{padding-top:5px}
.kbd-keyboard.is-numbers .kbd-letter::before{display:none}
.kbd-key:hover:not(:disabled){background:#f5faeb;border-color:#a4c18a}
.kbd-key:active:not(:disabled),.kbd-key.is-active,.kbd-key[aria-pressed="true"]{background:#d6e9bc;border-color:#8dae73;transform:translateY(1px);box-shadow:none}
.kbd-key-soft{background:linear-gradient(145deg,#dfeada,#c8dfd1);color:#42674e;font-size:17px}
.kbd-key svg{display:block;max-width:75%;flex-shrink:0;pointer-events:none}
.kbd-key-space{gap:7px;font-size:13px;letter-spacing:1px;color:#68836c}
.kbd-mic{color:#9eb4a1;opacity:.9}
.kbd-key-mode,.kbd-key-numbers{font-size:11px;white-space:nowrap;letter-spacing:0}
.kbd-key-enter{background:linear-gradient(120deg,#315d47,#175342 70%,#276c50);border-color:#285c46;color:#fff}
.kbd-key-enter:hover:not(:disabled){background:#246e4f;border-color:#246e4f}
.kbd-key-enter:active:not(:disabled),.kbd-key-enter.is-active{background:#37855e;border-color:#37855e}
.hero-demo button:disabled,.demo-example-words button:disabled{opacity:.5;cursor:not-allowed}
.hero-demo button:focus-visible{outline:2px solid #187d51;outline-offset:1px;z-index:1}
.kbd-keyboard:focus-visible{outline:2px solid #187d51;outline-offset:-2px;border-radius:5px}
.kbd-mode-status{text-align:center;font-size:9px;line-height:1.7;letter-spacing:1px;color:#7b9273;padding-top:8px;margin:0!important}
.kbd-status{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.kbd-status.is-visible{position:static!important;width:auto!important;height:auto!important;clip:auto!important;clip-path:none!important;white-space:normal!important;overflow:visible!important;margin:8px 12px;padding:7px 10px;background:#fff6e2;color:#66552c;font-size:11px;border-radius:7px}
.kbd-noscript{padding:10px 16px;background:#fff6e2;border-top:1px solid #e7ddc5;color:#6b5d38;font-size:11px;line-height:1.8}
.demo-example-words{display:flex;align-items:center;justify-content:center;gap:6px;max-width:100%;margin-top:9px}
.demo-example-words>span{font-size:10px;line-height:1.7;color:#809372;margin-right:3px;white-space:nowrap}
.demo-example-words button{min-height:38px;min-width:40px;padding:5px 9px;border:1px solid #d4e0ca;border-radius:20px;background:#f5f9ee;color:#577249;font-size:11px;line-height:1.5;cursor:pointer;white-space:nowrap}
.demo-example-words button:hover:not(:disabled){background:#e6f0d8;border-color:#abc396}
.demo-example-words button:focus-visible{outline:2px solid #187d51;outline-offset:2px}
.live-demo-caption{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:0 6px;min-height:34px;margin-top:0;font-size:9px;letter-spacing:.5px}
.live-demo-caption a{display:inline-flex;align-items:center;min-height:34px;text-decoration:underline;text-decoration-color:#a8bea0;text-underline-offset:3px}
.live-demo-caption a:hover{color:var(--green)}
.word-details{width:min(740px,calc(100% - 48px));height:min(860px,90vh);height:min(860px,90dvh);max-width:740px;max-height:90dvh;margin:auto;padding:0;border:1px solid #d2dfcb;border-radius:27px;background:radial-gradient(ellipse at 100% 0,#e3efda,transparent 58%),linear-gradient(#fff,#f8fcf6);color:#253e35;box-shadow:0 24px 90px #14342640;overflow:hidden}
.word-details[open]{display:flex;flex-direction:column}
.word-details::backdrop{background:rgba(19,48,36,.38);backdrop-filter:blur(4px)}
.word-details [hidden]{display:none!important}
.word-details-handle{width:44px;height:4px;background:#dbe6d5;border-radius:9px;margin:13px auto 4px;flex-shrink:0}
.word-details-header{flex-shrink:0;padding:10px 32px 17px;min-width:0}
.word-details-top{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:44px;margin-bottom:14px}
#word-details-brand{font-size:11px;line-height:1.7;letter-spacing:1.6px;color:#7a8f80}
#word-details-close{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:44px;height:44px;margin-right:-10px;padding:0;border:0;border-radius:50%;background:transparent;color:#6c8576;font-size:28px;font-weight:300;line-height:1;cursor:pointer;margin-left:auto}
#word-details-close:hover{background:#e4eddf;color:#3f664c}
#word-details-back{min-height:44px;padding:5px 0;border:0;background:transparent;color:#65816a;font-size:13px;cursor:pointer;text-align:left}
#word-details-back:hover{color:var(--green)}
.word-details-title-row{display:flex;align-items:center;justify-content:space-between;gap:18px;min-width:0}
#word-details-title{font-family:Inter,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;font-size:39px;line-height:1.2;letter-spacing:-1px;font-weight:650;color:#e9762c;overflow-wrap:anywhere;margin:0;min-width:0}
#word-details-favorite{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:48px;height:48px;padding:0;border:0;border-radius:50%;background:transparent;color:#6c8473;font-family:"Segoe UI Symbol","Arial",sans-serif;font-size:34px;font-weight:400;line-height:1;cursor:pointer}
#word-details-favorite:hover{background:#edf3e7;color:#dd853e}
#word-details-favorite[aria-pressed="true"]{color:#e29439}
.word-details-ipa{font-size:13px;line-height:1.8;color:#7c9081;margin-top:12px!important;overflow-wrap:anywhere}
.word-details-meaning{font-size:15px;line-height:1.85;color:#2e493c;margin-top:18px!important;white-space:pre-line;overflow-wrap:anywhere}
.word-details-pinyin{font-size:11px;line-height:1.8;color:#8c9a87;margin-top:7px!important;overflow-wrap:anywhere}
.word-details-tabs{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));flex-shrink:0;margin:0 24px;border-bottom:1px solid #d5e1ce;min-width:0}
.word-details-tabs button{position:relative;min-width:0;min-height:52px;padding:11px 2px 14px;border:0;background:transparent;color:#7b9281;font-size:14px;line-height:1.4;white-space:nowrap;cursor:pointer}
.word-details-tabs button[aria-selected="true"]{color:#254a3a;font-weight:650}
.word-details-tabs button[aria-selected="true"]::after{content:"";position:absolute;left:calc(50% - 9px);bottom:0;width:18px;height:3px;border-radius:5px;background:#e9762c}
.word-details-tabs button:hover{color:#375e43;background:#edf3e680}
.word-details button:focus-visible{outline:2px solid #6e9560;outline-offset:-2px}
.word-details-content{flex:1 1 auto;min-height:0;min-width:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#c2d2b5 transparent;padding:24px 32px 30px;line-height:1.9;overflow-wrap:anywhere}
.word-details-content:focus-visible{outline:2px solid #9ab88a;outline-offset:-3px}
.word-details-content h3{font-size:17px;line-height:1.6;font-weight:600;color:#2e5040;margin:0 0 12px}
.word-details-content p{font-size:14px;line-height:1.9;color:#4b6958}
.word-details-content p+p{margin-top:12px}
.word-details-content .demo-detail-purpose{font-size:12px;color:#738571;margin:0 0 22px}
.word-details-content .demo-detail-more{font-size:12px;line-height:1.9;color:#78866f;margin:18px 0 8px}
.word-details-content .demo-detail-note{font-size:13px;color:#72816d}
.demo-detail-card.demo-detail-tree{position:relative;padding-bottom:20px;margin-bottom:16px}
.demo-detail-card.demo-detail-tree::before{content:"";position:absolute;left:0;top:18px;width:12px;border-top:1px solid #d9e5cd}
.word-details-content h3.demo-detail-heading{color:#d87335}
.demo-detail-card{padding:0 0 23px;margin-bottom:23px;border-bottom:1px solid #dce6d5;min-width:0}
.demo-detail-card:last-child{margin-bottom:0;padding-bottom:0;border-bottom:0}
.demo-detail-heading{display:flex;align-items:baseline;gap:9px;font-size:14px;font-weight:600;line-height:1.8;color:#315242;margin-bottom:13px}
.demo-detail-index{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 5px;background:#e7f1dc;border-radius:5px;font-size:11px;color:#789363;font-weight:450}
.word-details-content .demo-detail-en{font-family:Georgia,"Times New Roman",serif;font-size:18px;line-height:1.85;color:#2e4d3f}
.word-details-content .demo-detail-zh{font-size:14px;line-height:1.9;color:#496555}
.word-details-content .demo-detail-source{font-size:11px;line-height:1.8;color:#849578;margin-top:13px;overflow-wrap:anywhere}
.demo-detail-source a{color:#728d54;text-decoration:none}
.demo-detail-source a:hover{color:#52783c;text-decoration:underline;text-underline-offset:3px}
.demo-detail-tree{list-style:none;border-left:1px solid #d9e5cd;padding:0 0 0 18px;margin:4px 0 0 6px}
.demo-detail-tree>.demo-detail-card,.demo-detail-tree>li{position:relative}
.demo-detail-tree>.demo-detail-card::before,.demo-detail-tree>li::before{content:"";position:absolute;left:-18px;top:14px;width:12px;border-top:1px solid #d9e5cd}
.demo-detail-word{display:inline-flex;align-items:center;min-height:36px;padding:2px 5px;margin-left:-5px;border:0;border-radius:5px;background:transparent;color:#b53e36;font-size:16px;line-height:1.6;font-weight:550;text-decoration:none;cursor:pointer;overflow-wrap:anywhere;text-align:left}
.demo-detail-word:hover{color:#943127;background:#b53e3610;text-decoration:none}
.demo-detail-word:focus-visible{outline:2px solid #9d635d;outline-offset:2px}
.demo-detail-exam-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:18px}
.demo-detail-exam-card{padding:17px 18px;border:1px solid #d7e2d4;border-radius:13px;background:#f8fbf6;min-width:0}
.demo-detail-exam-card h3{font-size:16px;margin-bottom:15px}
.demo-detail-exam-card p,.demo-detail-exam-card>div{display:flex;align-items:baseline;justify-content:space-between;gap:12px;font-size:12px;line-height:1.8;color:#7a9180}
.demo-detail-exam-card p+p,.demo-detail-exam-card>div+div{margin-top:13px}
.demo-detail-exam-card strong{font-size:18px;font-weight:600;color:#2f5140;white-space:nowrap}
.demo-detail-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:220px;max-width:420px;margin:0 auto;padding:20px 10px 30px;text-align:center}
.demo-detail-empty>span:first-child,.demo-detail-empty-icon{display:grid;place-items:center;width:52px;height:52px;margin-bottom:19px;border-radius:50%;background:#eaf2e2;color:#8ca779;font-size:25px;line-height:1}
.demo-detail-empty h3{font-size:18px;font-weight:500;color:#567748;margin-bottom:12px}
.word-details-content .demo-detail-empty p{max-width:330px;font-size:13px;line-height:2;color:#8a9b7e;margin:0}
.word-details-footer{flex-shrink:0;min-height:52px;padding:14px 26px;background:#eaf2e4;border-top:1px solid #dce6d5}
.word-details-footer p{font-size:11px;line-height:1.9;color:#7d927a;text-align:center;margin:0;overflow-wrap:anywhere}
@media(max-width:1100px) and (min-width:801px){.hero-demo .live-pinyin{gap:6px;padding-left:8px}.hero-demo .candidate-guide{padding-inline:6px;gap:4px}.hero-demo .candidate-guide>span{font-size:9px}.hero-demo .candidate-guide .candidate-guide-arrow{font-size:23px}.kbd-row{gap:4px}.kbd-key{font-size:16px}.kbd-key-space{font-size:11px}.kbd-key-mode,.kbd-key-numbers{font-size:9px}.kbd-key svg{width:20px}.hero-demo .try-demo-candidate>span{font-size:10px}}
@media(max-width:700px){.word-details{inset:auto 12px 12px;width:calc(100% - 24px);height:92vh;height:92dvh;max-height:92dvh;max-width:none;margin:0 auto;border-radius:24px}.word-details-handle{margin-top:12px}.word-details-header{padding:9px 22px 15px}.word-details-top{margin-bottom:11px;min-height:42px}#word-details-brand{font-size:10px;letter-spacing:1.3px}#word-details-title{font-size:32px;letter-spacing:-.8px}#word-details-favorite{width:44px;height:44px;font-size:31px}.word-details-ipa{font-size:12px;margin-top:10px!important}.word-details-meaning{font-size:14px;line-height:1.8;margin-top:15px!important}.word-details-tabs{margin-inline:12px}.word-details-tabs button{min-height:49px;font-size:12px;padding-bottom:13px}.word-details-content{padding:22px 22px 27px}.word-details-content .demo-detail-en{font-size:17px}.word-details-content .demo-detail-zh,.word-details-content p{font-size:13px}.demo-detail-card{padding-bottom:21px;margin-bottom:21px}.demo-detail-exam-grid{gap:9px}.demo-detail-exam-card{padding:15px 13px}.demo-detail-exam-card h3{font-size:14px}.demo-detail-exam-card p,.demo-detail-exam-card>div{font-size:11px;gap:7px}.demo-detail-exam-card strong{font-size:16px}.word-details-footer{padding:12px 18px;min-height:49px}.word-details-footer p{font-size:10px}.demo-detail-empty{min-height:190px;padding-inline:3px}.demo-detail-empty h3{font-size:17px}.word-details-content .demo-detail-empty p{font-size:12px}}
@media(max-width:520px){.hero-demo,.hero-visual#try-demo{scroll-margin-top:20px}.hero-demo .demo-composer{padding:20px 18px;min-height:115px}.hero-demo .composer-label{font-size:9px}#try-demo-clear{right:13px;top:7px;font-size:9px}.hero-demo #try-demo-output{font-size:12px;margin-top:15px;min-height:28px;max-height:56px;letter-spacing:.3px}.hero-demo #try-demo-output.has-text{font-size:16px}.hero-demo #try-demo-output.has-text::after{height:18px}.hero-demo .composer-send{bottom:23px}.hero-demo .demo-toolbar{padding:10px 7px 6px}.hero-demo .live-pinyin{gap:8px;padding:2px 3px 7px 9px;min-height:43px}#try-demo-composition{font-size:12px;letter-spacing:1px}.candidate-guide{padding:5px 7px 5px 5px;gap:4px;border-radius:8px}.hero-demo .candidate-guide>span{font-size:9px}.hero-demo .candidate-guide .candidate-guide-arrow{font-size:22px}.hero-demo .kbd-candidates{min-height:64px;padding-top:6px;padding-bottom:8px;gap:2px}.hero-demo .try-demo-candidate{min-height:49px;min-width:80px;padding:5px 11px;gap:8px}.hero-demo .try-demo-candidate strong{font-size:20px}.hero-demo .try-demo-candidate>span{font-size:10px;max-width:105px}.hero-demo .try-demo-candidate small{font-size:8px}.kbd-keyboard{gap:6px}.kbd-row{gap:4px}.kbd-key{font-size:17px;min-height:44px;border-radius:6px}.kbd-letter::before{font-size:8px}.kbd-key-soft{font-size:15px}.kbd-key-space{font-size:12px;letter-spacing:0;gap:5px}.kbd-key-mode,.kbd-key-numbers{font-size:9px}.kbd-key svg{width:20px}.kbd-key .kbd-mic{width:10px;height:13px}.demo-example-words{gap:5px;margin-top:7px}.demo-example-words>span{font-size:9px;margin-right:1px}.demo-example-words button{min-width:36px;padding-inline:7px;font-size:10px;min-height:36px}.live-demo-caption{font-size:8px;gap:0 5px;letter-spacing:0;margin-top:0}}
@media(max-width:360px){.hero-demo .live-pinyin{gap:5px;padding-left:7px}.hero-demo .candidate-guide>span{font-size:8px}.hero-demo .candidate-guide .candidate-guide-arrow{font-size:21px}.kbd-row{gap:3px}.kbd-key{font-size:15px;min-height:42px}.kbd-key-soft{font-size:13px}.kbd-key-space{font-size:10px}.kbd-key-mode,.kbd-key-numbers{font-size:8px}.kbd-key svg{width:18px}.hero-demo .composer-label{font-size:8px}.live-demo-caption{font-size:8px;gap:0 4px}.demo-example-words{gap:4px}.demo-example-words button{min-width:34px;padding-inline:6px}.word-details-header{padding-inline:18px}#word-details-title{font-size:28px}#word-details-brand{font-size:9px;letter-spacing:1px}.word-details-content{padding-inline:18px}.word-details-tabs{margin-inline:6px}.word-details-tabs button{font-size:11px}.word-details-meaning{font-size:13px}.demo-detail-exam-grid{grid-template-columns:1fr}.demo-detail-exam-card{padding:15px 16px}.word-details-content .demo-detail-en{font-size:16px}}
@media(prefers-reduced-motion:reduce){.kbd-key:active:not(:disabled),.kbd-key.is-active,.kbd-key[aria-pressed="true"]{transform:none}.word-details::backdrop{backdrop-filter:none}}
@media(forced-colors:active){.hero-demo,.hero-demo .demo-keyboard,.candidate-guide,.word-details,.word-details-footer,.demo-detail-exam-card{background:Canvas}.kbd-key,.hero-demo .try-demo-candidate{border-color:ButtonText;background:ButtonFace;color:ButtonText}.kbd-key.is-active,.hero-demo .try-demo-candidate.is-selected,.hero-demo .try-demo-candidate[aria-pressed="true"]{outline:2px solid Highlight}.hero-demo #try-demo-output.has-text::after{background:CanvasText}.word-details::backdrop{background:rgba(0,0,0,.5)}#word-details-title{color:CanvasText}.word-details-tabs button[aria-selected="true"]::after{background:Highlight}}

/* Match the trial cue to the hero layout and demonstrate both candidate directions. */
@media(max-width:700px){.feature-grid{grid-template-columns:1fr}.feature-wide{grid-column:span 1}}
.hero-actions .try-demo-direction{display:inline-block;transform:rotate(0deg);transform-origin:center}
.intent-sprout{display:block;flex:0 0 auto;width:42px;height:42px;margin-left:auto;pointer-events:none}
.bilingual-intro h3 br{display:initial}
.bilingual-visual{min-width:0;width:100%}
.bilingual-controls{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:15px}
#bilingual-mode-label{font-size:11px;line-height:1.8;letter-spacing:.6px;color:#7d8f70}
#bilingual-mode-toggle{display:inline-flex;align-items:center;justify-content:center;gap:13px;min-height:44px;padding:7px 17px;border:1px solid #c8d9bd;border-radius:24px;background:#f6faef;font-size:13px;line-height:1.4;cursor:pointer;transition:background .18s,border-color .18s;white-space:nowrap}
#bilingual-mode-toggle:hover:not(:disabled){background:#eaf3de;border-color:#9fbd8d}
#bilingual-mode-toggle:disabled{opacity:.5;cursor:not-allowed}
#bilingual-mode-toggle:focus-visible{outline:2px solid #2d8056;outline-offset:3px}
.bilingual-mode-divider{font-size:10px;color:#a3b393}
.bilingual-mode-zh,.bilingual-mode-en{color:#99aa8b;font-weight:450;transition:color .18s}
#bilingual-feature[data-mode="zh"] .bilingual-mode-zh,#bilingual-feature[data-mode="en"] .bilingual-mode-en{color:#1c6946;font-weight:700}
.bilingual-card{width:100%;min-width:0;perspective:950px}
.bilingual-card-inner{display:grid;grid-template-columns:minmax(0,1fr);min-width:0;transform-style:preserve-3d;transform:rotateY(0deg);transition:transform .52s cubic-bezier(.22,.7,.24,1)}
#bilingual-feature[data-mode="en"] .bilingual-card-inner{transform:rotateY(180deg)}
.bilingual-face{grid-area:1/1;min-width:0;min-height:194px;padding:18px 20px 19px;border:1px solid #d7e3cd;border-radius:17px;background:linear-gradient(140deg,#f3f7e9,#e7f1e2);backface-visibility:hidden;-webkit-backface-visibility:hidden;box-shadow:0 8px 22px -20px #3d653b45}
.bilingual-face-front{transform:rotateY(0deg)}
.bilingual-face-back{transform:rotateY(180deg);background:linear-gradient(140deg,#f3f8ee,#e7f1e5)}
.bilingual-composition{display:flex;align-items:center;justify-content:space-between;gap:14px;min-width:0;padding-bottom:15px;border-bottom:1px solid #d2dfc8}
.bilingual-composition>span{font-size:10px;line-height:1.7;color:#789069;letter-spacing:.3px}
.bilingual-composition>strong{font-size:18px;font-weight:500;line-height:1.5;letter-spacing:1.2px;color:#3c6847}
#bilingual-feature .bilingual-candidate-label{font-size:10px;line-height:1.8;color:#829575;letter-spacing:.4px;margin:14px 0 9px;max-width:none}
.bilingual-candidates{display:flex;align-items:stretch;min-width:0;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#bfd2b4 transparent;padding-bottom:2px}
.bilingual-candidate{display:flex;flex:1 0 auto;flex-direction:column;align-items:flex-start;justify-content:center;gap:5px;min-height:64px;padding:8px 14px;border-right:1px solid #cfdfc4}
.bilingual-candidate:first-child{background:#f9fcf2;border-radius:9px;border-right-color:transparent;margin-right:3px}
.bilingual-candidate:last-child{border-right:0}
.bilingual-candidate strong{font-size:23px;line-height:1.35;font-weight:500;color:#30563c;white-space:nowrap}
.bilingual-candidate span{font-size:12px;line-height:1.65;color:#68895a;white-space:nowrap}
.bilingual-face-back .bilingual-candidate{padding-inline:10px}
.bilingual-face-back .bilingual-candidate strong{font-size:19px;letter-spacing:-.3px}
#bilingual-feature .bilingual-caption{font-size:10px;line-height:1.9;text-align:center;color:#859775;margin:12px 0 0;max-width:none}
.bilingual-status{position:absolute!important;width:1px;height:1px;overflow:hidden;padding:0!important;margin:-1px!important;clip-path:inset(50%);white-space:nowrap;border:0}
#bilingual-feature .bilingual-noscript{font-size:11px;line-height:1.9;color:#758b65;margin-top:12px;max-width:none}
@media(max-width:1100px) and (min-width:801px){.bilingual-face{padding-inline:15px}.bilingual-face-back .bilingual-candidate{padding-inline:8px}.bilingual-face-back .bilingual-candidate strong{font-size:17px}.bilingual-candidate span{font-size:11px}}
@media(max-width:800px){.hero-actions .try-demo-direction{transform:rotate(90deg)}.bilingual-visual{max-width:520px;justify-self:center}.intent-sprout{width:36px;height:36px}}
@media(max-width:520px){.intent-strip>.section-wrap{padding-right:47px}.intent-sprout{position:absolute;right:0;top:27px;width:32px;height:32px;margin:0}.bilingual-controls{margin-bottom:12px;gap:10px}#bilingual-mode-label{font-size:10px}#bilingual-mode-toggle{min-height:44px;padding-inline:15px;font-size:12px;gap:12px}.bilingual-face{padding:15px 14px 16px;min-height:184px;border-radius:14px}.bilingual-composition{padding-bottom:12px;gap:12px}.bilingual-composition>span{font-size:9px}.bilingual-composition>strong{font-size:17px}#bilingual-feature .bilingual-candidate-label{font-size:9px;margin-top:12px;margin-bottom:8px}.bilingual-candidate{min-height:63px;padding:8px 11px;gap:5px}.bilingual-candidate strong{font-size:21px}.bilingual-candidate span{font-size:11px}.bilingual-face-back .bilingual-candidate{padding-inline:7px}.bilingual-face-back .bilingual-candidate strong{font-size:16px}.bilingual-face-back .bilingual-candidate span{font-size:10px}#bilingual-feature .bilingual-caption{font-size:9px;margin-top:10px}}
@media(max-width:355px){.bilingual-face{padding-inline:12px}.bilingual-face-back .bilingual-candidate{padding-inline:6px}.bilingual-face-back .bilingual-candidate strong{font-size:15px}.bilingual-face-back .bilingual-candidate span{font-size:9px}.intent-sprout{width:29px;height:29px;top:29px}.intent-strip>.section-wrap{padding-right:40px}}
@media(prefers-reduced-motion:reduce){.bilingual-card-inner{transition:none}.bilingual-mode-zh,.bilingual-mode-en,#bilingual-mode-toggle{transition:none}}
@media(forced-colors:active){.bilingual-face,#bilingual-mode-toggle,.bilingual-candidate:first-child{background:Canvas;border-color:ButtonText}.bilingual-mode-zh,.bilingual-mode-en{color:GrayText}#bilingual-feature[data-mode="zh"] .bilingual-mode-zh,#bilingual-feature[data-mode="en"] .bilingual-mode-en{color:ButtonText}.intent-sprout{opacity:.65}}

/* Keep full sample-word material readable within the existing detail sheet. */
.lookup-walkthrough{width:100%;max-width:350px;min-width:0;margin:26px auto 32px}
.lookup-candidate-strip{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;padding:6px;border:1px solid #d5e3cc;border-radius:12px;background:#f0f5e9;min-width:0}
.lookup-candidate-strip>div{position:relative;display:flex;flex-direction:column;gap:4px;min-width:0;padding:10px 12px}
.lookup-candidate-strip strong{font-size:18px;line-height:1.3;color:#305c43;font-weight:550}
.lookup-candidate-strip span{font-size:11px;line-height:1.6;color:#738d63}
.lookup-candidate-strip .lookup-candidate-target{border:1px solid #b9d0a6;border-radius:8px;background:#faffee;box-shadow:0 2px 5px #446d2810}
.lookup-cursor{position:absolute;left:55px;top:20px;width:29px;height:35px;filter:drop-shadow(0 2px 1px #21473320);pointer-events:none}
.lookup-flow-arrow{display:flex;align-items:center;justify-content:center;gap:7px;height:67px;color:#799467}
.lookup-flow-arrow>svg{flex:0 0 auto}
.lookup-flow-arrow>span{font-size:10px;letter-spacing:.6px}
.lookup-walkthrough .mini-definition{width:100%;margin:0;transform:rotate(-2deg)}
@media(max-width:800px){.lookup-candidate-strip{padding:4px;gap:2px}.lookup-candidate-strip>div{padding:8px 7px}.lookup-candidate-strip strong{font-size:15px}.lookup-candidate-strip span{font-size:9px}.lookup-cursor{left:42px;top:18px;width:25px;height:30px}.lookup-walkthrough .mini-definition{transform:none}.lookup-flow-arrow{height:59px}}
@media(max-width:520px){.lookup-walkthrough{max-width:290px;margin-block:24px 28px}.lookup-candidate-strip>div{padding:10px}.lookup-candidate-strip strong{font-size:17px}.lookup-candidate-strip span{font-size:10px}.lookup-cursor{left:51px;top:21px;width:27px;height:33px}}
.word-details-content .demo-detail-tag{display:inline-block;width:fit-content;margin:0 7px 10px 0;padding:2px 8px;border-radius:5px;background:#edf3e6;color:#718063;font-size:10px;line-height:1.8;font-weight:400;vertical-align:middle}
.demo-detail-heading{flex-wrap:wrap}
.demo-detail-heading .demo-detail-tag{margin-bottom:0}
.word-details-content .demo-detail-group-title{margin:26px 0 8px;padding-top:12px;border-top:1px solid #d4dfcb;font-size:16px}
.demo-detail-group-title+.demo-detail-note{margin-bottom:18px}
.word-details-content .demo-detail-fold{margin:12px 0;border:1px solid #d9e4d1;border-radius:12px;background:#f6f9f2;overflow:hidden}
.demo-detail-fold>summary{min-height:48px;padding:12px 16px;cursor:pointer;color:#42634c;font-size:13px;line-height:1.8;font-weight:500}
.demo-detail-fold>summary:hover{background:#edf4e5}
.demo-detail-fold>summary:focus-visible,.demo-detail-answer>summary:focus-visible{outline:2px solid #719b5f;outline-offset:-3px}
.demo-detail-fold-body{padding:8px 17px 18px}
.demo-detail-fold-body .demo-detail-card:last-child{margin-bottom:0;border-bottom:0;padding-bottom:0}
.word-details-content .demo-detail-caution{color:#9b5d47;font-size:12px}
.demo-detail-answer>summary{cursor:pointer;min-height:40px;font-size:12px;color:#64844e;padding-block:8px}
.demo-detail-license{display:inline-block;margin-top:13px;font-size:11px;color:#63814d;text-underline-offset:3px}
@media(max-width:520px){.word-details-content .demo-detail-heading{font-size:13px;gap:7px}.word-details-content .demo-detail-group-title{font-size:14px}.demo-detail-fold>summary{font-size:12px;padding-inline:13px}.demo-detail-fold-body{padding-inline:13px}.word-details-content .demo-detail-tag{font-size:9px}}


/* The original long press opens a dialog while a finger is still down.
   Temporarily disable native selection/callouts on newly displayed details;
   ordinary selection becomes available again after the finger is released. */
.word-details.touch-gesture-opening,
.word-details.touch-gesture-opening * {
  -webkit-user-select: none !important;
  user-select: none !important;
  -webkit-touch-callout: none !important;
}

/* 2026-11: current keyboard presentation; the sentence is a fixed website example. */
.demo-sentence-translation{padding:14px 20px 17px;background:linear-gradient(120deg,#fff,#f5faee);border-top:1px solid #e1ebda;border-bottom:1px solid #c6d8c0}
.demo-sentence-label{display:block;color:#789073;font-size:10px;line-height:1.7;letter-spacing:.3px}
.demo-sentence-translation p{font-size:18px;line-height:1.55;color:#28583f;margin:7px 0 0;font-weight:450;letter-spacing:-.15px}
.demo-brand{display:flex;align-items:center;gap:7px;color:#315c45}
.demo-brand strong{font-size:15px;font-weight:650;letter-spacing:1px}
.demo-tools{display:flex;gap:18px;align-items:center;font-size:20px;color:#55755f}
.demo-toolbar .demo-tools span{font-size:inherit}
.demo-tools svg{display:block;width:18px;height:18px;stroke:currentColor;stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round}
.demo-candidate-area{display:flex;align-items:stretch;min-width:0}
.demo-candidate-area .kbd-candidates{flex:1;min-width:0}
.demo-expand{align-self:stretch;flex:0 0 30px;border:0;border-left:1px solid #bed2bb;background:transparent;color:#55755f;font-size:25px;border-radius:6px;margin:8px 0 12px 3px;cursor:pointer;touch-action:manipulation}
.demo-expand:hover:not(:disabled){background:#e8f2dc;color:#075f45}
.hero-demo .try-demo-candidate .translation,.hero-demo .try-demo-candidate .ipa{display:block;max-width:128px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.demo-candidate-area.is-expanded{min-height:260px;max-height:310px}
.hero-demo .demo-candidate-area.is-expanded .kbd-candidates{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-content:start;gap:5px;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain}
.hero-demo .demo-candidate-area.is-expanded .try-demo-candidate{max-width:none;width:100%;min-width:0;background:#fff;padding:8px;min-height:85px}
.hero-demo .demo-candidate-area.is-expanded .try-demo-candidate strong{overflow-wrap:anywhere;max-width:100%}
.hero-demo .demo-candidate-area.is-expanded .demo-candidate-meta,.hero-demo .demo-candidate-area.is-expanded .translation,.hero-demo .demo-candidate-area.is-expanded .ipa{max-width:100%;width:100%}
.kbd-keyboard[hidden]{display:none}
.sentence-feature{background:linear-gradient(140deg,#f8fcf3,#edf6ee 70%,#e8f1dc)}
.sentence-example{margin:28px 0 25px;background:#e1eddb;border:1px solid #d0dfc5;border-radius:17px;padding:15px 13px 10px;overflow:hidden}
.sentence-example-source{padding:8px 8px 16px;color:#335642;font-size:17px}
.sentence-example-source>span{float:right;color:#7c9e68;font-size:22px}
.sentence-example-result{background:#fff;padding:16px 18px;border:1px solid #dbe6d5;border-radius:13px;box-shadow:0 6px 15px #274e1d08}
.sentence-example-result>span{font-size:10px;color:#789073;letter-spacing:.5px}
.sentence-example-result p{font-size:23px!important;line-height:1.45!important;margin-top:7px!important;color:#28583f!important;font-weight:450;letter-spacing:-.3px}
.sentence-example-keys{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:4px;margin-top:12px}
.sentence-example-keys>span{padding:5px 0 6px;background:#ffffffc9;color:#729177;border-radius:4px;text-align:center;box-shadow:0 1px #b8cbb0;font-size:12px}
.feature p.sentence-feature-note{font-size:11px;line-height:1.75;color:#819078;margin-top:13px}
.vocabulary-feature{grid-column:span 2;display:grid;grid-template-columns:1fr 1fr;column-gap:60px;align-items:center}
.vocabulary-feature>.feature-no{grid-column:1;align-self:end}
.vocabulary-feature>.mini-vocab{grid-column:2;grid-row:1 / span 3;width:100%;margin:0 auto;max-width:390px}
.vocabulary-feature>h3,.vocabulary-feature>p{grid-column:1}
.vocabulary-feature>.feature-no{justify-self:start}
@media(max-width:800px){.vocabulary-feature{column-gap:25px}.demo-tools{gap:19px}}
@media(max-width:520px){.demo-sentence-translation{padding:12px 14px 14px}.demo-sentence-label{font-size:9px}.demo-sentence-translation p{font-size:16px}.demo-tools{gap:14px;font-size:18px}.demo-brand strong{font-size:14px}.hero-demo .try-demo-candidate{flex-direction:column;align-items:flex-start;gap:3px;min-height:72px;max-width:145px;min-width:74px}.hero-demo .try-demo-candidate .translation{font-size:11px}.demo-expand{flex-basis:26px}.sentence-example-result p{font-size:22px!important}.vocabulary-feature{display:flex;flex-direction:column;align-items:stretch;gap:0;grid-column:span 1}.vocabulary-feature>.mini-vocab{order:0;margin:26px auto 22px}.vocabulary-feature>h3{margin-top:0}}

/* Default light IME skin from web/app-atmosphere.css, scoped to the homepage Demo.
   Keep the website's existing gesture and page-scrolling rules unchanged. */
#try-demo .demo-keyboard{
  --demo-first-candidate:#edf5df;
  --demo-enter:linear-gradient(120deg,#315d47,#175342 70%,#276c50);
  background:radial-gradient(ellipse at 100% 0,#c4dfcf,transparent 65%),
             linear-gradient(125deg,#e6efd9,#d7e6db 60%,#d2e3c7);
}
#try-demo .demo-toolbar{min-height:42px;padding:0 7px;gap:7px;border-bottom:1px solid #b8d2bd;color:#496b54}
#try-demo .demo-brand{flex:0 0 auto;gap:5px;white-space:nowrap;color:#496b54}
#try-demo .demo-brand img{width:19px;height:19px;border-radius:5px;background:#fff}
#try-demo .demo-brand strong{font-size:14px;font-weight:600;letter-spacing:1px}
#try-demo .demo-tools{flex:1;min-width:0;display:flex;justify-content:space-between;gap:3px;margin-left:5px;color:#496b54;font-size:17px;pointer-events:none}
#try-demo .demo-tool{position:relative;display:grid;place-items:center;flex:0 1 27px;min-width:18px;height:29px;border-radius:8px;line-height:1}
#try-demo .demo-tools svg{width:18px;height:18px;stroke-width:1.6}
#try-demo .demo-tool-translate{background:radial-gradient(ellipse at 100% 0,#cce8ce,transparent 70%),linear-gradient(120deg,#f1f7e5,#e1efe2);color:#496b54;font-weight:500}
#try-demo .demo-tool-translate i{position:absolute;right:3px;bottom:2px;width:4px;height:4px;border-radius:50%;background:currentColor}
#try-demo-composition.is-empty{color:#5d785f}
#try-demo .live-pinyin{gap:5px;border-bottom-color:transparent}
#try-demo-composition{font-size:13px;font-weight:600;letter-spacing:1.5px;color:#234c40}
#try-demo-composition-clear{flex:0 0 28px;align-self:stretch;min-height:44px;padding:0;border:0;background:transparent;color:#667c6e;font-size:19px;line-height:1;cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
/* Give each bilingual entry room for the word, translation and pronunciation. */
#try-demo .kbd-candidates{
  gap:5px; min-height:92px; padding:7px 3px 9px; align-items:stretch;
}
#try-demo .try-demo-candidate{
  flex-direction:column; align-items:flex-start; justify-content:center; gap:4px;
  width:max-content; min-width:88px; max-width:13rem; min-height:80px;
  padding:7px 13px; border:1px solid transparent; border-inline-end-color:#b7cfb4;
  border-radius:10px; background:transparent; color:#2e5342;
}
#try-demo .try-demo-candidate strong{
  display:block; max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
  font-size:clamp(20px,1.5vw,24px); line-height:1.25; font-weight:500; color:inherit;
}
#try-demo .try-demo-candidate .demo-candidate-meta{
  align-self:stretch; gap:2px; min-width:0; max-width:100%;
}
#try-demo .try-demo-candidate .translation{
  max-width:100%; font-size:14px; line-height:1.35; color:#496a43;
}
#try-demo .try-demo-candidate .ipa{
  max-width:100%; font-size:12px; line-height:1.35; color:#5d7159;
}
#try-demo .try-demo-candidate.is-selected{
  border-color:#b8cf9e; background:var(--demo-first-candidate); color:#006047;
}
@media(hover:hover){
  #try-demo .try-demo-candidate:hover:not(:disabled){background:#eff5e6;border-color:#9cbb89}
}
#try-demo .demo-expand{flex-basis:32px;border-left-color:#b7cfb8;color:#667c6e}
#try-demo .demo-candidate-area.is-expanded .kbd-candidates{
  grid-template-columns:repeat(auto-fill,minmax(min(100%,7.5rem),1fr));
}
#try-demo .demo-candidate-area.is-expanded .try-demo-candidate{
  width:100%; max-width:100%; min-width:0; border-color:#c5d5bc; background:#f8fbf4;
}
#try-demo .demo-candidate-area.is-expanded .try-demo-candidate.is-selected{
  border-color:#b8cf9e; background:var(--demo-first-candidate);
}
#try-demo .demo-candidate-area.is-expanded .try-demo-candidate :is(strong,.translation,.ipa){
  white-space:normal; overflow-wrap:anywhere;
}
#try-demo .kbd-keyboard{gap:7px}
#try-demo .kbd-row{gap:5px}
#try-demo .kbd-row-middle{margin-inline:17px}
#try-demo .kbd-row-bottom{grid-template-columns:minmax(0,1.45fr) repeat(7,minmax(0,1fr)) minmax(0,1.45fr)}
#try-demo .kbd-key{min-height:43px;border:0;border-radius:7px;background:linear-gradient(155deg,#fff 25%,#f0f6ed);box-shadow:0 1.5px 0 #aabfa9,inset 0 1px #fff;font-family:Arial,"Microsoft YaHei",sans-serif;font-size:19px;font-weight:400;color:#253e35}
#try-demo .kbd-letter{padding-top:9px}
#try-demo .kbd-letter::before{top:3px;font-size:10px;line-height:12px;color:#667c6e;opacity:.76}
#try-demo .kbd-key-soft{background:linear-gradient(145deg,#dfeada,#c8dfd1);color:#385a43;font-size:14px}
#try-demo .kbd-key-space{gap:6px;font-size:11px;letter-spacing:2px;color:#5d785f}
#try-demo .kbd-mic{color:inherit;opacity:.55}
#try-demo .kbd-key-mode,#try-demo .kbd-key-numbers{font-size:13px;letter-spacing:0}
#try-demo .kbd-key-enter{background:var(--demo-enter);color:#fff}
@media(hover:hover){#try-demo .kbd-key:hover:not(:disabled){filter:brightness(.98)}}

#try-demo .kbd-key:active:not(:disabled),#try-demo .kbd-key.is-active{background:linear-gradient(125deg,#c6e5c3,#b2d9c5);box-shadow:none}
#try-demo .kbd-key-enter:active:not(:disabled),#try-demo .kbd-key-enter.is-active{background:linear-gradient(125deg,#164737,#1e684a)}
#try-demo .kbd-key[aria-pressed="true"]{background:#edf2e5;color:#234c40;box-shadow:inset 0 0 0 1px #6d8453}
#try-demo .demo-scope-note{margin:0;text-align:center;font-size:9px;line-height:1.7;color:#7d8a74}
@media(max-width:700px){
  #try-demo .demo-toolbar{min-height:39px;padding-inline:3px;gap:3px}
  #try-demo .demo-brand strong{font-size:12px;letter-spacing:0}
  #try-demo .demo-tools{gap:2px;margin-left:3px}
  #try-demo .kbd-keyboard{gap:6px}
  #try-demo .kbd-row{gap:4px}
  #try-demo .kbd-row-middle{margin-inline:14px}
  #try-demo .kbd-key{min-height:42px;font-size:18px}
  #try-demo .kbd-key-soft{font-size:13px}
  #try-demo .kbd-key-space{font-size:11px}
  #try-demo .kbd-key-mode,#try-demo .kbd-key-numbers{font-size:11px}
}
@media(max-width:360px){
  #try-demo .demo-tool{flex-basis:24px;min-width:16px}
  #try-demo .demo-tools svg{width:16px;height:16px}
  #try-demo .demo-brand img{width:17px;height:17px}
  #try-demo .kbd-key{min-height:39px}
  #try-demo .kbd-key-soft{font-size:11px}
  #try-demo .kbd-key-mode,#try-demo .kbd-key-numbers{font-size:10px}
  #try-demo .kbd-letter::before{font-size:9px}
  #try-demo .demo-scope-note{font-size:8px}
}
@media(forced-colors:active){
  #try-demo .demo-keyboard,#try-demo .demo-tool-translate{background:Canvas;color:CanvasText}
  #try-demo .kbd-key,#try-demo .try-demo-candidate,#try-demo .try-demo-candidate:first-child,#try-demo .try-demo-candidate.is-selected{background:ButtonFace;color:ButtonText;border:1px solid ButtonText}
  #try-demo .try-demo-candidate strong,#try-demo .try-demo-candidate.is-selected strong,#try-demo .try-demo-candidate:first-child strong,#try-demo .try-demo-candidate .translation,#try-demo .try-demo-candidate .ipa{color:ButtonText}
}
