:root{color-scheme:light dark;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
*{box-sizing:border-box}
body{margin:0;background:var(--background,#f7f7f5);color:var(--text,#202020);font-size:14px}
a{color:inherit}
.layout{max-width:1200px;margin:0 auto;padding:22px 24px 64px}
.head{display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:13px;color:var(--text-secondary,#777);margin-bottom:28px}
.head a{text-decoration:none;color:var(--text,#222)}
.heading{display:flex;align-items:center;gap:20px;justify-content:space-between}
h1{font-size:28px;letter-spacing:-.03em;font-weight:650;margin:0}
h2{font-size:16px;letter-spacing:-.01em;margin:0}
.description{max-width:780px;line-height:1.6;color:var(--text-secondary,#6a6a6a);margin:12px 0 24px}
.download{border:1px solid var(--border,#c4c4c2);border-radius:10px;padding:10px 13px;min-height:44px;text-decoration:none;display:inline-flex;align-items:center;gap:14px;white-space:nowrap}
.view-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0 0 15px}
.angles,.settings{display:flex;gap:5px;align-items:center;flex-wrap:wrap}
button,select{font:inherit;border-radius:8px;border:1px solid var(--border,#c9c9c6);background:var(--surface,#fff);color:inherit;min-height:40px;padding:0 12px;cursor:pointer}
button[aria-pressed=true]{background:var(--text,#252525);color:var(--background,#fff);border-color:transparent}
button:disabled,select:disabled{opacity:.5;cursor:default}
.settings label{display:flex;align-items:center;gap:7px;font-size:13px;color:var(--text-secondary,#666)}
.settings select{min-height:40px}
.settings .context{cursor:pointer;padding:0 8px;min-height:40px}
.settings input{accent-color:var(--text,#222)}
.comparison{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.panel{margin:0;min-width:0;border:1px solid var(--border,#d1d1ce);border-radius:10px;overflow:hidden;background:#e9e7e4}
.panel-title{font-size:12px;font-weight:600;display:flex;justify-content:space-between;align-items:center;gap:8px;padding:10px 12px;color:#424242;background:#f2f1ef}
.panel-title span{font-weight:400;color:#757575}
.panel img,.stage{display:block;width:100%;aspect-ratio:3/2;object-fit:cover}
.stage{position:relative;touch-action:none;background:#edeae7}
.stage canvas{display:block;width:100%;height:100%}
.stage p{position:absolute;top:40%;left:0;right:0;margin:0;text-align:center;color:#444;pointer-events:none}
.status{min-height:20px;color:var(--text-secondary,#666);font-size:12px;margin:12px 0 35px}
.section-title{display:flex;justify-content:space-between;align-items:baseline;gap:14px;margin-bottom:14px}
.section-title span,.note{color:var(--text-secondary,#777);font-size:12px;line-height:1.6}
.source-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.source-grid figure{min-width:0;margin:0}
.source-grid img{display:block;width:100%;height:220px;object-fit:contain;background:#ece5df;border-radius:7px}
.source-grid figcaption{padding:7px 0;color:var(--text-secondary,#777);font-size:12px}
.note{max-width:820px;margin:10px 0 30px}
.files{border-top:1px solid var(--border,#ddd);padding-top:20px}
.files p{display:flex;align-items:center;gap:15px;flex-wrap:wrap;margin:12px 0;font-size:13px}
.files a{text-underline-offset:3px}
@media(max-width:750px){.layout{padding:18px 14px 46px}.head{margin-bottom:20px}.heading{align-items:flex-start}h1{font-size:24px}.comparison{grid-template-columns:1fr}.panel-title{font-size:12px}.source-grid img{height:150px}.source-grid{gap:6px}.source-grid figcaption{padding-left:3px}.description{margin:15px 0 24px}}
@media(prefers-color-scheme:dark){body{--background:#1b1b1c;--text:#f5f5f5;--text-secondary:#b8b8b8;--surface:#29292a;--border:#424243}.panel{border-color:#464647}.source-grid img{background:#343130}}
