*{box-sizing:border-box}html{color-scheme:dark}body{margin:0;color:#edf4ff;background:radial-gradient(ellipse at 80% 8%,#142a53 0,transparent 50%),#080f24;font-family:Arial,"Microsoft YaHei",sans-serif;min-height:100vh}button,input{font:inherit}button,a{ -webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #ffcf78;outline-offset:4px}button:hover{filter:brightness(1.12)}button:active{transform:translateY(1px)}header{max-width:1220px;margin:auto;padding:27px 28px;display:flex;align-items:center;justify-content:space-between;gap:22px;border-bottom:1px solid #223354}.brand{font-size:20px;font-weight:900;letter-spacing:3px;text-decoration:none;display:flex;align-items:center;gap:10px;white-space:nowrap}.brand i{width:12px;height:12px;background:#62e1ff;box-shadow:0 0 17px #40bfff;border-radius:4px}.brand span{font-size:11px;font-weight:400;color:#8ca4c8;letter-spacing:1px}nav{display:flex;gap:14px}.nav{font-size:13px;border:0;background:none;color:#869dbe;padding:9px}.nav.active{color:#b0eaff}.nav span{margin-left:5px;font:11px monospace;border:1px solid #354b71;padding:2px 6px;border-radius:6px}.header-note{font:9px monospace;color:#6480a8;letter-spacing:1px}.page{max-width:1164px;margin:34px auto;padding:0 20px}.hidden{display:none!important}.panel{border:1px solid #2a426b;border-radius:20px;background:#111e38}.hero{min-height:390px;display:grid;grid-template-columns:1.15fr 1fr;align-items:center;overflow:hidden;position:relative;padding:37px 46px;background:radial-gradient(ellipse at 83% 50%,#173b6677,transparent 66%),linear-gradient(120deg,#142747,#101c36)}.eyebrow{font:10px monospace;letter-spacing:2px;color:#75c8ff}.hero h1{font-size:clamp(34px,4.4vw,57px);letter-spacing:-2px;line-height:1.3;margin:24px 0 18px}.hero h1 span{background:linear-gradient(100deg,#7de8ff,#84a3ff);background-clip:text;color:transparent}.hero h1 em{font-style:normal;color:#ffcc7d}.hero p{font-size:13px;color:#9db3d3;line-height:1.95}.hero-tags{display:flex;gap:10px;margin-top:25px}.hero-tags span{border:1px solid #33517b;border-radius:20px;padding:7px 11px;font-size:10px;color:#bad2ef;background:#152b4a}.hero-art{position:relative}.hero-art svg{width:100%;display:block;overflow:visible}.floating-pill{position:absolute;right:0;bottom:8px;padding:12px 16px;border:1px solid #426494;border-radius:12px;background:#142d4b;color:#79e4ff;font:600 12px monospace;transform:rotate(-4deg)}.floating-pill span{color:#b5c8e3;font-size:10px;margin-left:10px}.dashboard{margin-top:20px;display:grid;grid-template-columns:1.15fr .8fr 1fr .95fr;gap:16px}.launch{text-align:left;border-color:#3b78ba;background:linear-gradient(125deg,#1e5796,#2b3c8c);padding:25px 21px;position:relative;display:flex;justify-content:space-between;align-items:center}.launch h2{font-size:24px;margin:18px 0 10px}.launch h2 span{font-size:21px;color:#89daff}.launch p{font-size:11px;color:#bed1ef;line-height:1.8;margin:0;max-width:165px}.launch .eyebrow{font-size:8px;letter-spacing:1px;color:#a7ceff}.launch-circle{background:#ffffff15;border:1px solid #8bbaff55;border-radius:50%;width:38px;height:38px;display:grid;place-items:center;flex-shrink:0}.stat,.date{padding:24px 19px;text-align:left}.tile-label{font-size:11px;color:#9db1cf;display:block}.stat strong{font:42px monospace;display:block;margin:23px 0 12px;color:#eef6ff}.stat strong span{font:11px Arial;margin-left:8px;color:#7b94ba}.stat p,.date p{font-size:10px;color:#7f9abd;line-height:1.9;margin:0}.word-tile{background:linear-gradient(135deg,#142841,#14203c)}.word-tile strong{color:#83e6ff}.word-tile b{font-weight:400;color:#8ccaff;display:block}.date strong{font:43px monospace;display:block;color:#c9d7ff;margin:20px 0 4px}.date small{font-size:9px;color:#6d8ab0;line-height:1.6;display:block;margin-top:10px}.home-bottom{padding:27px 10px 0;display:flex;align-items:center;gap:30px;color:#8ca4c6;font-size:10px}.home-bottom p{margin-left:auto;color:#627da5}footer{max-width:1124px;margin:35px auto 0;padding:23px 0;display:flex;justify-content:space-between;gap:20px;border-top:1px solid #223354;font-size:10px;color:#6b86ac;line-height:1.8}.primary,.secondary{font-size:13px;font-weight:600;border-radius:10px;padding:14px 17px;width:100%}.primary{background:linear-gradient(110deg,#287ff1,#4c60e8);color:#fff;border:1px solid #609cff;box-shadow:0 5px 22px #1e67ed25}.secondary{background:#142442;color:#c5d6ef;border:1px solid #34517c}.text-button{background:transparent;border:0;color:#b3c9ea;font-size:12px;padding:10px 0}.game-top{display:flex;justify-content:space-between;align-items:center;margin:0 0 20px}.game-top>span{font:10px monospace;color:#6e92bf}.game-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:45px;max-width:1040px;margin:auto}.board-wrap{border:1px solid #325487;padding:11px;border-radius:18px;background:#101f3d;box-shadow:0 0 65px #1683ff12,0 22px 60px #0004}.field{position:relative;aspect-ratio:1}canvas{display:block;width:100%;height:100%;background:#0b1935;border-radius:10px;touch-action:none;cursor:crosshair}.overlay{position:absolute;inset:0;background:#08152bdd;backdrop-filter:blur(5px);border-radius:10px;display:flex;align-items:center;justify-content:center;text-align:center;padding:20px}.overlay h2{font-size:26px;margin:18px 0 9px}.overlay p{font-size:12px;line-height:1.9;color:#a1b4d2}.overlay button{width:auto;min-width:165px;margin-top:15px}.chip{display:inline-flex;gap:8px;align-items:center;border:1px solid #315181;background:#142b4e;border-radius:20px;padding:7px 12px;font-size:10px;color:#9edcff}.dot{width:6px;height:6px;background:#53d7ff;border-radius:50%;box-shadow:0 0 10px #53d7ff}.board-caption{display:flex;justify-content:space-between;gap:10px;color:#829bc1;font:9px monospace;margin:13px 3px 2px;letter-spacing:1px}.touch-note{font-size:11px;color:#8da9cf;text-align:center;margin-top:15px;line-height:1.8}.game-heading{font-size:37px;line-height:1.35;margin:15px 0 20px}.scores{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:22px 0 17px}.score{border:1px solid #2b4167;border-radius:12px;padding:17px;background:#12213d}.score label{font-size:11px;color:#9db2d1}.score strong{display:block;font:35px monospace;margin-top:10px}.score:first-child{border-color:#3466a2;background:linear-gradient(135deg,#183e6b,#142746)}.score:first-child strong{color:#69deff}.next-fruit{display:flex;gap:10px;align-items:center;font-size:12px;color:#b8cae4;background:#11223d;border:1px solid #2a4065;border-radius:9px;padding:12px;margin-bottom:17px}.next-fruit span{font-size:23px}.next-fruit small{font-size:9px;color:#7793bc;margin-left:auto}.game #restart{margin-top:9px}.rules{border-top:1px solid #263a60;margin-top:24px;padding-top:20px}.rules h3{font-size:12px;margin:0 0 13px}.rules p{font-size:11px;color:#98b0d2;line-height:2}.skin{display:flex;align-items:center;gap:9px;border-radius:8px;font-size:11px;color:#b7cbea;margin-top:15px}.swatch{width:12px;height:12px;border-radius:50%;box-shadow:0 0 10px currentColor}.rules p.hint{font-size:10px;color:#6f8eb7}.word-page-top{display:flex;align-items:center;justify-content:space-between;gap:20px}.word-page-top h1{font-size:32px;letter-spacing:-1px;margin:18px 0}.word-page-top h1 span{color:#92cfff}.word-page-top p{font-size:12px;color:#93abcc;line-height:1.8}.word-page-top>button{width:auto;white-space:nowrap}.word-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:25px 0}.tabs{display:flex;gap:8px}.filter{background:#12213d;border:1px solid #2b4167;color:#8da6cc;border-radius:9px;padding:11px 15px;font-size:12px}.filter.active{background:#203d66;border-color:#4c83be;color:#c3eeff}.filter span{margin-left:8px;font:11px monospace}.search{background:#101e36;border:1px solid #2e4569;border-radius:9px;padding:10px 12px;display:flex;align-items:center;gap:8px;color:#7994ba}.search input{border:0;outline:0;background:none;font-size:12px;color:#e8f2ff;width:210px}.search input::placeholder{color:#6d87ac}.word-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.word-card{background:linear-gradient(135deg,#142641,#101c34);border:1px solid #2a4166;border-radius:15px;padding:21px}.word-card-top{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:#7799c4}.word-card h2{font-size:24px;margin:16px 0 7px;overflow-wrap:anywhere}.ipa-line{display:flex;align-items:center;gap:13px;color:#89accf;font-size:12px;flex-wrap:wrap}.speak{padding:6px 10px;border:1px solid #34517d;border-radius:7px;background:#173354;color:#a4e3ff;font-size:10px;white-space:nowrap}.speak:disabled{opacity:.5;cursor:not-allowed}.definition{border-top:1px solid #293f62;margin-top:17px;padding-top:15px}.definition>span{font-size:11px;color:#8ba8d1}.definition>p{font-size:16px;line-height:1.6;margin:9px 0 14px;color:#e2ecfc}.example{background:#0c1930;border-radius:9px;padding:13px}.example p{font-size:12px;color:#b9d0ed;line-height:1.8;margin:0 0 6px}.example>span{font-size:10px;color:#7e9abd;line-height:1.8}.favorite-small{border:1px solid #405276;background:#182842;color:#a9bcdb;border-radius:7px;padding:6px 8px;font-size:10px}.favorite-small.saved{color:#ffd47c;border-color:#947941;background:#443824}.encounters{font-size:9px;color:#6e8bb2;margin:15px 0 0;line-height:1.8}.empty{grid-column:1/-1;text-align:center;padding:65px 20px;background:#101d35;border:1px dashed #345078;border-radius:17px}.empty>span{font-size:33px}.empty h2{font-size:20px;margin:17px 0 10px}.empty p{font-size:12px;color:#8aa6ce;line-height:1.8}.empty button{width:auto;margin-top:15px}.source-note{font-size:10px;color:#627fa9;line-height:2;margin:26px 0}.source-note a{color:#8bb5df;text-underline-offset:3px}dialog{background:linear-gradient(145deg,#182e50,#0f1c34);border:1px solid #47719f;border-radius:22px;color:#edf5ff;width:calc(100% - 36px);max-width:440px;padding:27px;max-height:90dvh;overflow:auto;box-shadow:0 25px 90px #0009}dialog::backdrop{background:#030b20b9;backdrop-filter:blur(7px)}.learn-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px}.learn-top>span:last-child{font-size:31px}dialog .eyebrow{font-size:9px;margin-bottom:10px}dialog h2{font-size:37px;margin:9px 0 12px;overflow-wrap:anywhere}dialog .definition p{font-size:20px}dialog .example{margin:17px 0}dialog .secondary{margin:0 0 10px}dialog .secondary.saved{color:#ffd47c;border-color:#aa8344;background:#3c3425}.dialog-hint{font-size:10px;color:#819ac1;text-align:center;line-height:1.8;margin:15px 0 0}.toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);background:#23416a;border:1px solid #5885ba;padding:13px 22px;border-radius:12px;font-size:12px;z-index:10;max-width:90vw;text-align:center;box-shadow:0 7px 25px #0005}
@media(min-width:1500px){.page{margin-top:45px}.hero{min-height:420px}}@media(max-width:1000px){.dashboard{grid-template-columns:1fr 1fr}.hero{padding:30px}.header-note{display:none}.game-layout{gap:24px;grid-template-columns:minmax(0,1fr) 270px}.word-list{grid-template-columns:repeat(2,minmax(0,1fr))}.home-bottom{gap:15px}.home-bottom p{display:none}footer{margin:30px 20px 0}.game-heading{font-size:32px}}@media(max-width:650px){header{padding:19px 18px;gap:10px;flex-wrap:wrap}.brand{font-size:18px}.brand span{font-size:10px}nav{gap:3px}.nav{font-size:10px;padding:7px}.nav span{display:none}.page{margin:20px auto;padding:0 15px}.hero{grid-template-columns:1fr;padding:27px 25px 17px}.hero h1{font-size:40px;margin:20px 0 14px}.hero p{font-size:11px}.hero-tags{margin-top:17px;gap:6px}.hero-tags span{font-size:9px;padding:6px 10px}.eyebrow{font-size:8px;letter-spacing:1px}.hero-art{max-width:300px;width:100%;justify-self:center;margin-top:-2px;margin-bottom:-3px}.hero-art svg{height:230px}.floating-pill{font-size:10px;right:0;bottom:7px;padding:9px}.floating-pill span{font-size:9px}.dashboard{gap:11px;margin-top:13px}.panel{border-radius:15px}.launch{grid-column:1/-1;padding:21px 23px}.launch h2{margin:9px 0 8px}.launch p{max-width:none}.stat,.date{padding:21px 16px}.stat strong{font-size:36px;margin-top:21px}.date{grid-column:1/-1;display:grid;grid-template-columns:auto 1fr;column-gap:20px;align-items:center}.date .tile-label{grid-column:1/-1}.date strong{grid-row:2/4;margin:14px 0 0;font-size:45px}.date p{margin-top:12px}.date small{margin:0;font-size:9px}.home-bottom{padding:23px 3px 0;gap:0;justify-content:space-between;font-size:9px}.game-top>span{font-size:8px}.game-layout{grid-template-columns:1fr;gap:20px}.game-layout aside{display:contents}.game-layout aside>.eyebrow,.game-heading{display:none}.scores{grid-row:1;margin:0;gap:10px}.score{padding:12px 16px}.score strong{font-size:27px;margin-top:6px}.game-layout section{grid-row:2}.next-fruit{grid-row:3;margin:0}.game-layout #start{grid-row:4}.game-layout #restart{grid-row:5;margin-top:-11px}.rules{margin-top:0}.board-wrap{padding:8px;border-radius:13px}.board-caption{font-size:8px;letter-spacing:0}.touch-note{font-size:10px}.overlay h2{font-size:23px}.word-page-top{align-items:flex-start;flex-wrap:wrap}.word-page-top h1{font-size:27px;line-height:1.4;margin:14px 0}.word-page-top h1 span{display:block}.word-page-top>button{font-size:10px;padding:10px}.word-toolbar{flex-direction:column;align-items:stretch}.tabs>*{flex:1;padding:11px 8px;font-size:11px}.search input{width:100%;padding:2px}.word-list{grid-template-columns:1fr}.word-card{padding:20px}.word-card h2{font-size:27px}.definition>p{font-size:17px}.example p{font-size:13px}.example>span{font-size:11px}footer{font-size:9px;flex-direction:column;gap:5px;margin:26px 18px 0}.source-note{font-size:9px}dialog{padding:24px}dialog h2{font-size:34px}}
.boost{position:absolute;left:14px;bottom:14px;z-index:1;display:flex;align-items:center;gap:7px;border:1px solid #6291c9;background:linear-gradient(145deg,#203b63ed,#111f3ded);box-shadow:0 5px 18px #0005;color:#c9e7ff;border-radius:13px;padding:10px 12px;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.boost>span{font-size:31px;color:#ffd370;line-height:1}.boost strong{font-size:10px}.boost small{font:10px monospace;color:#8ddaff}.boost.boosting{border-color:#ffcf70;background:linear-gradient(145deg,#76521d,#3c2e23);box-shadow:0 0 22px #ffaa3344}.boost.boosting>span{color:#fff1b7}.overlay{z-index:2}.game-options{display:flex;align-items:center;gap:15px}.game-options>span{font:9px monospace;color:#6e92bf}.sound-toggle{background:#142748;border:1px solid #33547d;border-radius:8px;font-size:10px;color:#9fc6ec;padding:9px 11px}.uk-ipa{font-size:11px;color:#7697be;margin-top:9px}.sense+.sense{border-top:1px solid #263e5d;padding-top:12px;margin-top:12px}.sense>span{font-size:11px;color:#8ba8d1}.sense>p{font-size:14px;line-height:1.9;color:#dbe8fc;margin:6px 0;overflow-wrap:anywhere}.word-card .sense>p{font-size:12px}.word-card{align-self:start}.speak.playing{color:#ffde98;border-color:#bb8b41;background:#493b25}.word-card .definition{max-height:360px;overflow:auto;padding-right:6px;scrollbar-width:thin;scrollbar-color:#416290 #10203c}dialog .definition{max-height:30dvh;overflow:auto;padding-right:8px;scrollbar-width:thin;scrollbar-color:#4c719c #13223c}dialog .example{max-height:160px;overflow:auto}.next-fruit span{font:23px monospace;color:#91e6ff}.game-options>span{display:none}@media(max-width:650px){.boost{left:9px;bottom:9px;padding:8px 9px;gap:5px}.boost>span{font-size:27px}.boost strong{font-size:9px}.boost small{font-size:9px}.sense>p{font-size:13px}.game-top{margin-bottom:13px}.sound-toggle{padding:8px 10px}dialog .definition{max-height:29dvh}}
.header-audio{display:flex;align-items:center;gap:17px}.challenge-entry{width:100%;display:flex;align-items:center;justify-content:space-between;text-align:left;padding:26px 30px;margin-top:19px;background:radial-gradient(ellipse at 80% 50%,#5653a744,transparent 65%),linear-gradient(110deg,#182d4c,#1c2346);border-color:#4e538b}.challenge-entry h2{font-size:25px;letter-spacing:-.8px;margin:14px 0 10px}.challenge-entry p{font-size:11px;color:#a3b6d7;line-height:1.8;margin:0}.challenge-entry-icon{font-size:38px;color:#c7b0ff;display:flex;align-items:center;gap:20px}.challenge-entry-icon b{font-size:13px;font-weight:400;white-space:nowrap;color:#c4c5ff}.challenge-heading{margin:25px 0 30px}.challenge-heading h1{font-size:36px;margin:16px 0}.challenge-heading h1 span{color:#a9bcff}.challenge-heading>p{font-size:12px;color:#91a9cc;line-height:1.9}.challenge-groups{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:13px}.group-card{text-align:left;padding:23px 18px;border:1px solid #2f456b;border-radius:15px;background:#111f39;color:#a8bddc;transition:border-color .15s,background .15s}.group-card.selected{border:1px solid #9ca5ff;background:linear-gradient(145deg,#263b6a,#27264f);box-shadow:0 0 24px #6c6bff15}.group-level{font:9px monospace;color:#7899c2;letter-spacing:2px}.group-card.selected .group-level{color:#bec5ff}.group-card>strong{font:44px monospace;color:#dfebff;display:block;margin:18px 0 9px}.group-card strong small{font:10px Arial;color:#8fa8cf;margin-left:6px}.group-description{font-size:11px;color:#bdcde6}.group-track{height:4px;border-radius:3px;background:#0e172d;margin:20px 0 10px;overflow:hidden}.group-track i{height:100%;display:block;background:linear-gradient(90deg,#72cfff,#b1a3ff)}.group-saved{font-size:9px;color:#7f9ac3}.challenge-selection{display:grid;grid-template-columns:1.2fr 1fr;gap:30px;margin-top:21px;padding:28px 30px}.challenge-selection h2{font-size:23px;margin:17px 0 11px}.challenge-selection p{color:#94acce;font-size:11px;line-height:1.9}.challenge-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.challenge-actions .primary{width:100%}.challenge-actions .secondary{flex:1;font-size:10px;padding:12px 8px;white-space:nowrap;width:auto}.challenge-how{border-left:1px solid #2b4268;padding-left:28px}.challenge-how h3{font-size:13px}.challenge-how p{line-height:2.3}.challenge-how small{font-size:10px;color:#6f8db6;line-height:1.9;display:block}.group-preview{grid-column:1/-1;border-top:1px solid #283d62;padding-top:18px}.group-preview summary{cursor:pointer;font-size:11px;color:#a6c4e8}.group-preview p{line-height:2.3;word-break:break-word}.challenge-progress{padding:14px 15px;background:#25294c;border:1px solid #575a96;border-radius:10px;margin:0 0 15px}.challenge-progress>span{font-size:12px;color:#d5d4ff}.challenge-progress progress{display:block;width:100%;height:7px;margin:12px 0 9px;accent-color:#a7a0ff}.challenge-progress small{font-size:10px;color:#a0aed1}.challenge-game-actions{display:flex;justify-content:space-between;margin-top:7px}.challenge-game-actions .text-button{font-size:10px;color:#9eaed7}.quiz-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:23px}.quiz-top>span:last-child{font:14px monospace;color:#93b0d4}#quiz-dialog{max-width:510px}#quiz-instruction{font-size:11px;color:#a0b5d3;line-height:1.8}#quiz-dialog h2{font-size:29px;line-height:1.6;letter-spacing:-.5px;margin:12px 0 20px}#quiz-dialog h2:lang(zh){overflow-wrap:anywhere}.quiz-options{display:grid;gap:9px}.quiz-option{width:100%;display:flex;gap:13px;align-items:center;text-align:left;padding:13px 14px;border:1px solid #354f75;border-radius:10px;background:#14253f;color:#c4d5ef}.quiz-option>span{display:grid;place-items:center;flex-shrink:0;width:25px;height:25px;border:1px solid #405c85;border-radius:7px;font:11px monospace;color:#90b2db}.quiz-option>strong{font-size:12px;font-weight:400;line-height:1.8}.quiz-option.wrong{background:#4b2739;border-color:#a65a71;color:#e7b2c0}.quiz-option.right{background:#1a4945;border-color:#5ca99a;color:#b4f2e2}.quiz-option:disabled{cursor:default;opacity:.65}.quiz-option.right:disabled{opacity:1}.quiz-feedback{font-size:11px;color:#829fc6;line-height:1.8;margin:15px 0}.quiz-feedback.correct{color:#81dbb9}.quiz-feedback.incorrect{color:#f5a2b2}.quiz-tools{display:flex;gap:10px;margin:14px 0}.quiz-secondary{display:flex;justify-content:space-between;gap:10px;margin:10px 0 -3px}.quiz-secondary button{font-size:10px;color:#98acd0}#quiz-continue:disabled{opacity:.4;cursor:not-allowed;box-shadow:none}#quiz-answer-detail{padding:13px 0 3px;border-top:1px solid #31496e}#quiz-answer-detail h3{font-size:22px;margin:4px 0}#quiz-dialog .definition{max-height:22dvh}#quiz-dialog .definition .sense p{font-size:12px}.header-audio .sound-toggle{white-space:nowrap}
@media(max-width:850px){.challenge-groups{grid-template-columns:repeat(3,minmax(0,1fr))}.challenge-selection{gap:20px}.header-audio .header-note{display:none}}@media(max-width:650px){.header-audio{margin-left:auto}.header-audio .sound-toggle{font-size:9px;padding:7px 9px}.challenge-entry{padding:23px 21px;gap:10px;align-items:flex-start}.challenge-entry h2{font-size:21px;line-height:1.5;margin:13px 0 8px}.challenge-entry p{font-size:10px}.challenge-entry-icon{font-size:27px;gap:7px;flex-direction:column;padding-top:13px}.challenge-entry-icon b{font-size:9px}.challenge-heading h1{font-size:29px;line-height:1.5}.challenge-heading h1 span{display:block}.challenge-heading{margin:18px 0 23px}.challenge-heading>p{font-size:11px}.challenge-groups{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.group-card{padding:19px 15px}.group-card>strong{font-size:37px}.group-card:last-child{grid-column:1/-1}.group-card:last-child>strong{display:inline-block;margin-right:17px}.group-card:last-child .group-track{margin-top:10px}.challenge-selection{grid-template-columns:1fr;padding:23px 21px;gap:23px}.challenge-how{padding:20px 0 0;border-left:0;border-top:1px solid #2b4268}.group-preview{grid-column:1}.group-saved{font-size:8px}.group-level{font-size:8px}.challenge-actions .secondary{font-size:9px}.challenge-progress{grid-row:4;margin:0}.challenge-progress:not(.hidden)~#start{grid-row:5}.challenge-progress:not(.hidden)~#restart{grid-row:6}.challenge-progress:not(.hidden)~.challenge-game-actions{grid-row:7}.challenge-game-actions{gap:15px;justify-content:center}.quiz-option>strong{font-size:11px}#quiz-dialog h2{font-size:25px}.quiz-option{padding:11px 12px}}
/* Mobile-first interaction refinements: keep play controls inside the viewport. */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}body{min-width:280px}button,a,input,summary{touch-action:manipulation}button{min-height:44px}button:disabled{transform:none}header,.page,footer{min-width:0}.page>*{min-width:0}.mobile-caption{display:none}.board-wrap,.field,canvas,.boost{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}.board-wrap{touch-action:none}dialog{overscroll-behavior:contain;scrollbar-gutter:stable}input[type=search]{font-size:16px}#game-music-toggle{display:none}.quiz-option{min-height:52px}.quiz-footer,.learn-footer{isolation:isolate}
@media(hover:none){button:hover{filter:none}button:active{filter:brightness(1.12)}}
@media(max-width:760px){
header{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 10px;padding:calc(9px + env(safe-area-inset-top,0px)) max(14px,env(safe-area-inset-right,0px)) 8px max(14px,env(safe-area-inset-left,0px))}.brand{font-size:17px;gap:7px;letter-spacing:2px}.brand span{font-size:10px}.brand i{width:10px;height:10px}nav{grid-column:1/-1;grid-row:2;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;width:100%}.nav{font-size:13px;min-height:44px;padding:10px 6px;text-align:center;border-radius:9px}.nav.active{background:#172b49}.header-audio{margin:0}.header-audio .sound-toggle{font-size:11px;padding:9px 10px;min-height:44px}.header-note{display:none}.nav span{display:none}.page{padding-left:max(14px,env(safe-area-inset-left,0px));padding-right:max(14px,env(safe-area-inset-right,0px));margin-top:16px}.hero{min-height:0;padding:24px 22px 12px}.hero h1{font-size:clamp(30px,9vw,40px);margin:15px 0 10px}.hero p{font-size:13px;line-height:1.85}.hero-art{max-width:250px}.hero-art svg{height:165px}.hero-tags{margin-top:14px;gap:6px;flex-wrap:wrap}.hero-tags span{font-size:10px}.floating-pill{font-size:10px;padding:8px 11px;bottom:0}.floating-pill span{font-size:9px}.launch{padding:20px 21px}.launch p,.stat p,.date p{font-size:12px}.tile-label{font-size:12px;line-height:1.7}.date small{font-size:11px}.challenge-entry{padding:22px 20px}.challenge-entry p{font-size:12px;line-height:1.9}.challenge-entry-icon b{font-size:11px}.group-level{font-size:10px}.group-saved{font-size:11px;line-height:1.8}.group-description{font-size:13px}.challenge-heading>p{font-size:13px}.challenge-selection p{font-size:13px;line-height:1.9}.challenge-how p{font-size:13px}.challenge-how small{font-size:12px}.challenge-actions .secondary{font-size:12px;white-space:normal;min-height:48px}.challenge-actions .primary{font-size:14px;min-height:48px}.group-preview summary{font-size:13px;min-height:44px;line-height:44px}.group-preview p{font-size:13px}.challenge-selection{padding:23px 19px}.challenge-groups{grid-template-columns:repeat(2,minmax(0,1fr))}.group-card{padding:20px 16px;min-width:0}.group-card:last-child{grid-column:1/-1}.group-card:last-child>strong{display:inline-block;margin-right:18px}.group-card>strong{font-size:38px}.word-page-top p{font-size:13px}.word-page-top>button{font-size:13px;min-height:44px}.word-card-top{font-size:11px;gap:10px}.favorite-small,.speak{min-height:44px;min-width:78px;font-size:12px;padding:10px 12px}.word-card .sense>p{font-size:14px;line-height:1.9}.sense>span,.uk-ipa,.ipa-line{font-size:13px}.example p{font-size:14px}.example>span{font-size:13px}.encounters,.source-note{font-size:12px}.source-note a{line-height:2.2}.search{min-height:48px}.search input{min-height:28px;min-width:0;font-size:16px}.filter{font-size:13px;min-height:46px}.filter span{font-size:12px}.word-toolbar{gap:12px}.word-list{grid-template-columns:1fr}.word-page-top h1{font-size:28px}.empty p{font-size:13px}.primary,.secondary{font-size:14px;min-height:48px}.text-button{font-size:13px;min-height:44px;padding:10px 8px}.toast{font-size:13px;bottom:calc(18px + env(safe-area-inset-bottom,0px));line-height:1.7}.home-bottom{font-size:11px;gap:10px;flex-wrap:wrap}footer{font-size:11px;padding-bottom:calc(18px + env(safe-area-inset-bottom,0px));margin-left:16px;margin-right:16px}
dialog,#quiz-dialog{width:calc(100% - 24px);max-width:510px;max-height:calc(100dvh - 24px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));padding:20px;border-radius:18px;margin:auto;overflow:auto;-webkit-overflow-scrolling:touch;scrollbar-gutter:auto}dialog h2{font-size:clamp(25px,8vw,35px)}dialog .definition{max-height:none}dialog .definition .sense p,#quiz-dialog .definition .sense p{font-size:14px}dialog .definition>p{font-size:17px}.learn-top{margin-bottom:18px}.learn-top .chip{font-size:11px}.dialog-hint{font-size:12px}#quiz-instruction{font-size:13px}#quiz-dialog h2{font-size:clamp(22px,6.5vw,29px);line-height:1.7;margin:12px 0 16px}.quiz-top{margin-bottom:18px}.quiz-top .chip{font-size:12px}.quiz-top>span:last-child{font-size:14px}.quiz-options{gap:10px}.quiz-option{padding:13px 12px;min-height:54px}.quiz-option>strong{font-size:14px;line-height:1.8}.quiz-option>span{font-size:12px;width:28px;height:28px}.quiz-feedback{font-size:13px;line-height:1.8}.quiz-tools{gap:10px;flex-wrap:wrap}.quiz-footer,.learn-footer{position:sticky;bottom:-20px;z-index:3;background:linear-gradient(0deg,#13243f 87%,#13243fe8);padding:12px 0 16px;margin-top:12px;box-shadow:0 -9px 14px #13243f88}.quiz-footer>.primary,.learn-footer>.primary{min-height:48px;font-size:14px}.quiz-secondary{gap:5px;margin-top:7px}.quiz-secondary button{font-size:12px;min-height:44px;flex:1;padding:8px 3px}#quiz-dialog .definition{max-height:none}.quiz-answer-detail .sense>p{font-size:14px}dialog .example{max-height:none}.learn-footer .secondary{min-height:46px}.group-track{margin-top:15px}
}
@media(max-width:900px){
body.game-active{height:100dvh;min-height:0;overflow:hidden;overscroll-behavior:none}body.game-active>header,body.game-active>footer{display:none}body.game-active .game{height:100dvh;max-width:none;margin:0;padding:calc(6px + env(safe-area-inset-top,0px)) max(10px,env(safe-area-inset-right,0px)) calc(6px + env(safe-area-inset-bottom,0px)) max(10px,env(safe-area-inset-left,0px));overflow:hidden}.game-top{height:44px;margin:0 0 6px;gap:8px}.game-top>#back-home{padding:6px 8px;font-size:13px;white-space:nowrap;min-height:44px}.game-options{gap:6px}#game-music-toggle{display:block}.game-options .sound-toggle{font-size:11px;padding:9px 9px;min-height:44px}.game-options>span{display:none}.game-layout{--board-space:220px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;max-width:740px;margin:0 auto;align-items:start}.challenge-active .game-layout{--board-space:310px}.game-layout aside{display:contents}.game-layout aside>.eyebrow,.game-layout .game-heading{display:none}.game-layout .scores{grid-column:1/-1;grid-row:1;margin:0;gap:8px;min-height:45px}.game-layout .score{padding:8px 12px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-radius:9px}.game-layout .score label{font-size:12px;white-space:nowrap}.game-layout .score strong{font-size:25px;margin:0}.game-layout section{grid-column:1/-1;grid-row:3;justify-self:center;max-width:100%;min-width:0}.game-layout .board-wrap{width:fit-content;max-width:100%;padding:6px;border-radius:12px;box-shadow:0 10px 30px #0002}.game-layout .field{width:min(calc(100vw - 38px - env(safe-area-inset-left,0px) - env(safe-area-inset-right,0px)),calc(100dvh - var(--board-space) - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px)));height:auto;aspect-ratio:1;max-width:100%;min-width:120px}.game-layout canvas{width:100%;height:100%}.game-layout .board-caption{font-size:10px;letter-spacing:0;margin:7px 2px 1px;gap:8px;line-height:1.7;flex-wrap:wrap}.game-layout .board-caption #live{font-size:10px}.desktop-caption{display:none}.mobile-caption{display:block}.game-layout .touch-note,.game-layout .next-fruit,.game-layout .rules{display:none}.game-layout .challenge-progress{grid-column:1/-1;grid-row:2;margin:0;padding:7px 10px;display:flex;gap:9px;align-items:center;border-radius:8px;min-height:34px}.game-layout .challenge-progress>span{font-size:12px;white-space:nowrap}.game-layout .challenge-progress progress{margin:0;width:auto;flex:1;height:6px}.game-layout .challenge-progress small{display:none}.game-layout #start,.game-layout #restart{width:100%;grid-row:4;min-height:46px;margin:0;font-size:14px;padding:10px 7px}.game-layout #start{grid-column:1}.game-layout #restart{grid-column:2}.game-layout .challenge-game-actions{display:none;grid-column:1/-1;grid-row:5;margin:0;gap:8px;justify-content:space-between}.challenge-active .game-layout .challenge-game-actions{display:flex}.game-layout .challenge-game-actions button{font-size:12px;min-height:44px;flex:1;padding:8px 5px;background:#14223c;border:1px solid #2a4166;border-radius:8px}.game-layout .boost{min-height:52px;min-width:116px;left:10px;bottom:10px;padding:10px 12px;gap:7px;background:linear-gradient(145deg,#203b63f5,#111f3df5)}.game-layout .boost strong{font-size:12px}.game-layout .boost small{font-size:11px}.game-layout .boost>span{font-size:29px}.game-layout .overlay{padding:17px}.game-layout .overlay h2{font-size:clamp(18px,5vw,25px);line-height:1.5;margin:14px 0 8px}.game-layout .overlay p{font-size:12px;line-height:1.9}.game-layout .overlay .chip{font-size:11px}.game-layout .overlay button{min-height:46px;font-size:14px;margin-top:12px;padding:12px 18px}
}
@media(max-width:900px) and (orientation:landscape) and (max-height:550px){
.game-layout,.challenge-active .game-layout{grid-template-columns:minmax(0,1.15fr) minmax(180px,.85fr);grid-template-rows:auto;gap:7px 14px;max-width:850px}.game-layout section{grid-column:1;grid-row:1/7;align-self:start}.game-layout .field{width:min(calc(100dvh - 88px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px)),calc(55vw - 35px));min-width:100px}.game-layout .scores{grid-column:2;grid-row:1;gap:6px}.game-layout .score{padding:7px 8px;gap:6px}.game-layout .score label{font-size:10px}.game-layout .score strong{font-size:22px}.game-layout .challenge-progress{grid-column:2;grid-row:2;min-height:32px}.game-layout #start{grid-column:2;grid-row:3}.game-layout #restart{grid-column:2;grid-row:4}.game-layout .challenge-game-actions{grid-column:2;grid-row:5;gap:6px}.game-layout .challenge-game-actions button{font-size:10px}.game-layout .board-caption{font-size:9px;line-height:1.5}.game-layout .board-caption #live{display:none}.game-layout .boost{min-height:46px;min-width:105px;padding:8px}.game-layout .boost strong{font-size:11px}.game-top{max-width:850px;margin-left:auto;margin-right:auto}
}
@media(max-width:350px){.brand{font-size:15px}.brand span{font-size:9px}.header-audio .sound-toggle{font-size:10px;padding:8px}.hero{padding:21px 18px 10px}.hero-art svg{height:140px}.hero-tags span{font-size:9px;padding:6px 8px}.challenge-entry{padding:20px 16px}.challenge-entry h2{font-size:19px}.group-card{padding:18px 12px}.group-saved{font-size:10px}.challenge-actions{gap:8px}.challenge-actions .secondary{font-size:11px}.quiz-option>strong{font-size:13px}.game-layout .board-caption #live{display:none}.game-options .sound-toggle{font-size:10px;padding:8px}.game-layout .boost{min-width:108px;min-height:50px}.game-layout .boost strong{font-size:11px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
@media(max-width:900px){body.game-active .game-layout #start,body.game-active .game-layout #restart{grid-row:4}body.game-active .game-layout .challenge-game-actions{grid-row:5}}
@media(max-width:900px) and (orientation:landscape) and (max-height:550px){body.game-active .game-layout #start{grid-row:3}body.game-active .game-layout #restart{grid-row:4}body.game-active .game-layout .challenge-game-actions{grid-row:5}}
@media(max-width:900px) and (orientation:landscape) and (max-height:550px){dialog,#quiz-dialog{width:calc(100% - 32px);max-width:700px;max-height:calc(100dvh - 20px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));padding:16px 20px;margin:auto;overscroll-behavior:contain}.quiz-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.quiz-option>strong{font-size:13px}.quiz-option{min-height:52px}.quiz-top{margin-bottom:10px}#quiz-dialog h2{font-size:24px;line-height:1.5;margin:10px 0 14px}#quiz-instruction{font-size:12px}.quiz-footer,.learn-footer{position:sticky;bottom:-16px;background:#13243ff5;z-index:3;padding:10px 0;box-shadow:0 -7px 12px #13243f88}.quiz-secondary button{min-height:44px;font-size:12px}.quiz-secondary{margin-top:5px}.speak{min-height:44px;font-size:12px}.quiz-feedback{font-size:12px}dialog .definition,#quiz-dialog .definition{max-height:none}dialog .sense>p{font-size:14px}}
