/* FAN TIẾNG NHẬT / Light learning workspace */
:root{--bg:#f8faff;--surface:#fff;--surface2:#eff4ff;--ink:#172945;--muted:#667994;--line:#dde5f1;--lime:#345ef1;--purple:#8c5ae8;--cyan:#087d94;--red:#345ef1;--green:#345ef1;--paper:#f8faff}html{scroll-behavior:auto;scroll-padding-top:160px}body{background:#f8faff}::selection{background:#cfddff;color:#172945}header{background:#fffffff5;border-color:#e6ebf4;height:88px;box-shadow:0 3px 15px #273e6404;backdrop-filter:blur(12px)}.brand b{font-size:16px;letter-spacing:-.3px}.brand small{color:#7586a0;font-size:7px}header nav{color:#64728e;font-size:12px}header nav a:hover,header nav a.active{color:#345ef1}.primary{background:#345ef1;color:#fff;border-radius:10px;box-shadow:0 5px 14px #345ef11c}.primary:hover{background:#244de0;box-shadow:0 5px 18px #345ef128}.primary span{font-size:19px}.secondary,.dark{background:#fff;border-color:#dce4f0;color:#314565;border-radius:10px}.secondary:hover,.dark:hover{background:#f1f5ff;border-color:#b8cbf5}.eyebrow{font-size:10px;letter-spacing:1.6px;color:#345ef1}.dot{background:#345ef1;box-shadow:none}.edition{color:#92a0b7}h1{font-size:clamp(54px,5.4vw,76px);font-weight:700;letter-spacing:-3.4px}h1 em{color:#345ef1}.hero{padding-top:62px;padding-bottom:58px;gap:65px}.lead{font-size:15px;color:#63758f}.hero-stats{border-color:#e0e7f3;gap:44px}.hero-stats b{color:#243b62;font-size:30px;font-weight:600}.hero-stats small{font-size:9px;letter-spacing:.6px;color:#71839f}.hero-art{height:550px;background:radial-gradient(ellipse at 45% 25%,#cddbff85,transparent 50%),linear-gradient(140deg,#f1f5ff,#f7efff 65%,#fff2e8);border:1px solid #e1e8f5;border-radius:26px;box-shadow:0 25px 55px #42659d0a}.orbital-grid{background-image:linear-gradient(#7194c814 1px,transparent 1px),linear-gradient(90deg,#7194c814 1px,transparent 1px);mask-image:radial-gradient(ellipse,#000,transparent 75%)}.orbit{border-color:#99b1ec65;top:35px}.orbit-two{border-color:#c8a7e866}.orbit-word{color:#4b6ded;text-shadow:none;font-size:122px;top:75px;font-weight:500}.orbit-word small{color:#8799bf;font-size:9px;letter-spacing:3px}.orbit-node{background:#5474ee;box-shadow:0 0 18px #345ef132}.n2{background:#b48aeb}.coordinate{color:#9cabc1;font-size:7px}.study-card{background:#fffffff5;border-color:#fff;border-radius:17px;padding:24px 26px;box-shadow:0 16px 40px #506fa523;top:264px;transform:rotate(-2deg);backdrop-filter:none}.card-top{color:#8294b4;font-size:9px}.card-top i{background:#4d76ef}.study-card .jp{color:#264171;font-size:31px;font-weight:550}.reading{color:#768cac;font-size:13px}.roman{color:#9bacc5;font-size:11px}.card-bottom{border-color:#e3eaf7;font-size:11px}.card-bottom button:first-child{color:#345ef1}.card-bottom button{min-height:37px}#hero-meaning{color:#345ef1;font-size:14px}#hero-meaning small{color:#73849f;font-size:10px}.floating-label{bottom:14px;color:#667da2;font-size:11px}.floating-label small{color:#98a8c4;font-size:9px}.floating-label>span{color:#926be1}.floating-label b{color:#607cf0}.principles{border-color:#e0e8f4;padding:22px 0}.principles>div{color:#576c8b;font-size:12px}.principles i{color:#345ef1;font-size:10px}.principles>span{color:#91a1ba;font-size:8px}.principles>span b{color:#6f81a1}.principles>a{color:#7284a2}.learning-hub{gap:16px;margin-top:25px}.learning-hub a{background:white;border-color:#e1e8f5;border-radius:13px;padding:21px 19px;box-shadow:0 5px 15px #29436b04;transition:background 100ms,border-color 100ms,transform 100ms}.learning-hub a:hover{background:#f4f7ff;border-color:#b9cbf5;transform:translateY(-2px)}.learning-hub a>span{background:#edf2ff;color:#345ef1;width:40px;height:40px;display:flex;justify-content:center;align-items:center;font-size:23px;border-radius:11px}.learning-hub a:nth-child(2)>span{background:#f1eaff;color:#8859d8}.learning-hub a:nth-child(3)>span{background:#e4f6fa;color:#07829b}.learning-hub a:nth-child(4)>span{background:#fff0e5;color:#bd6d29}.learning-hub b{font-size:13px;font-weight:600;color:#314967}.learning-hub small{font-size:10px;color:#8b9bb3}.learning-hub i{color:#8a9dbd}.section{padding-top:72px;padding-bottom:72px}.section-heading{margin-bottom:32px}h2{font-weight:650;font-size:clamp(30px,3.2vw,42px);color:#233d63;letter-spacing:-1.5px}h2 span{color:#8394af}.section-intro{font-size:14px;color:#778ba6;max-width:375px;line-height:1.85}.path-grid{gap:20px}.path-card{background:white;border:1px solid #e2e8f5;border-radius:16px;padding:27px 27px 0;box-shadow:0 6px 20px #31476c04}.path-card.purple,.path-card.cyan{background:white;border-color:#e2e8f5}.path-top{color:#8193b2;font-size:9px}.purple .path-top,.cyan .path-top{color:#8193b2}.path-symbol{background:#edf2ff;color:#5c7ef2;border-radius:15px;width:126px;padding:13px 15px;font-size:39px;letter-spacing:2px;margin:25px 0 22px}.purple .path-symbol{color:#9b73df;background:#f4edff}.cyan .path-symbol{color:#3197aa;background:#e8f7f9}.path-card h3{font-size:24px;color:#294467;letter-spacing:-.7px}.path-card p{font-size:13px;color:#7d8fa7;line-height:1.85}.path-meta{font-size:10px;color:#8a9ab3}.path-card>button{border-color:#e4eaf4;color:#345ef1;font-size:12px}.purple>button,.cyan>button{border-color:#e4eaf4}.path-card:hover{border-color:#bdd0fc}.purple:hover{border-color:#d5c3ef}.cyan:hover{border-color:#b8dfe6}.path-card.selected{border-color:#b1c4fc;box-shadow:inset 0 3px 0 #5177f2,0 7px 20px #345ef109}.path-card.purple.selected{border-color:#d1b8f0;box-shadow:inset 0 3px 0 #a77ce2}.path-card.cyan.selected{border-color:#b4dce3;box-shadow:inset 0 3px 0 #51aabd}.active-path{background:#eef3ff;border-color:#dae5fd;border-radius:13px;padding:23px}.active-path h3{color:#3b5580;font-size:15px}.active-path p{color:#778daa;font-size:12px}.active-path .path-status{color:#5575b3;font-size:12px}.active-path button{color:white;box-shadow:none}.library-section{background:#f0f4fc;color:#243d5e;border-top:1px solid #e3ebf8;border-bottom:1px solid #e3ebf8}.library-section h2 span{color:#8394af}.library-section .eyebrow{color:#5476bd}.library-section .section-intro{color:#798ca8}.outline-label,.library-section .outline-label{border-color:#d7e1f3;color:#7185a6;font-size:9px;border-radius:6px}.toolbar{margin-bottom:25px}.chips{gap:8px}.chips button{background:#fff;border-color:#e0e7f3;color:#7d8ca5;padding:10px 17px;font-size:12px;border-radius:9px;min-height:44px;transition:background 90ms,color 90ms}.chips button.active,.library-section .chips button.active{background:#345ef1;border-color:#345ef1;color:white}.library-section .chips button{background:#fff;border-color:#dce5f5;color:#7084a1}.search{background:white;border-color:#dce5f5;border-radius:10px;padding:9px 14px;color:#9aabc1}.search input{font-size:12px;color:#3b5279;width:255px}.search:focus-within{outline:2px solid #a6bffa}.lesson-grid{gap:18px}.lesson-card{background:white;border-color:#e0e8f5;border-radius:14px;padding:25px;box-shadow:0 5px 12px #3a527304;transition:transform 100ms,border-color 100ms}.lesson-card:hover{transform:translateY(-2px);border-color:#a8c1f6}.lesson-top{color:#92a2bb;font-size:9px}.badge{background:#edf2ff;color:#5d7ad1;font-size:10px;border-radius:6px;padding:5px 10px}.badge.work{background:#e8f6f5;color:#498e99}.lesson-jp{color:#3a5687;font-size:19px}.lesson-card h3{color:#2b456b;font-size:20px}.lesson-card p{color:#8b9bb3;font-size:12px}.lesson-card>button{border-color:#e8edf6;color:#4b71dc;font-size:12px}.empty{color:#7c8daa}.video-card{background:white;border-color:#e0e8f4;border-radius:16px;box-shadow:0 7px 20px #2f507c06}.video-info{padding:23px}.video-info h3{color:#304c75;font-size:20px}.video-info .outline-label{border-color:#dbe4f4;color:#7c91b0;font-size:9px}.video-info p{color:#93a1b6;font-size:11px}.video-actions{border-color:#e5ecf5;font-size:12px}.video-actions button{color:#5478dc}.vocab-copy>p:not(.eyebrow){color:#7d8fa9;font-size:14px}.learning-loop{color:#7f93b0;font-size:12px}.learning-loop i{color:#9bb1dd}.flash-tools{color:#8595b0;font-size:11px}.flash-tools button{color:#6685d5;font-size:12px}.flashcard{background:radial-gradient(ellipse at 50% 0,#edf2ff,transparent 75%),#fff;border-color:#dae5fa;border-radius:22px;box-shadow:0 16px 35px #506ca90b;min-height:290px;perspective:900px}.flashcard:hover{border-color:#b4c9f7}.flashcard strong{color:#5579dc;font-size:46px}.flashcard small{color:#8396b7;font-size:14px}.flashcard .flip-hint{color:#97a9c5;font-size:10px;letter-spacing:1px}.flash-controls button{background:white;border-color:#dce6f7;color:#6d87b2;font-size:12px;border-radius:10px}.flash-controls button:hover{border-color:#b2c8f5;color:#345ef1}.review-controls button{background:#fff;border-color:#dce6f5;color:#8b9bb5;font-size:12px;border-radius:10px}.review-controls button:last-child{background:#345ef1;color:white;border-color:#345ef1}.review-note{color:#6887c7!important;font-size:12px!important}.practice-section{background:#f4f0fe;border-color:#e8e1f6}.practice-section .eyebrow{color:#9c7cc3}.practice-card{background:#fff;border-color:#e5dcf4;border-radius:16px;box-shadow:0 5px 14px #75549c04;transition:border-color 100ms,transform 100ms}.practice-card:hover{background:#fff;border-color:#cbb5ed;transform:translateY(-2px)}.practice-index{color:#a391be;font-size:9px}.practice-icon{color:#b08bdd}.practice-card h3{color:#574271;font-size:23px}.practice-card p{color:#9b8eab;font-size:13px}.practice-card>span:last-child{color:#aa9bbd;border-color:#eee7f7;font-size:9px}.practice-card b{color:#b08cdd}.practice-note{font-size:11px;color:#8b9bb5;line-height:1.8}.progress-section{background:#fff;border-color:#dfe8f6;border-radius:17px;box-shadow:0 5px 20px #35538b05}.progress-main{border-color:#e5ecf7;padding:33px}.progress-title{color:#92a5c3;font-size:9px}.live-dot{color:#84a292}.live-dot:before{background:#58af88}.progress-main h3{color:#3a567e}.progress-main p{color:#8b9db7;font-size:12px}.progress-line{color:#8ba0bf;font-size:11px}progress{background:#e7eefb;height:7px;border-radius:7px}progress::-webkit-progress-bar{background:#e7eefb}progress::-webkit-progress-value{background:#658cf1}progress::-moz-progress-bar{background:#658cf1}.progress-cards>div{border-color:#e5ecf7;background:#fbfdff}.progress-cards span{color:#a0afc5;font-size:8px}.progress-cards b{color:#587dc4}.progress-cards small{color:#8da0bd;font-size:11px}.materials-section{background:#edf7fa;border-color:#dcecf2}.materials-section .eyebrow{color:#4695a9}.material-card{background:white;border-color:#daebf0;border-radius:16px;box-shadow:0 6px 14px #33677604}.material-top{color:#8babb8;font-size:10px}.material-glyph{background:#edf8fb;color:#67aabd;border-radius:13px}.material-card h3{color:#34667b;font-size:23px}.material-card p{color:#88a4b2;font-size:13px}.material-actions{border-color:#e3eff3;font-size:12px}.material-actions a,.material-actions button{color:#549bad}.sharing-note{background:#e4f3f7;border-color:#d0e8ef;border-radius:13px}.sharing-note>span{color:#77aebe}.sharing-note b{color:#538196;font-size:13px}.sharing-note p{color:#83a3b3;font-size:11px}.tips-feature{background:#f1f5ff;border-color:#dce6fb;border-radius:16px}.tips-feature>span{color:#8ba2cc;font-size:10px}.tips-feature h3{color:#4b6b9f}.tips-feature li{border-color:#dce6f8}.tips-feature b{color:#7392c5;font-size:13px}.tips-feature p{color:#8ba0c0;font-size:12px}.tip-accordions details{border-color:#e0e8f5}.tip-accordions details:first-child{border-color:#e0e8f5}.tip-accordions summary{color:#577195;font-size:15px;transition:color 90ms}.tip-accordions summary>span{color:#a8b8d0;font-size:11px}.tip-accordions summary>b{color:#93aad3}.tip-accordions details p{font-size:13px;color:#8296b2}.closing{background:linear-gradient(120deg,#eaf1ff,#eee9ff);color:#385a91;border-top:1px solid #dee7fc}.closing .eyebrow{color:#869dc8}.closing h2{color:#5375b0}.closing h2 em{color:#94a8d2}.closing-bottom p{color:#7290bb}.closing-bottom small{color:#9cafd0}.closing .primary{background:#345ef1;color:white}.closing-kanji{color:#dfe7fb}footer{color:#7189a8;background:transparent}footer p{color:#7189a8}footer>div small{color:#a0afc5;font-size:10px}.back-top{color:#91a4bf}.mobile-nav{background:#fffffff7;border-color:#e1e8f5;box-shadow:0 -3px 16px #54739a05}.mobile-nav a{color:#8aa0c5}.mobile-nav a.active{color:#345ef1}.mobile-nav span{color:#8fa0ba}.skip{background:#345ef1;color:white}.toast{background:#fff;border-color:#cbdaf7;color:#4f6a93;box-shadow:0 10px 35px #30548d21;transition:opacity 100ms;font-size:12px}dialog{background:#f9fbff;color:#2c456b;border-color:#d6e3fb;border-radius:18px;box-shadow:0 30px 100px #203e6b30}dialog::backdrop{background:#344b7180;backdrop-filter:blur(3px)}.modal-top{background:#fff;border-color:#e3ebf8;color:#7995c7;font-size:10px}.lesson-phrase{background:#edf3ff;border-color:#d7e4fb;border-radius:12px}.lesson-phrase .jp{color:#587dcc}.translation{color:#617eac}.audio-buttons button{background:#fff;border-color:#ceddf7;color:#6486c1;border-radius:8px;font-size:12px}.explanation{color:#7087a7;font-size:15px}.word-list button{background:#fff;border-color:#dbe5f6;color:#6385b6;border-radius:10px}.word-list small{color:#98aac3;font-size:11px}.question{border-color:#e1e8f5}.question h3{color:#3d597c}.options button{background:#fff;border-color:#dbe6f6;border-radius:10px;color:#728aab;transition:background 90ms,border-color 90ms}.options button:hover:not(:disabled){background:#f0f5ff;border-color:#abc6f6}.options button.correct{background:#e9f7ef;border-color:#add7be;color:#45866b}.options button.wrong{background:#fff0ed;border-color:#edc2b9;color:#b2776c}.feedback{color:#899bbb;font-size:13px}.success{color:#589274}.error{color:#bb8275}.quiz-counter{color:#96a8c5}.quiz-title{color:#4c6ca5}.quiz-sub{color:#8b9fbd;font-size:13px}.order-sentence{color:#6481ae}.order-slots button{background:#fff;border-color:#c2d4ef;border-radius:10px;color:#6986b3}.order-slots button.star{border-color:#8cb0f5}.order-slots small{color:#88a7d8}.order-bank button{background:#eef4ff;border-color:#d3e1f9;color:#6f8cbb;border-radius:10px}.result .score{color:#648df0}.result h2{color:#5374a7}.result p{color:#8e9fba}.share-fallback{background:white;color:#637faa;border-color:#cddcf3}.workspace-nav{position:sticky;top:88px;z-index:19;background:#f8faffed;backdrop-filter:blur(12px);border-bottom:1px solid #e2eaf7;padding:10px max(48px,calc((100% - 1240px)/2));display:flex;align-items:center;gap:6px;overflow-x:auto;scrollbar-width:none}.workspace-nav::-webkit-scrollbar{display:none}.workspace-nav button{white-space:nowrap;padding:9px 15px;min-height:40px;border-radius:8px;color:#8a9cba;font-size:12px;transition:color 90ms,background 90ms}.workspace-nav button.active{color:#5179d5;background:#e8efff;font-weight:650}.workspace-nav button:hover{background:#edf3ff}.focus-view main>[hidden]{display:none!important}.focus-view main>.section,.focus-view main>.library-section>.section,.focus-view main>.practice-section>.section,.focus-view main>.materials-section>.section{padding-top:38px;min-height:calc(100dvh - 260px)}.focus-view footer{border-top:1px solid #e2eaf7}a,button{transition:color 90ms,background 90ms,border-color 90ms}button:active:not(:disabled){transform:translateY(1px)}
@media(min-width:1400px){.hero-art{height:580px}.orbit-word{top:88px;font-size:134px}.study-card{top:285px}}@media(max-width:1150px){.hero{gap:32px}.hero-art{height:525px}.study-card{top:252px;padding:22px}.study-card .jp{font-size:28px}.orbit-word{font-size:112px}.workspace-nav{padding-left:32px;padding-right:32px}.workspace-nav button{font-size:11px;padding:9px 12px}.hero-stats{gap:30px}header nav{font-size:11px;gap:14px}.brand b{font-size:14px}}@media(max-width:900px){.study-card{padding:18px;left:16px;right:16px}.study-card .jp{font-size:24px}.hero-art{height:505px}.orbit-word{font-size:98px;top:90px}.card-top{font-size:7px}.card-bottom{font-size:9px}.hero-stats small{font-size:8px}.path-symbol{width:105px;font-size:31px}.path-card h3{font-size:20px}.path-card p{font-size:12px}.path-top{font-size:8px}.brand b{font-size:13px}}@media(max-width:700px){html{scroll-padding-top:142px}header{height:76px}.brand b{font-size:12px}.brand small{font-size:5px}.hero{padding-top:33px;padding-bottom:33px;gap:30px}h1{font-size:57px;letter-spacing:-2.8px}.hero .eyebrow{font-size:9px}.lead{font-size:14px;line-height:1.85}.hero .primary,.hero .secondary{font-size:12px;min-height:47px}.hero-stats{gap:16px;margin-top:25px}.hero-stats small{font-size:8px;letter-spacing:0}.hero-stats b{font-size:27px}.hero-art{height:490px;border-radius:20px}.orbit-word{font-size:110px;top:70px}.study-card{top:235px;left:20px;right:20px;padding:20px}.study-card .jp{font-size:27px}.card-top{font-size:8px}.card-bottom{font-size:10px}.reading{font-size:12px}.roman{font-size:10px}.floating-label{font-size:10px}.principles>div{font-size:10px}.principles i{font-size:9px}.learning-hub{gap:12px}.learning-hub a{padding:16px 12px;gap:10px}.learning-hub a>span{width:33px;height:33px;flex-shrink:0;border-radius:9px;font-size:20px}.learning-hub b{font-size:11px}.learning-hub small{font-size:8px}.learning-hub i{font-size:11px}.section{padding-top:48px;padding-bottom:48px}h2{font-size:32px;letter-spacing:-1.2px}.section-intro{font-size:13px}.path-card{padding:23px 23px 0;border-radius:14px}.path-symbol{padding:8px 13px;width:105px;font-size:35px}.path-card h3{font-size:25px}.path-meta{font-size:10px}.path-top{font-size:9px}.path-card p{font-size:13px}.path-card>button{font-size:12px}.active-path{padding:20px}.active-path h3{font-size:14px}.active-path p{font-size:12px}.active-path .path-status{font-size:11px}.chips button{font-size:11px;padding:9px 13px}.search input{font-size:12px;width:100%}.lesson-card{padding:23px}.lesson-card h3{font-size:21px}.lesson-jp{font-size:19px}.lesson-card p{font-size:13px}.lesson-card>button{font-size:12px}.vocab-copy>p:not(.eyebrow){font-size:13px}.flashcard{min-height:265px}.flashcard strong{font-size:42px}.flash-tools{font-size:10px}.flash-controls button{font-size:11px}.practice-card h3{font-size:24px}.practice-card p{font-size:13px}.practice-index{font-size:9px}.practice-card>span:last-child{font-size:9px}.video-info h3{font-size:21px}.video-actions{font-size:12px}.progress-title{font-size:8px}.progress-main{padding:26px}.progress-cards span{font-size:8px}.progress-cards small{font-size:11px}.closing h2{font-size:45px}.closing .eyebrow{font-size:9px}.closing-bottom small{font-size:12px}.material-card h3{font-size:22px}.material-actions{font-size:12px}.tip-accordions summary{font-size:14px}.tip-accordions details p{font-size:13px}.workspace-nav{top:76px;padding:8px 15px;gap:4px}.workspace-nav button{min-height:40px;font-size:11px;padding:9px 13px}.focus-view main>.section,.focus-view main>.library-section>.section,.focus-view main>.practice-section>.section,.focus-view main>.materials-section>.section{padding-top:30px}.modal-top{font-size:9px}.explanation{font-size:14px}.feedback{font-size:13px}.word-list small{font-size:10px}.options button{font-size:14px}.mobile-nav span{font-size:9px}.closing .primary{font-size:12px}.sharing-note p{font-size:11px}}
@media(max-width:360px){h1{font-size:50px}.brand b{font-size:11px}.hero-art{height:470px}.study-card{left:15px;right:15px;padding:17px}.study-card .jp{font-size:24px}.card-top{font-size:7px}.hero-stats small{font-size:7px}.learning-hub a{gap:8px;padding:14px 10px}.learning-hub a>span{width:28px;height:28px;font-size:18px}.learning-hub b{font-size:10px}.learning-hub small{font-size:7px}.path-card h3{font-size:22px}.path-symbol{width:85px;font-size:29px}.path-top{font-size:8px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}a,button{transition:none!important}}
/* Readable text over light surfaces */
.section-intro,.lead,.vocab-copy>p:not(.eyebrow),.library-section .section-intro{color:#61748f}.lesson-card p,.path-card p,.material-card p,.practice-card p,.tips-feature p,.tip-accordions details p,.sharing-note p,.progress-main p,.result p{color:#64758f}.practice-note,.flash-tools,.review-note,.reading,.roman,.lesson-top,.path-meta,.outline-label,.material-top,.practice-index,.progress-title,.progress-cards span,.progress-cards small,.video-info p,footer>div small{color:#6a7b94}.flashcard small{color:#7183a0}.workspace-nav button,.chips button,.material-actions a,.material-actions button,.video-actions button,.flash-controls button,.review-controls button{color:#59719a}.workspace-nav button.active{color:#345ef1}.chips button.active,.primary,.review-controls button:last-child,.active-path .primary{color:#fff}.options button,.explanation,.quiz-sub,.feedback,.translation{color:#607794}.success{color:#397e5a}.error{color:#a75b51}.options button.correct{color:#397e5a}.options button.wrong{color:#a75b51}.material-actions a,.material-actions button,.video-actions button{color:#345ef1}.progress-cards b{color:#587dc4}.path-card.purple.selected>button{color:#8a54cc}.path-card.cyan.selected>button{color:#087d94}.focus-view main>section[hidden]{display:none!important}.study-card{transition:none}.hero-art.meaning-open{min-height:615px}@media(max-width:700px){.hero-art.meaning-open{min-height:575px}}

/* Smaller Vietnamese meanings on the vocabulary card. */
#vocabulary #flashcard strong[lang="vi"]{font-size:clamp(20px,2.3vw,28px);line-height:1.6;font-weight:700}

#vocabulary #flashcard strong[lang="ja"]{color:#264171;font-weight:700}

/* A quiet visual tap cue replaces text on both sides of the card. */
#vocabulary .tap-hand{display:inline-flex;align-items:center;justify-content:center;color:#707780;border:0;border-radius:0;background:none;box-shadow:none;letter-spacing:0;line-height:1;animation:flash-tap-hint 1.8s ease-in-out infinite}
#vocabulary .tap-hand svg{display:block;width:27px;height:27px;overflow:visible}

@keyframes flash-tap-hint{0%,100%{opacity:.35;transform:translateY(0)}50%{opacity:1;transform:translateY(-3px)}}
@media(prefers-reduced-motion:reduce){#vocabulary .tap-hand{animation:none;opacity:.8;transform:none}}

/* Vietnamese meaning: uppercase and upright; qualifiers in a separate small row. */
#vocabulary #flashcard strong.flash-meaning{display:block;color:#264171;font-weight:500;font-style:normal;letter-spacing:0;line-height:1.6}
#vocabulary #flashcard .flash-meaning-face{display:flex;flex-direction:column;align-items:stretch;gap:12px}
#vocabulary #flashcard .flash-usage{display:block;font-size:clamp(12px,1.25vw,14px);font-weight:400;font-style:normal;line-height:1.8;color:#7183a0;max-width:36em;margin:0 auto;overflow-wrap:anywhere}

#vocabulary #flashcard .flash-example{display:block;font-size:clamp(12px,1.25vw,14px);font-weight:400;font-style:normal;line-height:1.9;color:#7183a0;max-width:36em;margin:0 auto;overflow-wrap:anywhere}

#vocabulary #flashcard .flash-example-vi{display:block;font-size:clamp(12px,1.25vw,14px);font-weight:400;font-style:normal;text-transform:none;line-height:1.7;color:#7183a0;max-width:36em;margin:-7px auto 0;overflow-wrap:anywhere}
