.stage.mouse-trail-stage{display:block;background:#ecf5f5;padding:8px;container-type:size;overflow:hidden}
.mt-workspace{display:grid;grid-template-rows:auto minmax(0,1fr) auto;height:100%;min-height:0;gap:8px;color:#234e49}
.mt-rounds{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:min(100%,480px);justify-self:center;gap:6px;margin:0;padding:0;list-style:none;font:700 15px/1.2 var(--f-body)}
.mt-rounds li{padding:5px 8px;border:1px solid #c8dcd8;border-radius:9px;background:#f9fcf8;color:#5f7b7b;text-align:center;white-space:nowrap}.mt-rounds span{margin-right:3px}
.mt-rounds .mt-current{color:#fff;background:#287e69;border-color:#287e69}.mt-rounds .mt-complete{color:#22634d;background:#d7eddf}
.mt-canvas{display:flex;align-items:center;justify-content:center;min-height:0;min-width:0;background:#dbeff5;border-radius:18px;overflow:hidden}
.mt-board{width:100%;height:100%;display:block;touch-action:none;user-select:none;cursor:crosshair;font-family:var(--f-body)}
.mt-board image,.mt-board text,.mt-ink,.mt-walker,.mt-end,.mt-checkpoints,.mt-arrival{pointer-events:none}
.mt-drawing .mt-bird image{animation:mt-flight .55s ease-in-out infinite;transform-box:fill-box;transform-origin:center}
@keyframes mt-flight{0%,100%{transform:scaleY(1)}50%{transform:scaleY(.9)}}
@media(prefers-reduced-motion:reduce){.mt-drawing .mt-bird image{animation:none}}
.mt-bottom{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:stretch;padding-bottom:4px}
.mt-status{margin:0;padding:8px 12px;background:#fffdf3;border:1px solid #d2dfcd;border-radius:12px;font:18px/1.35 var(--f-body);min-height:42px;display:flex;align-items:center}
.mt-status.mt-ok{background:#dff2e3;border-color:#93bda1}
.mt-bottom button{min-width:0;min-height:44px;padding:8px 12px;border:1px solid #9dbeaa;border-radius:12px;background:#fffdf6;color:#27544a;font:700 16px/1.25 var(--f-body);box-shadow:0 3px 0 #b2cbbd;cursor:pointer}
.mt-bottom button:disabled{opacity:.46;cursor:default}.mt-bottom button:focus-visible{outline:3px solid #e6a32d;outline-offset:2px}
@container(max-height:350px){.mt-workspace{gap:5px}.mt-rounds{gap:5px;font-size:14px}.mt-rounds li{padding:4px 6px}.mt-bottom{gap:5px}.mt-bottom button{min-height:38px;padding:5px 8px;font-size:14px}.mt-status{min-height:34px;font-size:15px;padding:5px 8px}}
@container(max-width:550px){.mt-rounds{gap:4px;font-size:14px}.mt-rounds li{padding:4px 3px}.mt-bottom button{max-width:112px;font-size:14px}.mt-status{font-size:15px}}
