/* Blue and white game center. */
.games-intro{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:26px}.game-controller{width:138px;color:#0b5aff;transform:rotate(-8deg);flex-shrink:0}.game-controller svg{display:block;width:100%}.game-stat-row{display:flex;flex-wrap:wrap;gap:12px 30px;padding:18px 22px;border:1px solid #dce7ff;border-radius:16px;margin:18px 0 26px;color:#475467}.game-stat-row strong{font-size:21px;color:#0b5aff;margin-right:5px}.game-catalog{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.game-card{border:1px solid #dce7ff;border-radius:22px;padding:26px;display:flex;flex-direction:column;background:#fff;transition:transform .18s,border-color .18s}.game-card:hover{border-color:#0b5aff;transform:translateY(-3px)}.game-card-number{font-size:11px;font-weight:750;letter-spacing:.06em;color:#667085}.game-card-symbol{color:#0b5aff;background:#eef4ff;display:grid;place-items:center;align-self:flex-start;width:65px;height:65px;border-radius:18px;font-size:35px;margin:24px 0 18px;font-family:QilinHanzi,'Segoe UI',sans-serif}.game-card h2{font-size:22px;margin:0 0 10px;line-height:1.4}.game-card p{color:#667085;line-height:1.7;margin:0 0 26px}.game-card-foot{display:flex;justify-content:space-between;gap:10px;margin-top:auto;font-size:12px;color:#667085}.game-card-foot b{color:#0b5aff}.game-local-note{color:#667085;font-size:12px;line-height:1.8;margin:22px 0 0}.game-setup,.game-round,.game-result,.game-paused{max-width:760px;margin:24px auto;border:1px solid #dce7ff;border-radius:22px;padding:30px;background:#fff}.game-setup h2{margin-top:0}.game-field{display:flex;flex-direction:column;gap:8px;max-width:380px;font-weight:650}.game-field select{font:inherit;min-height:48px;border:1px solid #c2d5ff;background:#fff;border-radius:10px;padding:10px;color:#152039}.game-setup #game-level-description,.game-rules{color:#667085;line-height:1.8}.game-check{display:flex;gap:10px;align-items:center;flex-wrap:wrap;line-height:1.6;margin:18px 0}.game-check input{width:20px;height:20px;accent-color:#0b5aff;flex-shrink:0}.game-start{margin-top:12px}.game-round-head{display:flex;align-items:center;gap:10px 16px;flex-wrap:wrap;font-size:12px}.game-round-head strong{color:#0b5aff;margin-left:auto}.game-round-head button{min-height:36px;font-size:12px;padding:6px 11px}.game-round-head [role=timer]{font-variant-numeric:tabular-nums;min-width:58px}.game-meter{height:6px;background:#eef4ff;margin:20px 0 26px;border-radius:8px;overflow:hidden}.game-meter span{height:100%;display:block;background:#0b5aff;transition:width .2s}.game-round h2{font-size:21px;line-height:1.5;margin:0 0 20px;text-align:center}.game-picture{margin:0 auto 22px;max-width:300px;background:#f5f8ff;border-radius:20px}.game-picture svg{width:100%;height:auto;max-height:210px;display:block}.game-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.game-choice{min-height:86px;position:relative;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:9px;border:1px solid #c2d5ff;border-radius:14px;background:#fff;color:#152039;padding:14px}.game-choice>span[lang]{font-family:QilinHanzi,'Microsoft YaHei',sans-serif;font-size:34px;line-height:1.3}.game-choice small{font-size:11px;color:#667085;position:absolute;top:8px;left:10px}.game-choice em{font-size:13px;font-style:normal;width:100%;color:#667085}.game-choice:hover:not(:disabled){border-color:#0b5aff;background:#f5f8ff}.game-choice.correct{border:2px solid #0b5aff;background:#eef4ff}.game-choice.incorrect{border:2px dashed #475467;background:#f2f4f7}.game-choice:disabled{cursor:default;opacity:1}.game-option-mark{position:absolute;right:8px;top:5px;font-size:20px;color:#0b5aff}.game-choice.incorrect .game-option-mark{color:#475467}.game-feedback{min-height:28px;line-height:1.8;margin:20px 0 0;font-size:14px}.game-feedback>span{display:block}.game-feedback b[lang]{font-size:23px;font-family:QilinHanzi,'Microsoft YaHei',sans-serif}.game-feedback.is-correct{color:#0848d6}.game-feedback.is-wrong{color:#344054}.game-next{width:100%;margin-top:16px}.game-listen{display:flex;flex-direction:column;align-items:center;gap:12px;margin:28px 0;color:#667085;font-size:12px}.game-sound{width:104px;height:104px;border:0;border-radius:50%;background:#0b5aff;color:white;font-size:45px;box-shadow:0 0 0 12px #eef4ff}.game-audio-status{color:#475467;font-size:13px;line-height:1.8;min-height:4px;margin:12px 0 0}.game-pinyin-target{display:flex;justify-content:center;align-items:center;gap:15px;flex-wrap:wrap;margin:18px 0}.game-pinyin-target strong{font-size:46px;font-weight:400;font-family:QilinHanzi,'Microsoft YaHei',sans-serif}.game-pinyin-target span{font-size:13px;color:#667085}.game-syllable{display:flex;gap:12px;justify-content:center;align-items:center;background:#eef4ff;padding:24px 12px;border-radius:16px;font-size:24px;margin-bottom:20px;color:#0b5aff;flex-wrap:wrap}.game-syllable span{min-width:40px;text-align:center}.game-parts{border:0;margin:0 0 16px;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.game-parts legend{padding:0 0 10px;font-size:12px;color:#667085}.game-parts button{font-size:23px;min-height:52px;border-radius:10px;background:#fff;border:1px solid #c2d5ff;color:#152039}.game-parts button[aria-pressed=true]{background:#0b5aff;color:white;border-color:#0b5aff}.game-parts button:disabled{cursor:default}.game-combine{width:100%}.game-combine:disabled{opacity:.45;cursor:not-allowed}.game-pair-board{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px}.game-pair-column{display:flex;flex-direction:column;gap:10px}.game-pair-column h3{font-size:12px;text-align:center;color:#667085;margin:0 0 4px}.game-pair{position:relative;border:1px solid #c2d5ff;background:#fff;color:#152039;min-height:62px;border-radius:12px;padding:10px 26px 10px 10px;overflow-wrap:anywhere;font-size:15px}.game-pair [lang]{font-size:30px;font-family:QilinHanzi,'Microsoft YaHei',sans-serif}.game-pair.is-selected{border:2px solid #0b5aff;background:#eef4ff}.game-pair.is-matched{border:1px solid #dce7ff;background:#f5f8ff;color:#667085;opacity:.6;cursor:default}.game-pair>b{position:absolute;right:8px;top:50%;transform:translateY(-50%);color:#0b5aff}.game-pair-help{text-align:center;font-size:12px;color:#667085;line-height:1.7}.game-paused{text-align:center;padding:50px 20px}.game-paused .game-card-symbol{margin:0 auto 25px}.game-paused p{color:#667085;line-height:1.7}.game-paused .text-button{display:block;margin:22px auto 0}.game-result{text-align:center}.game-result h2{font-size:30px;margin:10px 0}.game-result-xp{font-size:64px;letter-spacing:-2px;color:#0b5aff;font-weight:750;margin:18px 0}.game-result-xp small{font-size:23px;letter-spacing:0}.game-result-stats{display:flex;justify-content:center;flex-wrap:wrap;gap:20px;font-size:12px;color:#667085}.game-result-stats strong{display:block;font-size:21px;color:#152039;margin-bottom:5px}.game-result-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:12px;margin-top:30px}.game-result-actions .text-button{width:100%}.game-review{text-align:left;margin-top:30px;border-top:1px solid #dce7ff;padding-top:20px}.game-review h3{margin:0;font-size:18px}.game-review>p{color:#667085;font-size:12px;line-height:1.8}.game-review-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 0;border-bottom:1px solid #eef4ff}.game-review-row>strong{font-size:24px;font-family:QilinHanzi,'Microsoft YaHei',sans-serif;display:flex;gap:5px;font-weight:400}.game-review-row>strong a{color:#0b5aff;text-decoration:underline;text-underline-offset:4px}.game-review-row>span{font-size:12px;color:#667085;flex:1;min-width:100px}.game-review-row button{font-size:12px;min-height:40px}.game-records-heading{display:flex;justify-content:space-between;gap:12px;align-items:center}.game-records-heading h2{margin:0}.game-history>a{display:flex;justify-content:space-between;gap:12px;padding:14px 0;border-bottom:1px solid #eef4ff;align-items:center}.game-history strong{font-size:13px}.game-history small{display:block;margin-top:6px;color:#667085;font-size:11px}.game-history>a>span{font-size:12px;color:#0b5aff;white-space:nowrap}.game-records .game-stat-row{padding:15px 0;border:0;margin:5px 0}.game-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}#game-share-fallback label{display:flex;flex-direction:column;gap:10px;text-align:left;font-size:12px;color:#667085}#game-share-url{width:100%;font:inherit;padding:12px;border:1px solid #c2d5ff;border-radius:10px;color:#152039}.game-home-link{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;border:1px solid #c2d5ff;border-radius:18px;padding:20px 24px;margin:24px 0;background:#fff}.game-home-link h2{font-size:18px;margin:0 0 7px}.game-home-link p{font-size:12px;line-height:1.7;color:#667085;margin:0}.game-home-link .outline-button{color:#0b5aff;border-color:#c2d5ff}.game-icon{width:23px;height:23px;vertical-align:middle}.game-round button:focus-visible,.game-setup button:focus-visible,.game-parts button:focus-visible,.game-card:focus-visible{outline:3px solid #0b5aff;outline-offset:3px}
@media(max-width:650px){.games-intro{gap:10px}.game-controller{width:85px}.games-intro .page-title{font-size:27px}.game-stat-row{gap:8px 18px;padding:15px;font-size:11px}.game-stat-row strong{font-size:18px}.game-catalog{gap:12px}.game-card{padding:17px;border-radius:17px}.game-card h2{font-size:18px}.game-card p{font-size:12px;margin-bottom:19px}.game-card-number{font-size:9px}.game-card-symbol{margin:18px 0 14px;width:53px;height:53px;font-size:29px}.game-card-foot{flex-wrap:wrap;font-size:11px;gap:7px}.game-setup,.game-round,.game-result{padding:20px 16px;margin-top:18px;border-radius:18px}.game-round-head{gap:8px;font-size:11px}.game-round-head>span:first-child{flex:1;min-width:145px}.game-round-head>strong{margin-left:0}.game-round h2{font-size:18px}.game-picture{max-width:240px}.game-choice{min-height:80px;padding:14px 8px}.game-choice>span[lang]{font-size:29px}.game-pair-board{gap:12px}.game-pair{min-height:59px;font-size:13px}.game-syllable{font-size:21px;gap:8px}.game-parts{gap:8px}.game-parts button{font-size:21px}.game-result-xp{font-size:55px}.game-result-stats{gap:16px}.game-home-link{padding:18px}.mobile-nav{height:calc(76px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom)}.mobile-nav button{flex:1;min-width:0;max-width:25%;padding:4px 2px}.mobile-nav small{font-size:10px;line-height:1.4;white-space:normal}.main-content{padding-bottom:calc(110px + env(safe-area-inset-bottom))}}
@media(max-width:360px){.game-catalog{grid-template-columns:1fr}.game-card{padding:20px}.game-card-symbol{float:right}.game-round-head>span:first-child{min-width:120px}.game-choice>span[lang]{font-size:26px}}
@media(prefers-reduced-motion:reduce){.game-card,.game-meter span{transition:none}.game-card:hover{transform:none}}

.game-spelling-note{font-size:12px;line-height:1.8;background:#f5f8ff;color:#475467;border-radius:10px;padding:12px}
