*{box-sizing:border-box}body{color:#2f2a3a;background:linear-gradient(#bfe6f7,#fdeec8 60%);min-height:100vh;margin:0;font-family:Noto Sans HK,PingFang HK,Microsoft JhengHei,sans-serif}.serif{font-family:Noto Serif HK,Songti TC,PMingLiU,serif}.ptop{z-index:5;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#bfe6f7eb;align-items:center;gap:10px;max-width:900px;margin:0 auto;padding:10px 14px;display:flex;position:sticky;top:0}.ptop h1{letter-spacing:.08em;white-space:nowrap;margin:0;font-size:22px;font-weight:900}.back{color:inherit;white-space:nowrap;background:#fff8e6;border:3px solid #2f2a3a;border-radius:999px;padding:6px 12px;font-weight:900;text-decoration:none}.pcount{font-variant-numeric:tabular-nums;margin-left:auto;font-weight:900}.lang{background:#fff;border:3px solid #2f2a3a;border-radius:999px;flex:none;display:inline-flex;overflow:hidden}.pcount:empty+.lang{margin-left:auto}.lang button{font:inherit;cursor:pointer;background:0 0;border:0;padding:4px 12px;font-weight:900}.lang button.on{background:#ffd36b}.pmain{max-width:900px;margin:0 auto;padding:8px 14px 24px}.pcard{text-align:center;background:#fff8e6;border:4px solid #2f2a3a;border-radius:22px;flex-direction:column;align-items:center;gap:10px;padding:18px 16px 20px;display:flex;position:relative;box-shadow:0 6px #2f2a3a}.pcard h2{margin:0;font-size:26px}.mascot{width:72px;height:72px}.pbadge{background:#ffd36b;border:3px solid #2f2a3a;border-radius:999px;padding:3px 14px;font-weight:900;display:inline-block}.lead{max-width:34em;margin:0;font-weight:700;line-height:1.7}.small{color:#4b4660;margin:0;font-size:14px}.prow{flex-wrap:wrap;justify-content:center;gap:10px;margin-top:4px;display:flex}.pbtn{color:#2f2a3a;cursor:pointer;background:#fff;border:3px solid #2f2a3a;border-radius:999px;justify-content:center;align-items:center;min-height:48px;padding:8px 22px;font-family:inherit;font-size:18px;font-weight:900;line-height:1.2;text-decoration:none;display:inline-flex;box-shadow:0 4px #2f2a3a}.pbtn:active{transform:translateY(3px);box-shadow:0 1px #2f2a3a}.pbtn:disabled{cursor:default}.pbtn.gold{background:#ffd36b}.pbtn.blue{background:#cfe8ff}.pbtn.green{background:#bfe9b4}.pbtn.red{background:#ffc2b4}.pbtn.ghost{box-shadow:none;background:0 0;border-style:dashed;min-height:42px;font-size:16px}a:focus-visible,button:focus-visible{outline-offset:3px;outline:4px solid #165b9f}.prompt{flex-direction:column;align-items:center;gap:8px;display:flex}.prompt .hear{margin:0}.sentence{max-width:30em;margin:0;font-size:20px;font-weight:700;line-height:1.7}.blank{color:#c0392b;letter-spacing:.05em}.pad{flex-direction:column;align-items:center;gap:10px;display:flex}.pad-cells{gap:8px;display:flex}.pad-cell{background:#fff;border:3px solid #2f2a3a;border-radius:10px;place-items:center;width:46px;height:46px;font-family:Noto Serif HK,Songti TC,serif;font-size:28px;font-weight:900;display:inline-grid}.pad-cell.now{background:#ffe9a8;box-shadow:0 0 0 4px #ffb547}.pad-cell.mark-o{background:#bfe9b4}.pad-cell.mark-w{background:#ffd9a0}.pad-cell.mark-m{background:#ffc2b4}.pad-box{aspect-ratio:1;touch-action:none;background:#fff;border-radius:6px;width:min(78vw,44vh,340px);position:relative;box-shadow:0 0 0 3px #2f2a3a}.pad-box[hidden]{display:none}.pad-box .grid{pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.pad-host{position:absolute;inset:0}.pad-host.paper{color:#2f2a3a;place-items:center;font-family:Noto Serif HK,Songti TC,serif;font-size:min(56vw,30vh,240px);line-height:1;display:grid}.pad-note{color:#4b4660;max-width:26em;min-height:1.5em;margin:0;font-weight:700}.pad-note:empty{display:none}.pad-actions{flex-wrap:wrap;justify-content:center;gap:10px;display:flex}.pad-actions:empty{display:none}.answer{flex-direction:column;align-items:center;gap:2px;display:flex}.idiom{letter-spacing:.12em;font-size:44px;font-weight:900}.reading{color:#4b4660;font-size:18px;font-weight:700}.verdict{margin:4px 0 0;font-size:20px;font-weight:900}.verdict.ok{color:#2d7a2a}.verdict.weak{color:#b5531c}.quiz{width:100%;max-width:640px}.qmeta{color:#4b4660;font-weight:900}.q{margin:6px 0 12px;font-size:21px;font-weight:900;line-height:1.5}.opts{gap:10px;display:grid}.pbtn.opt{text-align:left;background:#cfe8ff;border-radius:16px;justify-content:flex-start;width:100%;font-size:19px}.pbtn.opt.serif{justify-content:center;font-family:Noto Serif HK,Songti TC,serif;font-size:26px}.pbtn.opt.dim{opacity:.45}.pbtn.opt.right{background:#bfe9b4}.boxes{flex-wrap:wrap;justify-content:center;gap:10px;display:flex}.lbox{border:3px solid #2f2a3a;border-radius:14px;flex-direction:column;min-width:96px;padding:8px 12px;display:flex}.lbox.b1{background:#ffc2b4}.lbox.b2{background:#ffe9a8}.lbox.b3{background:#bfe9b4}.lbox small{color:#4b4660}.lbox.mini{border-radius:999px;min-width:0;padding:2px 10px;font-size:14px;font-weight:900}.sheet{flex-wrap:wrap;justify-content:center;gap:10px 18px;display:flex}.srow{align-items:center;gap:6px;display:flex}.srow .pad-cell{width:40px;height:40px;font-size:24px}.sidiom{font-size:24px;font-weight:900}.pfoot{color:#4b4660;max-width:900px;margin:0 auto;padding:0 14px 24px;font-size:12px}@media (width>=900px){.sentence{font-size:23px}.pad-cell{width:54px;height:54px;font-size:32px}.pbtn{font-size:20px}}@media (width<=480px){.ptop h1{font-size:18px}.lang button{padding:4px 9px}.sentence{font-size:18px}}@media (orientation:landscape) and (height<=500px){.pcard{grid-template-columns:1fr auto;align-items:center;padding:10px 14px 14px;display:grid}.pcard>:not(.pad){grid-column:1}.pcard>.pad{grid-area:1/2/span 6}.pad-box{width:min(60vh,40vw,260px)}.mascot{display:none}}
