/* 思维小关：单一当前样式 */
*,*::before,*::after{box-sizing:border-box}
html,body{max-width:100%;overflow-x:hidden}
button,a{touch-action:manipulation}
.reward-summary{display:inline-flex;align-items:center;justify-content:center;gap:8px;margin-top:8px;min-height:36px;border-radius:999px;background:#fffbeb;border:2px solid #facc15;color:#92400e;padding:0 13px;font-size:15px;font-weight:900}.reward-summary strong{color:#0b2845;font-size:19px;line-height:1}
@media (orientation:landscape) and (max-height:800px){.reward-summary{min-height:31px;margin-top:5px;font-size:13px;padding:0 10px}.reward-summary strong{font-size:16px}}
:root{--quiz-blue:#2563eb;--quiz-ink:#17233d;--quiz-muted:#64748b;--quiz-line:#dce6f5;--quiz-bg:#eef5ff;--quiz-good:#0f9f6e;--quiz-warn:#d97706;--quiz-bad:#dc4858}body.thinking-game{margin:0;min-height:100dvh;background:radial-gradient(circle at 15% 0,#dcecff 0,transparent 35%),linear-gradient(145deg,#f8fbff,#edf4ff);color:var(--quiz-ink);font-family:system-ui,-apple-system,"PingFang SC","Microsoft YaHei",sans-serif;overscroll-behavior:none}.quiz-game-shell{width:min(1180px,calc(100% - 32px));height:100dvh;margin:auto;padding:16px 0 18px;box-sizing:border-box;display:grid;grid-template-rows:auto minmax(0,1fr);gap:12px}.quiz-game-top{min-height:68px;padding:10px 14px;border:1px solid rgba(148,163,184,.3);border-radius:20px;background:rgba(255,255,255,.92);box-shadow:0 12px 32px rgba(36,76,130,.1);display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px}.quiz-back,.quiz-top-btn{min-height:44px;padding:0 16px;border:1px solid #cbd8ea;border-radius:14px;background:#fff;color:#304667;text-decoration:none;font-weight:800;font-size:15px;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.quiz-title{min-width:0;display:flex;align-items:center;gap:12px}.quiz-title>i{width:48px;height:48px;border-radius:15px;background:#e6efff;display:grid;place-items:center;font-size:28px;font-style:normal}.quiz-title h1{margin:0;font-size:clamp(21px,2.5vw,30px);line-height:1.1}.quiz-title p{margin:5px 0 0;color:var(--quiz-muted);font-size:14px}.quiz-game-card{min-height:0;padding:14px;border:1px solid rgba(148,163,184,.3);border-radius:24px;background:rgba(255,255,255,.96);box-shadow:0 18px 45px rgba(36,76,130,.12);display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;gap:12px;overflow:hidden}.quiz-status{display:grid;grid-template-columns:auto minmax(120px,1fr) auto;align-items:center;gap:12px}.quiz-progress{font-weight:900;color:#29466f;white-space:nowrap}.quiz-meter{height:10px;border-radius:99px;background:#e7eef8;overflow:hidden}.quiz-meter>i{display:block;height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#3b82f6,#22c7a9);transition:width .25s}.quiz-score{color:var(--quiz-muted);font-weight:800;white-space:nowrap}.quiz-stage{min-height:0;border:1px solid #dce6f5;border-radius:20px;background:linear-gradient(155deg,#fbfdff,#f1f6ff);padding:16px;display:grid;align-content:center;overflow:auto}.quiz-feedback{min-height:48px;border-radius:15px;background:#f2f6fb;color:#475569;padding:11px 14px;box-sizing:border-box;display:flex;align-items:center;font-weight:750}.quiz-feedback.is-bad{background:#fff0f1;color:#b3293c}.quiz-feedback.is-info{background:#edf4ff;color:#2458a6}.quiz-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}.quiz-btn{min-height:48px;padding:0 22px;border:0;border-radius:15px;background:#dfe9f7;color:#294361;font-size:16px;font-weight:900;cursor:pointer;touch-action:manipulation}.quiz-btn.primary{background:linear-gradient(135deg,#2563eb,#1678d3);color:#fff;box-shadow:0 9px 18px rgba(37,99,235,.22)}.quiz-btn.ghost{background:#fff;border:1px solid #cbd8ea}.quiz-btn:disabled{opacity:.5;cursor:not-allowed}.quiz-choice{min-height:54px;padding:10px 14px;border:1px solid #cedaec;border-radius:15px;background:#f9fbff;text-align:left;color:#1f3553;font-size:17px;font-weight:800;cursor:pointer}.quiz-choice:hover,.quiz-choice:focus-visible{border-color:#4380e8;background:#eef5ff}.quiz-choice.is-right{border-color:#16a274;background:#e6f9f2}.quiz-choice.is-wrong{border-color:#e76372;background:#fff0f1}.quiz-board-two{display:grid;grid-template-columns:1fr 1fr;gap:14px;align-items:stretch}.quiz-picture{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;padding:12px;border-radius:18px;background:#fff;border:1px solid #d8e3f2}.quiz-picture button{aspect-ratio:1;border:1px solid #d7e1ef;border-radius:12px;background:#f7faff;font-size:clamp(18px,3.1vw,31px);cursor:pointer}.quiz-picture.is-left button{cursor:default}.quiz-picture button.found{background:#ddf8ee;border-color:#1ca678;transform:scale(.94)}.quiz-big-number{font-size:clamp(46px,10vw,92px);font-weight:950;letter-spacing:.12em;text-align:center;color:#1f4b86}.quiz-memory-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:18px}.quiz-memory-options button{text-align:center}.quiz-grid{display:grid;gap:8px;margin:auto;width:fit-content;max-width:100%}.quiz-grid.g4{grid-template-columns:repeat(4,minmax(54px,82px))}.quiz-grid.g3{grid-template-columns:repeat(3,minmax(64px,92px))}.quiz-grid.g6{grid-template-columns:repeat(6,minmax(42px,70px))}.quiz-cell{aspect-ratio:1;border:1px solid #cdd9e9;border-radius:12px;background:#fff;color:#24415f;font-size:clamp(18px,2.7vw,28px);font-weight:900;display:grid;place-items:center;cursor:pointer}.quiz-cell.is-given{background:#e7effb;color:#1c4f90;cursor:default}.quiz-cell.is-wrong{background:#fff0f1;border-color:#e35b6b}.quiz-cell.is-wall{background:#8fa1b7;border-color:#7c8da2;cursor:default}.quiz-cell.is-player{background:#dfeeff}.quiz-cell.is-goal{background:#e3f8ed}.quiz-cell.is-on{background:#fff4bb;border-color:#e6b936;box-shadow:0 0 20px rgba(255,204,52,.35)}.quiz-number-pad{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin-top:14px}.quiz-number-pad button{min-width:52px}.quiz-controls{display:grid;grid-template-columns:repeat(3,54px);gap:7px;justify-content:center}.quiz-controls button{width:54px;height:48px;padding:0}.quiz-controls .blank{visibility:hidden}.quiz-controls .center{background:#eef3f9;color:#4b627e}.quiz-completion-dialog{position:fixed;inset:0;z-index:50;background:rgba(15,31,55,.55);padding:18px;display:grid;place-items:center}.quiz-completion-dialog[hidden]{display:none}.quiz-completion-card{width:min(520px,100%);border-radius:26px;background:#fff;padding:28px;box-shadow:0 28px 80px rgba(9,28,56,.3);text-align:center}.quiz-completion-icon{font-size:54px}.quiz-completion-card h2{margin:8px 0;font-size:30px}.quiz-completion-card p{color:#5e708a;line-height:1.65}.quiz-reward-line{margin:14px 0;padding:12px;border-radius:14px;background:#ecf5ff;color:#245999;font-weight:850}.quiz-completion-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.quiz-completion-actions .primary{grid-column:1/-1}body[data-quiz-game="brain-teasers"] .quiz-stage{align-content:stretch}@media(max-width:820px),(orientation:portrait){.quiz-game-shell{width:min(100% - 20px,760px);height:auto;min-height:100dvh;padding:10px 0 92px}.quiz-game-top{grid-template-columns:auto minmax(0,1fr)}.quiz-top-btn{display:none}.quiz-game-card{overflow:visible}.quiz-board-two{gap:8px}.quiz-stage{overflow:visible}.quiz-picture{gap:5px;padding:7px}.quiz-status{grid-template-columns:auto 1fr}.quiz-score{display:none}}@media(max-width:520px){.quiz-back{padding:0 11px}.quiz-title>i{width:42px;height:42px}.quiz-title p{display:none}.quiz-game-card{padding:10px}.quiz-stage{padding:10px}.quiz-board-two{grid-template-columns:1fr 1fr}.quiz-grid.g6{grid-template-columns:repeat(6,minmax(34px,1fr))}.quiz-completion-actions{grid-template-columns:1fr}.quiz-completion-actions .primary{grid-column:auto}}:root{
  --ui-bg:#eef4fb;
  --ui-bg-soft:#f7faff;
  --ui-surface:#ffffff;
  --ui-surface-soft:#f6f9fd;
  --ui-ink:#102a4c;
  --ui-muted:#62758e;
  --ui-line:#d8e4f1;
  --ui-line-strong:#bfd2e7;
  --ui-primary:#2563eb;
  --ui-primary-dark:#1749ad;
  --ui-primary-soft:#e9f1ff;
  --ui-success:#0f9b72;
  --ui-success-soft:#e5f8f1;
  --ui-warning:#d97706;
  --ui-warning-soft:#fff4df;
  --ui-danger:#d23f52;
  --ui-danger-soft:#fff0f2;
  --ui-radius-sm:12px;
  --ui-radius-md:16px;
  --ui-radius-lg:22px;
  --ui-radius-xl:28px;
  --ui-shadow-sm:0 8px 22px rgba(28,65,110,.07);
  --ui-shadow-md:0 16px 38px rgba(28,65,110,.11);
  --ui-shadow-lg:0 24px 58px rgba(25,62,108,.16);
  --ui-shell:1180px;
  --ui-parent-shell:1360px;
  --ui-nav-height:72px;
  --ui-safe-bottom:calc(var(--ui-nav-height) + 28px + env(safe-area-inset-bottom));
  --ui-font:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",Arial,sans-serif;
}html{font-family:var(--ui-font);color:var(--ui-ink);background:var(--ui-bg);text-size-adjust:100%;-webkit-text-size-adjust:100%;}body[data-ui-theme="learning"]{--ui-accent:#2563eb;--ui-accent-dark:#1749ad;--ui-accent-soft:#e9f1ff;}body[data-ui-theme="reading"]{--ui-accent:#16856b;--ui-accent-dark:#0d654f;--ui-accent-soft:#e6f7f1;}body[data-ui-theme="thinking"]{--ui-accent:#6557d9;--ui-accent-dark:#493db0;--ui-accent-soft:#eeebff;}body[data-ui-theme="science"]{--ui-accent:#078b80;--ui-accent-dark:#06675f;--ui-accent-soft:#e2f7f4;}body[data-ui-theme="history"]{--ui-accent:#ae621d;--ui-accent-dark:#824511;--ui-accent-soft:#fff0dc;}body[data-ui-theme="map"]{--ui-accent:#2372bd;--ui-accent-dark:#17528e;--ui-accent-soft:#e5f1ff;}body[data-ui-theme="manners"]{--ui-accent:#c96a11;--ui-accent-dark:#944a08;--ui-accent-soft:#fff0de;}body[data-ui-theme="life"]{--ui-accent:#19845d;--ui-accent-dark:#0f6545;--ui-accent-soft:#e6f6ef;}body[data-ui-theme="growth"],body[data-ui-theme="badges"]{--ui-accent:#0b8c70;--ui-accent-dark:#08644f;--ui-accent-soft:#e4f7f1;}body[data-ui-theme="parent"]{--ui-accent:#2d65d4;--ui-accent-dark:#194da9;--ui-accent-soft:#eaf1ff;}body[data-ui-family="hub"],body[data-ui-family="knowledge-hub"],body[data-ui-family="real-life-hub"],body[data-ui-family="badges"],body[data-ui-family="growth"]{padding-bottom:var(--ui-safe-bottom)!important;}body[data-ui-family="hub"]{background:linear-gradient(180deg,#edf4fc 0%,#f8fbff 64%,#eef7f3 100%)!important;}body[data-ui-family="hub"] .home-section{padding-bottom:8px;}body[data-ui-family="knowledge-hub"],body[data-ui-family="real-life-hub"]{background:linear-gradient(180deg,#edf4fb 0%,#f8fbff 100%)!important;}body[data-ui-family="learning-task"],body[data-ui-family="knowledge-task"],body[data-ui-family="real-life-task"],body[data-ui-family="creation"]{
  background:linear-gradient(155deg,#edf4fb 0%,#f9fbfe 62%,#eef8f4 100%)!important;
}body[data-ui-family$="game"]{background:linear-gradient(150deg,#edf3fb 0%,#f9fbfe 58%,#eff8f4 100%)!important;}body[data-ui-family="badges"],body[data-ui-family="growth"]{background:linear-gradient(180deg,#edf4fb 0%,#f8fbff 44%,#eef8f4 100%)!important;}body[data-ui-family="parent"]{background:#edf3f8!important;color:var(--ui-ink)!important;}body[data-ui-family="parent"] :is(input[type="text"],input[type="search"],input[type="number"],textarea,select){border:1px solid var(--ui-line-strong)!important;border-radius:12px!important;background:#fff!important;color:var(--ui-ink)!important;}@media(max-width:900px){:root{--ui-nav-height:68px;}}body[data-ui-family="hub"] .home-section{border-radius:26px!important;padding:22px!important;box-shadow:var(--ui-shadow-md)!important;}body[data-ui-family="hub"] .parent-group{border-radius:20px!important;}@keyframes taskflow-spin{to{transform:rotate(360deg)}}@keyframes taskflow-shimmer{to{background-position:-220% 0}}:root{
  --catalog-ink:#14233d;--catalog-muted:#60708a;--catalog-line:#d8e4f2;
  --catalog-blue:#2563eb;--catalog-blue2:#0f74d8;--catalog-cyan:#14b8a6;
  --catalog-soft:#f3f7fd;--catalog-card:#ffffff;--catalog-good:#0d9468;
  --catalog-warn:#c97808;--catalog-bad:#c93f52;
}body[data-game-shell="thinking-hub"] .parent-group{margin:0;padding:18px;border:1px solid var(--catalog-line);border-radius:24px;background:rgba(255,255,255,.92);box-shadow:0 16px 38px rgba(33,70,120,.08)}body[data-game-shell="thinking-hub"] .parent-group[hidden]{display:none!important}body[data-game-shell="game"]{--game-accent:#2563eb;--game-accent-2:#0f74d8;background:radial-gradient(circle at 15% -10%,#d9eaff 0,transparent 38%),linear-gradient(150deg,#f8fbff 0,#edf4ff 100%);color:var(--catalog-ink)}body[data-game-kind="observe"]{--game-accent:#0f83b8;--game-accent-2:#14a3a0}body[data-game-kind="memory"]{--game-accent:#7357d9;--game-accent-2:#4d75df}body[data-game-kind="logic"]{--game-accent:#315fd4;--game-accent-2:#1686c7}body[data-game-kind="strategy"]{--game-accent:#5b55c5;--game-accent-2:#2d72c8}body[data-game-kind="route"]{--game-accent:#16847c;--game-accent-2:#279c70}body[data-game-kind="words"]{--game-accent:#b45b17;--game-accent-2:#d27b1f}body[data-game-kind="focus"]{--game-accent:#248455;--game-accent-2:#50a646}body[data-game-shell="game"] :is(button,a){-webkit-tap-highlight-color:transparent}body[data-game-shell="game"] :is(button,a):focus-visible{outline:4px solid color-mix(in srgb,var(--game-accent) 28%,transparent);outline-offset:2px}.catalog-title-tags{display:flex;gap:7px;flex-wrap:wrap;margin-top:7px}.catalog-title-tags span{min-height:26px;padding:0 9px;border:1px solid color-mix(in srgb,var(--game-accent) 24%,#d9e4f2);border-radius:999px;background:color-mix(in srgb,var(--game-accent) 8%,#fff);color:color-mix(in srgb,var(--game-accent) 78%,#243b5b);font-size:12px;font-weight:850;display:inline-flex;align-items:center}.catalog-title-tags span:last-child{background:#f6f8fc;border-color:#dce5f0;color:#65758d}body[data-game-shell="game"] .quiz-game-shell{width:min(1240px,calc(100% - 28px));height:100dvh;padding:12px 0;gap:10px}body[data-game-shell="game"] .quiz-game-top{min-height:72px;padding:9px 13px;border-color:rgba(137,159,190,.32);border-radius:22px;background:rgba(255,255,255,.94);box-shadow:0 10px 26px rgba(25,62,112,.08)}body[data-game-shell="game"] .quiz-back,body[data-game-shell="game"] .quiz-top-btn{min-height:48px;border-radius:15px;border-color:#d2deec;background:#f9fbfe;color:#314965}body[data-game-shell="game"] .quiz-back::first-letter{font-size:20px}body[data-game-shell="game"] .quiz-title>i{width:52px;height:52px;border-radius:17px;background:color-mix(in srgb,var(--game-accent) 12%,#fff)}body[data-game-shell="game"] .quiz-title h1{font-size:clamp(22px,2.35vw,31px)}body[data-game-shell="game"] .quiz-title p{margin-top:3px;color:#64748b}body[data-game-shell="game"] .quiz-game-card{padding:12px;border:1px solid rgba(132,156,190,.28);border-radius:26px;background:rgba(255,255,255,.97);box-shadow:0 18px 42px rgba(28,68,122,.1);gap:10px}body[data-game-shell="game"] .quiz-status{min-height:42px;padding:0 4px;grid-template-columns:auto minmax(150px,1fr) auto}body[data-game-shell="game"] .quiz-progress{font-size:15px;color:#294766}body[data-game-shell="game"] .quiz-meter{height:8px;background:#e8eef6}body[data-game-shell="game"] .quiz-meter>i{background:linear-gradient(90deg,var(--game-accent),var(--game-accent-2))}body[data-game-shell="game"] .quiz-stage{padding:14px;border-color:#dce6f2;border-radius:21px;background:linear-gradient(150deg,#ffffff,#f3f7fd);overflow:auto}body[data-game-shell="game"] .quiz-kicker{color:var(--game-accent)}body[data-game-shell="game"] .quiz-choice{min-height:58px;border-radius:16px;background:#fbfcff;font-size:17px;transition:transform .12s ease,border-color .12s ease,background .12s ease}body[data-game-shell="game"] .quiz-choice:active{transform:scale(.985)}body[data-game-shell="game"] .quiz-btn{min-height:52px;border-radius:16px}body[data-game-shell="game"] .quiz-btn.primary{background:linear-gradient(135deg,var(--game-accent),var(--game-accent-2));box-shadow:0 9px 20px color-mix(in srgb,var(--game-accent) 22%,transparent)}body[data-game-shell="game"] .quiz-feedback{min-height:50px;border-radius:16px;font-size:15px}body[data-game-shell="game"] .quiz-grid{gap:7px;place-self:center}body[data-game-shell="game"] .quiz-grid.g4{grid-template-columns:repeat(4,clamp(58px,7.2vh,84px))}body[data-game-shell="game"] .quiz-grid.g3{grid-template-columns:repeat(3,clamp(68px,8.5vh,96px))}body[data-game-shell="game"] .quiz-cell{border-radius:13px;border-color:#ccd9e8;box-shadow:inset 0 -2px 0 rgba(31,64,102,.05)}body[data-game-shell="game"] .quiz-number-pad{margin-top:12px}body[data-game-shell="game"] .quiz-number-pad button{min-width:58px}body[data-game-shell="game"] .game-cell:active:not(:disabled),body[data-game-shell="game"] .game-tile:active:not(.wall){transform:scale(.94)}body[data-game-shell="game"] :is(.quiz-completion-dialog,.game-completion-dialog){background:rgba(13,28,49,.62);backdrop-filter:blur(8px)}body[data-game-shell="game"] :is(.quiz-completion-actions,.game-completion-actions){gap:9px}body[data-game-shell="game"] :is(.quiz-completion-actions,.game-completion-actions) .primary{min-height:56px;font-size:17px;background:linear-gradient(135deg,var(--game-accent),var(--game-accent-2));color:#fff}body[data-game-shell="game"] :is(.quiz-completion-actions,.game-completion-actions) a{background:#f6f8fb;color:#53647b;border-color:#dce4ee}@media (max-width:900px),(orientation:portrait){body[data-game-shell="game"] .quiz-game-shell{width:min(100% - 18px,800px);height:auto;min-height:100dvh;padding:9px 0 calc(22px + env(safe-area-inset-bottom))}body[data-game-shell="game"] .quiz-game-top{position:relative;grid-template-columns:auto minmax(0,1fr);min-height:66px}body[data-game-shell="game"] .quiz-top-btn{display:none}body[data-game-shell="game"] .quiz-game-card{overflow:visible}body[data-game-shell="game"] .quiz-stage{overflow:visible;min-height:390px}}@media (max-width:620px){body[data-game-shell="game"] .quiz-game-top{padding:8px 9px;gap:8px}body[data-game-shell="game"] .quiz-back{width:46px;padding:0;font-size:0}body[data-game-shell="game"] .quiz-back::after{content:"←";font-size:23px}body[data-game-shell="game"] .quiz-title>i{width:45px;height:45px;font-size:25px}body[data-game-shell="game"] .quiz-title h1{font-size:21px}body[data-game-shell="game"] .quiz-title p{display:none}.catalog-title-tags{margin-top:4px;gap:5px}.catalog-title-tags span{min-height:23px;padding:0 7px;font-size:11px}body[data-game-shell="game"] .quiz-game-card{padding:9px}body[data-game-shell="game"] .quiz-stage{padding:9px}body[data-game-shell="game"] .quiz-grid.g4{grid-template-columns:repeat(4,minmax(48px,1fr))}body[data-game-shell="game"] .quiz-completion-actions,body[data-game-shell="game"] .game-completion-actions{grid-template-columns:1fr}body[data-game-shell="game"] :is(.quiz-completion-actions,.game-completion-actions) .primary{grid-column:auto}}@media (prefers-reduced-motion:reduce){body[data-game-shell="game"] *,body[data-game-shell="thinking-hub"] *{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
