.dms-games{--dg-ink:var(--ink,#242e40);--dg-mute:var(--muted,#535e67);--dg-line:var(--line,#d9d8d0);--dg-red:var(--red,#ad3827);color:var(--dg-ink);line-height:1.55;min-width:0}.dms-games *{box-sizing:border-box}.dms-games h2,.dms-games h3,.dms-games p{margin:0}.dms-games h2,.dms-games h3{font-family:var(--serif,Georgia,serif);font-weight:400;line-height:1.15;letter-spacing:-.035em}.dms-games h2{font-size:clamp(1.8rem,3.3vw,2.65rem)}.dms-games h3{font-size:1.5rem}.dms-games .dg-menu,.dms-games .dg-board{margin:16px 0 24px}.dms-games .dg-menutop,.dms-games .dg-top,.dms-games .dg-status{display:flex;align-items:center;justify-content:space-between;gap:16px}.dms-games .dg-menutop{align-items:flex-end;margin-bottom:20px}.dms-games .dg-menutop p,.dms-games .dg-cardbody p,.dms-games .dg-help,.dms-games .dg-status{color:var(--dg-mute)}.dms-games .dg-menutop p{max-width:570px;margin-top:6px}.dms-games .dg-selector{display:flex;flex-direction:column;gap:4px;flex-shrink:0;font-size:.88rem;font-weight:600}.dms-games .dg-selector select{font:inherit;color:inherit;background:#fffdf8;border:1px solid var(--dg-line);border-radius:5px;min-height:42px;padding:6px 25px 6px 11px;cursor:pointer}.dms-games .dg-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.dms-games .dg-card{display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--dg-line);border-radius:8px;background:#fffefa}.dms-games .dg-cardart{display:grid;place-items:center;height:90px;background-color:var(--dg-tint);background-image:linear-gradient(var(--dg-rule) 1px, transparent 1px),linear-gradient(90deg,var(--dg-rule) 1px,transparent 1px);background-size:15px 15px;color:var(--dg-symbol)}.dms-games .dg-rose{--dg-tint:#f2e2db;--dg-rule:#996f5a20;--dg-symbol:#794b3e}.dms-games .dg-mint{--dg-tint:#e3eadf;--dg-rule:#73836428;--dg-symbol:#48664d}.dms-games .dg-blue{--dg-tint:#e0e8ee;--dg-rule:#657f9528;--dg-symbol:#435e70}.dms-games .dg-cardart span{font:italic 2.8rem/1 var(--serif,Georgia,serif);transform:rotate(-6deg);border-bottom:2px solid currentColor}.dms-games .dg-cardbody{display:flex;flex:1;align-items:flex-start;flex-direction:column;gap:8px;padding:18px}.dms-games .dg-cardbody p{margin:0 0 8px;flex:1}.dms-games .dg-btn{font:inherit;font-size:.94rem;color:var(--dg-ink);background:#fffdf8;border:1px solid #bfc2b9;border-radius:5px;line-height:1.35;min-height:44px;padding:9px 13px;cursor:pointer;white-space:normal;overflow-wrap:anywhere}.dms-games .dg-btn:hover:not(:disabled){border-color:#767b74;background:#f3f1e9}.dms-games .dg-btn.dg-primary{font-weight:600;color:#fff;background:var(--dg-ink);border-color:var(--dg-ink)}.dms-games .dg-btn.dg-primary:hover:not(:disabled){background:#3b495e}.dms-games .dg-btn:disabled{opacity:.56;cursor:default}.dms-games .dg-btn:focus-visible,.dms-games select:focus-visible{outline:3px solid #235986;outline-offset:3px}.dms-games .dg-board{max-width:830px;padding:clamp(16px,3.3vw,34px);border:1px solid var(--dg-line);border-radius:9px;background:#fffefa}.dms-games .dg-top{margin-bottom:12px}.dms-games .dg-text{padding:4px 0;min-height:32px;color:var(--dg-red);border-color:transparent;background:transparent;text-decoration:underline;text-underline-offset:3px}.dms-games .dg-btn.dg-text:hover:not(:disabled){background:transparent;border-color:transparent}.dms-games .dg-level{border:1px solid var(--dg-line);border-radius:4px;padding:3px 7px;font-size:.85rem;font-weight:600}.dms-games .dg-status{margin-top:14px;font-size:.89rem}.dms-games progress{display:block;width:100%;height:6px;border:0;border-radius:6px;overflow:hidden;margin:7px 0 20px;background:#e6e4da;color:var(--dg-red);accent-color:var(--dg-red)}.dms-games progress::-webkit-progress-bar{background:#e6e4da}.dms-games progress::-webkit-progress-value{background:var(--dg-red)}.dms-games progress::-moz-progress-bar{background:var(--dg-red)}.dms-games .dg-instruction{margin:8px 0 13px}.dms-games .dg-answer{min-height:65px;display:flex;align-items:center;align-content:center;flex-wrap:wrap;padding:9px;gap:6px;background:#f4f1e7;border:1px dashed #aba99c;border-radius:5px}.dms-games .dg-answer>span{color:var(--dg-mute);margin-left:4px;font-size:.91rem}.dms-games .dg-help{font-size:.88rem;margin:7px 0}.dms-games .dg-tiles,.dms-games .dg-choices{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.dms-games .dg-tiles:empty{display:none}.dms-games .dg-tile{background:#fffcf4}.dms-games .dg-answer .dg-tile{background:#e1e9ec;border-color:#97aab0}.dms-games .dg-prompt{background:#f4f1e7;border-left:3px solid #b8573e;border-radius:3px;padding:13px 15px;font-size:1.08rem;line-height:1.55}.dms-games mark{font-weight:600;background:#f3d7c8;color:#742b1e;padding:1px 3px;text-decoration:underline;text-decoration-style:dotted;text-underline-offset:3px}.dms-games .dg-feedback{margin:13px 0;padding:10px 12px;border-radius:4px;font-size:.94rem}.dms-games .dg-feedback:empty{display:none}.dms-games .dg-correct,.dms-games .dg-btn.dg-right,.dms-games .dg-pair.dg-paired{color:#294d33;background:#e2eee1;border-color:#83a58a;opacity:1}.dms-games .dg-revision,.dms-games .dg-btn.dg-wrong{color:#723326;background:#f7e5df;border-color:#be8b7c;opacity:1}.dms-games .dg-match{display:grid;grid-template-columns:1fr 1fr;gap:12px}.dms-games .dg-column{display:flex;flex-direction:column;gap:8px;min-width:0}.dms-games .dg-column h3{font-size:1.1rem;margin:2px 0 5px}.dms-games .dg-pair{width:100%;text-align:left}.dms-games .dg-pair.dg-picked{background:#dfe8ef;border-color:#536e86;box-shadow:inset 0 0 0 1px #536e86}.dms-games .dg-pairicon{font-weight:700}.dms-games .dg-end h2{margin:16px 0 7px}.dms-games .dg-score{font:3.8rem/1.15 var(--serif,Georgia,serif);color:var(--dg-red);margin:15px 0}.dms-games .dg-score small{font-size:1.7rem;color:var(--dg-mute)}@media(max-width:700px){.dms-games .dg-grid{grid-template-columns:1fr}.dms-games .dg-card{display:grid;grid-template-columns:70px minmax(0,1fr)}.dms-games .dg-cardart{height:100%;min-height:100px}.dms-games .dg-cardbody{padding:13px}.dms-games .dg-menutop{align-items:flex-start;flex-wrap:wrap}.dms-games .dg-match{gap:8px}.dms-games .dg-btn{font-size:.9rem}.dms-games .dg-pair{padding:8px}.dms-games .dg-board{padding:15px}.dms-games .dg-help{font-size:.86rem}}

.dms-games .dg-shelves{display:flex;flex-wrap:wrap;gap:.4rem;margin:1.2rem 0 2rem}
.dms-games .dg-shelves .dg-btn{min-height:40px;margin:0;border-radius:20px}
.dms-games .dg-shelves [aria-pressed=true]{background:#264735;border-color:#264735;color:white}
.dms-games .dg-shelf{margin:1.8rem 0 2.6rem}
.dms-games .dg-shelf>h2{margin-bottom:.8rem}

.caseSentence{margin:1.2rem 0;font-size:clamp(1.1rem,2.4vw,1.5rem);line-height:2.2}
.dms-games .caseSentence .dg-btn{vertical-align:baseline;font:inherit;font-weight:600;min-height:0;line-height:1.35;padding:.15rem .45rem;margin:.15rem 0;border-radius:.35rem}
