*{box-sizing:border-box}[hidden]{display:none!important}:root{color-scheme:dark;font-family:system-ui,sans-serif;color:#f1ead9;background:#222b2a}body{margin:0;height:100dvh;overflow:hidden}button,a{color:inherit;font:inherit}button{cursor:pointer;touch-action:manipulation}button:disabled{opacity:.4;cursor:default}button:focus-visible,a:focus-visible,canvas:focus-visible{outline:2px solid #efba63;outline-offset:3px}.siege{height:100dvh;width:min(100%,1200px);margin:auto;padding:12px 22px max(12px,env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:9px}header{display:flex;align-items:center;gap:7px;min-height:44px;flex-shrink:0}header a,header button{display:grid;place-items:center;width:38px;height:40px;border:0;background:transparent;text-decoration:none;font-size:24px}h1{flex:1;text-align:center;font-size:23px;letter-spacing:-1px;margin:0}h1 em{font-style:normal;color:#e7a65d}.field{position:relative;flex:1;min-height:0;border:1px solid #66705b;border-radius:18px;overflow:hidden;background:#656f60;display:flex;justify-content:center}canvas{display:block;width:100%;height:100%;object-fit:contain;touch-action:none;cursor:crosshair}footer{min-height:58px;display:flex;align-items:center;gap:18px;flex-shrink:0;border:1px solid #566050;background:#2d3730;border-radius:13px;padding:6px 6px 6px 18px}footer>span{font-size:12px;font-weight:700;white-space:nowrap}footer p{flex:1;margin:0;text-align:center;font-size:12px;color:#e0cc9e}footer button,#begin{min-width:106px;min-height:44px;border:1px solid #ffd391;background:#d88c43;color:#231e18;border-radius:8px;font-weight:800;padding:10px 16px}footer button span{margin-left:12px}dialog{width:min(460px,calc(100% - 24px));max-height:calc(100dvh - 30px);overflow:auto;border:1px solid #7b8368;background:#2d3730;color:#f1ead9;border-radius:18px;padding:30px}dialog::backdrop{background:#101a20b0;backdrop-filter:blur(4px)}dialog small{letter-spacing:3px;color:#e7a65d}dialog p{font-size:13px;line-height:1.7;color:#c6cebd}#closeHelp{float:right;background:none;border:0;font-size:24px}@media(max-width:600px){.siege{padding:8px;gap:6px}h1{font-size:18px}header{gap:2px}header a,header button{width:30px}footer{gap:7px;padding-left:10px}footer p{font-size:10px}footer>span{font-size:10px}footer button{min-width:75px;padding:8px}}@media(max-height:450px){.siege{padding-top:4px;padding-bottom:4px;gap:3px}header{min-height:32px}header a,header button{height:30px}footer{min-height:48px}}

header svg,footer svg,#closeHelp svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}header a,header button{flex-shrink:0}footer button{display:flex;align-items:center;justify-content:center;gap:8px}#closeHelp{display:grid;place-items:center;width:32px;height:32px}

.level-picker{flex-shrink:0}.level-picker select{max-width:125px;min-height:40px;padding:6px 8px;border:1px solid #66705b;border-radius:7px;background:#24332c;color:#f1ead9;font:600 12px system-ui;cursor:pointer}.level-picker select:focus-visible{outline:2px solid #efba63;outline-offset:2px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}@media(max-width:600px){.level-picker select{max-width:105px;font-size:11px;padding:4px}}

#motionHelp{width:min(960px,calc(100% - 24px));padding:24px}#motionTitle{font-size:24px;margin:4px 44px 24px 0;color:#ffe0a5}.motion-graphs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.motion-graphs section{min-width:0;background:#202f29;border:1px solid #596653;border-radius:12px;padding:16px 12px 8px}.motion-graphs h3{margin:0 6px 4px;font-size:15px;line-height:1.4;color:#f6e5c3}.motion-graphs svg{display:block;width:100%;height:auto}.motion-graphs svg .grid{stroke:#e4e8cd12;stroke-width:1}.motion-graphs svg .axis{stroke:#b8bc9670;stroke-width:1.2}@media(max-width:600px){#motionHelp{padding:18px}.motion-graphs{grid-template-columns:1fr;gap:12px}.motion-graphs h3{font-size:14px}}

#motionHelp{background:#222b2a;border-color:#66705b;border-radius:18px;padding:22px;box-shadow:0 24px 80px #101a20a0}#motionTitle{letter-spacing:-.7px;color:#e7a65d}#motionHelp #closeHelp{border:1px solid #66705b;border-radius:8px;background:#2d3730;color:#e7a65d;width:38px;height:38px}.motion-graphs{gap:18px}.motion-graphs section{padding:0;overflow:hidden;background:#2d3730;border:1px solid #66705b;border-radius:14px}.motion-graphs h3{margin:0;padding:14px 16px;min-height:68px;display:flex;align-items:center;color:#f1ead9;font-weight:700;border-bottom:1px solid #66705b}.motion-graphs svg .grid{stroke:#f7ebca18}.motion-graphs svg .axis{stroke:#dfd1ad77}#motionHelp button:focus-visible{outline:2px solid #efba63;outline-offset:3px}@media(max-width:600px){#motionHelp{padding:16px}.motion-graphs h3{min-height:0;padding:12px 14px}}

.motion-graphs .height-comparison{grid-column:1/-1}.height-comparison .comparison-scenes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:#66705b}.height-comparison h3{min-height:0}@media(max-width:600px){.height-comparison .comparison-scenes{grid-template-columns:1fr}}
