/* Food topic only; retains Hanyu shell and all existing topic styles. */
.fd-hero{min-height:265px;background:#eef8ff}.fd-hero .gg-hero-copy{width:68%;padding:28px}.cm-menu .fd-hero h1{font-size:36px;line-height:1.25}.fd-hero .gg-hero-progress{max-width:58%}.fd-hero>img{object-position:right center}.fd-hero:after{background:linear-gradient(90deg,#eef8ff 0%,#eef8fff5 38%,#eef8ff20 78%),linear-gradient(0deg,#eef8ff 0%,transparent 40%)}.fd-lesson{min-width:0}.fd-lesson .gg-btn{cursor:pointer}.fd-lesson button:disabled{cursor:not-allowed}.fd-lesson .gg-btn:focus-visible,.fd-lesson input:focus-visible,.fd-lesson select:focus-visible{outline:3px solid #164fc0;outline-offset:3px}.fd-lesson .gg-tabs button{min-width:135px;min-height:48px}.fd-topline,.fd-step-nav,.fd-pager{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin:15px 0}.fd-topline>span,.fd-pager>span,.fd-step-nav>span{font-size:12px;color:#496680}.fd-step-nav{border-top:1px solid #d8e7f7;padding-top:18px}.fd-group-tabs,.fd-word-bank,.fd-question-dots,.fd-finish-links{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}.fd-lesson .gg-actions{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.fd-overview-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.fd-overview-grid article{background:white;border:1px solid #dce8f5;border-radius:15px;overflow:hidden;min-width:0}.fd-overview-grid article>img{width:100%;height:135px;object-fit:cover}.fd-overview-grid article>div{padding:18px}.fd-overview-grid h2{font-size:19px;margin:6px 0;color:#153f78}.fd-overview-grid p{font-size:13px;line-height:1.65;color:#526b83;min-height:44px}.fd-words{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.fd-word{min-width:0;padding:10px 10px 14px;border:1px solid #d8e7f6;border-radius:13px;background:#fff;text-align:center;transition:transform .15s,box-shadow .15s}.fd-word:hover{transform:translateY(-2px);box-shadow:0 7px 18px #264e7512}.fd-word.is-learned{border-color:#69bca5}.fd-word-image{margin:0 0 12px;min-width:0}.fd-word-image img{display:block;width:100%;height:120px;object-fit:contain;background:#f6faff;border-radius:9px}.fd-word-image figcaption{font-size:10px;line-height:1.5;color:#59708a;padding:5px 0;min-height:24px}.fd-word .gg-triple{min-height:100px}.fd-word .gg-triple strong{font-size:27px}.fd-word .gg-meaning{font-size:13px}.fd-word .gg-audio{justify-content:center}.fd-word-actions{display:flex;gap:5px;flex-wrap:wrap;justify-content:center;margin-top:10px}.fd-word-actions .gg-btn{font-size:11px;padding:7px;min-height:44px;min-width:44px}.fd-phrases{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.fd-phrases article,.fd-prices article{min-width:0;border:1px solid #dce8f4;border-radius:13px;padding:21px;background:white}.fd-phrases .gg-triple strong{font-size:23px}.fd-phrases p{font-size:13px;line-height:1.7;color:#526a83}.fd-phrases summary,.fd-voice-picker summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-size:13px;color:#175da3}.fd-phrases details{border-top:1px solid #e3ecf6;margin:12px 0}.fd-scene{display:block;width:100%;height:230px;object-fit:cover;border-radius:14px;margin:20px 0}.fd-voice-picker{border:1px solid #dce8f6;background:white;border-radius:10px;padding:8px 16px;margin:15px 0}.fd-voice-picker p{font-size:13px;color:#526b83;line-height:1.7}.fd-lesson .gg-chat{margin:20px 0}.fd-lesson .gg-chat-line article>small{display:block;margin-bottom:7px;color:#506e88}.fd-role{border:1px solid #b8d8f8;border-radius:14px;padding:22px;margin:16px 0;background:#f0f8ff}.fd-role>p{font-size:14px;line-height:1.7}.fd-role>.gg-btn{margin:8px 6px 0 0}.fd-prices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin:20px 0}.fd-price-label{display:inline-flex;padding:5px 10px;margin:0 0 12px;border-radius:6px;background:#e9f6ff;color:#1169b1;font-size:23px}.fd-prices .gg-triple strong{font-size:23px}.fd-converter,.fd-price-scene,.fd-game-start{border:1px solid #d7e6f6;background:white;border-radius:14px;padding:24px;margin:20px 0}.fd-converter>p,.fd-price-scene>p,.fd-game-start>p{font-size:14px;line-height:1.7;color:#526b83}.fd-converter label{display:grid;gap:8px;max-width:400px;margin:15px 0;font-size:13px}.fd-converter input{width:100%;font:inherit;font-size:16px;min-height:46px;padding:10px 12px;border:1px solid #b9cfe6;border-radius:8px}.fd-converter small{display:block;font-size:12px;line-height:1.7;color:#506b83;margin-top:15px}.fd-price-scene>.gg-triple{margin-top:20px}.fd-lesson .gg-choices>.gg-btn{justify-content:flex-start;text-align:left;min-height:50px}.fd-lesson .gg-question h3{font-size:18px}.fd-lesson .gg-question>.gg-btn{margin:0 8px 12px 0}.fd-question-dots .gg-btn{min-width:44px}.fd-flash{max-width:430px;padding:24px;margin:20px auto;border:1px solid #b8d4f0;border-radius:18px;background:#fff;box-shadow:0 12px 24px #193d6a0a;text-align:center}.fd-flash>.gg-kicker{display:block}.fd-flash>strong{display:block;font-size:46px;margin:20px 0}.fd-flash .fd-word-image img{height:175px}.fd-flash .gg-triple{margin:20px 0}.fd-flash .gg-audio,.fd-flash .gg-actions{justify-content:center}.fd-match{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);gap:16px}.fd-match>div{display:grid;gap:10px}.fd-match .gg-btn{min-height:58px}.fd-match>div:first-child .gg-btn{font-size:24px}.fd-order-answer{min-height:70px;padding:13px;background:#eef7ff;border:1px dashed #a1c8f0;border-radius:10px;display:flex;gap:8px;flex-wrap:wrap}.fd-order-answer>span{color:#526b83;font-size:14px}.fd-order-answer .gg-btn,.fd-word-bank .gg-btn{font-size:20px}.fd-clock{display:flex;align-items:center;gap:12px;padding:16px 20px;margin:20px 0;background:#fff5df;border:1px solid #efcf8a;border-radius:12px}.fd-clock>b{font-size:32px;color:#89510a}.fd-clock>span{font-size:13px;color:#74572f}.fd-summary{padding:28px;background:white;border:1px solid #cce5de;border-radius:16px;margin-top:20px}.fd-summary h2{font-size:27px;color:#124c72}.fd-summary>p{font-size:14px;line-height:1.7;color:#526b83}.fd-stats{display:grid;grid-template-columns:180px minmax(0,1fr);gap:30px;align-items:center;margin:25px 0}.fd-stats>strong{display:grid;place-items:center;width:170px;height:170px;border:12px solid #bdebdc;border-radius:50%;font-size:36px;color:#087b5a}.fd-stats ul{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.fd-stats li{font-size:13px;color:#526b83}.fd-stats b{display:block;font-size:23px;color:#154a7f;margin-bottom:4px}.fd-lesson .fd-next-topic{margin-top:20px;width:100%;min-height:50px}.fd-celebrate{animation:fd-complete .5s ease-out}@keyframes fd-complete{from{transform:translateY(8px);opacity:.65}to{transform:translateY(0);opacity:1}}
@media(max-width:1200px){.fd-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.fd-words{grid-template-columns:repeat(3,minmax(0,1fr))}.fd-prices{grid-template-columns:repeat(2,minmax(0,1fr))}.fd-hero .gg-hero-copy{width:73%}.cm-menu .fd-hero h1{font-size:30px}.fd-word-actions .gg-btn{font-size:10px}.fd-word-image img{height:110px}}
@media(max-width:700px){.fd-hero .gg-hero-copy{width:100%;padding:22px 18px 12px}.cm-menu .fd-hero h1{font-size:29px;max-width:95%}.fd-hero .gg-hero-copy>p{max-width:83%}.fd-hero .gg-hero-progress{max-width:none}.fd-hero:after{background:linear-gradient(90deg,#eef8ff 0%,#eef8ffe0 60%,#eef8ff40),linear-gradient(0deg,#eef8ff 0%,#eef8fff0 35%,transparent 80%)}.fd-hero>img{width:160%;max-width:none;left:auto;right:-40px}.fd-overview-grid{grid-template-columns:minmax(0,1fr)}.fd-overview-grid article{display:grid;grid-template-columns:100px minmax(0,1fr)}.fd-overview-grid article>img{height:100%;min-height:165px}.fd-overview-grid article>div{padding:15px}.fd-words{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.fd-word{padding:8px}.fd-word-image img{height:105px}.fd-word .gg-triple strong{font-size:26px}.fd-word .gg-pinyin{font-size:13px}.fd-word .gg-meaning{font-size:12px}.fd-word-actions{gap:4px}.fd-word-actions .gg-btn{padding:6px;font-size:10px}.fd-word .gg-audio .gg-btn{padding:6px;font-size:11px}.fd-phrases,.fd-prices{grid-template-columns:minmax(0,1fr)}.fd-phrases article{padding:18px}.fd-scene{height:180px}.fd-converter,.fd-price-scene,.fd-game-start,.fd-role{padding:18px}.fd-lesson .gg-question h3{font-size:17px}.fd-lesson .gg-choices{grid-template-columns:minmax(0,1fr)}.fd-match{gap:10px;grid-template-columns:minmax(0,1fr) minmax(0,1.6fr)}.fd-match .gg-btn{font-size:12px}.fd-stats{grid-template-columns:minmax(0,1fr);gap:22px}.fd-stats>strong{margin:auto;width:145px;height:145px}.fd-stats ul{grid-template-columns:repeat(2,minmax(0,1fr))}.fd-summary{padding:20px}.fd-summary h2{font-size:24px}.fd-step-nav .gg-btn{min-width:90px}}
@media(prefers-reduced-motion:reduce){.fd-word{transition:none}.fd-word:hover{transform:none}.fd-celebrate{animation:none}}

/* Food-specific interaction surfaces. All selectors stay inside Topic 08. */
.fd-step-progress{width:100%;height:8px;accent-color:#248978;margin:0 0 14px}.fd-word-open{display:block;width:100%;border:0;background:transparent;text-align:left;color:inherit;padding:0;cursor:pointer;border-radius:12px}.fd-word-open:focus-visible{outline:3px solid #164fc0;outline-offset:4px}.fd-detail{border:1px solid #a8cbd7;background:#f1f9fa;border-radius:16px;padding:18px;margin:20px 0}.fd-detail-body{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);gap:24px}.fd-detail-body>div{min-width:0}.fd-menu-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.fd-menu-grid>article{border:1px solid #dbe7eb;border-radius:16px;padding:14px;background:#fff;min-width:0}.fd-menu-grid .fd-word-image{margin:0 0 12px}.fd-quantity{display:flex;align-items:center;gap:14px;justify-content:space-between;margin-top:16px}.fd-quantity output{font-weight:800;font-size:18px}.fd-quantity .gg-btn{min-width:44px}.fd-order{background:#f2faf6;border:1px solid #c9e4d8;padding:22px;border-radius:16px;margin-top:24px}.fd-order ul{padding:0;list-style:none}.fd-order li{display:flex;justify-content:space-between;gap:10px;border-bottom:1px solid #d7e7de;padding:10px 0}.fd-order input{display:block;max-width:100%;min-height:44px;margin:10px 0;padding:10px;border:1px solid #86a9a0;border-radius:8px}.fd-order .fd-total{display:flex;justify-content:space-between;font-size:22px;color:#155e50}.fd-question-image{display:block;width:min(100%,360px);height:auto;aspect-ratio:3/2;object-fit:cover;border-radius:12px;margin:16px auto}.fd-choice-image{display:block;width:100%;max-width:240px;height:auto;aspect-ratio:3/2;object-fit:cover;border-radius:8px}.fd-lesson .gg-choices .gg-btn:has(.fd-choice-image){display:flex;flex-direction:column;gap:8px;align-items:center}.fd-badges{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.fd-badges span{border:1px solid #aad7bf;background:#e9f8ef;color:#17543c;padding:10px 14px;border-radius:24px;font-weight:700;font-size:13px}.fd-lesson .gg-choices{min-width:0}.fd-lesson .gg-choices>*{min-width:0;overflow-wrap:anywhere}.fd-lesson .gg-btn,.fd-lesson summary{min-height:44px}.fd-lesson .gg-tabs{display:flex;overflow-x:auto;max-width:100%;flex-wrap:nowrap}.fd-lesson .gg-tabs button{flex:0 0 auto}.fd-lesson .gg-pronunciation{margin-top:24px}.fd-lesson .gg-question-list{min-width:0}
@media(max-width:1100px){.fd-menu-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.fd-menu-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.fd-menu-grid>article{padding:10px}.fd-menu-grid .gg-triple strong{font-size:22px}.fd-menu-grid .gg-audio{flex-wrap:wrap}.fd-menu-grid .gg-audio .gg-btn{padding:8px;font-size:12px}.fd-detail-body{grid-template-columns:minmax(0,1fr)}.fd-detail{padding:14px}.fd-order{padding:16px}.fd-hero .gg-hero-copy{width:100%}.fd-step-nav .gg-btn{font-size:13px;padding:10px}.fd-lesson .gg-study-tools{gap:6px}.fd-lesson .gg-study-tools .gg-btn{font-size:12px;padding:8px 10px}}
@media(prefers-reduced-motion:reduce){.fd-lesson *{animation:none!important;transition:none!important}}
.fd-lesson .fd-step-nav{position:static;width:auto;height:auto;overflow:visible}.fd-order input{font-size:16px}.fd-word-open .gg-triple{display:flex;flex-direction:column}.fd-word-open{text-align:center}.fd-lesson .gg-bottom-links .gg-btn{max-width:100%;white-space:normal;overflow-wrap:anywhere}
@media(max-width:700px){.fd-quantity{gap:4px}.fd-quantity .gg-btn{padding:8px;min-width:44px}}

/* Topic 08 entry page follows the Shopping reference: image, step, title, copy, action. */
.fd-overview .gg-section-head{margin-top:0}.fd-course-cards{gap:20px}.fd-course-cards>article{display:flex;flex-direction:column;min-width:0;background:#fff;border:1px solid #d7e4f5;border-radius:17px;overflow:hidden}.fd-course-cards>article>img{display:block;width:100%;height:150px;object-fit:cover;flex:none}.fd-course-cards>article>div{padding:23px 20px;display:flex;flex-direction:column;flex:1;align-items:flex-start;min-width:0}.fd-course-cards h3{color:#123f76;font-size:22px;line-height:1.35;letter-spacing:-.3px;margin:12px 0 8px}.fd-course-cards p{font-size:14px;line-height:1.7;color:#526d88;min-height:48px;margin:4px 0 22px}.fd-course-cards .gg-btn{margin-top:auto;min-height:48px;border-radius:11px;padding:12px 17px}.fd-card-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;width:100%}.fd-card-done{font-size:11px;color:#14634b;font-weight:700}.fd-resume{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:14px;padding:18px 20px;margin:4px 0 22px;background:#eff8f6;border:1px solid #cee5dc;border-radius:13px}.fd-resume strong{color:#155647}.fd-resume p{margin:4px 0 0;font-size:13px;color:#4d6c65}
@media(max-width:700px){.fd-course-cards{grid-template-columns:minmax(0,1fr);gap:16px}.fd-course-cards>article{display:flex;grid-template-columns:none}.fd-course-cards>article>img{height:160px;min-height:0}.fd-course-cards>article>div{padding:20px}.fd-course-cards h3{font-size:21px}.fd-course-cards p{min-height:0;margin-bottom:20px}.fd-resume{padding:16px}}
