html,body{margin:0;height:100%;background:#1b1b1d;color:#eee;font:15px/1.4 system-ui,"Noto Sans CJK TC","Microsoft JhengHei",sans-serif;overflow:hidden}
#stage{position:absolute;inset:0;display:flex;align-items:center;justify-content:center}
#c{display:block;touch-action:none;cursor:grab}
#painting{position:absolute;pointer-events:none;opacity:0;display:none}
#bar{position:absolute;top:10px;left:12px;display:flex;gap:6px;align-items:center;background:#000a;padding:5px 8px 5px 12px;border-radius:8px}
#bar b{font-size:17px;margin-right:6px}
button{font:inherit;background:#0000;color:#eee;border:1px solid #777;border-radius:6px;padding:3px 10px;cursor:pointer}
button.on{background:#d9d2b8;color:#111;border-color:#d9d2b8}
#more{position:absolute;top:54px;left:12px;max-width:430px;background:#000c;padding:10px 12px;border-radius:8px;display:flex;flex-direction:column;gap:10px}
#more[hidden],#legend[hidden],#info[hidden],#ovl[hidden]{display:none}
#more button{margin:3px 3px 0 0}#more small{opacity:.75}#more a{color:#9cf}
#legend{position:absolute;left:12px;bottom:44px;background:#000b;padding:10px 14px;border-radius:8px;font-size:18px}
#legend i{display:inline-block;width:16px;height:16px;margin-right:8px;vertical-align:-2px}
#legend span{opacity:.7;margin-left:6px}
#info{position:absolute;right:12px;top:10px;width:300px;background:#000c;padding:12px 14px;border-radius:8px}
#info h3{margin:0 0 4px;font-size:17px}#info img{max-width:100%;max-height:260px;margin-top:8px;border:1px solid #666}
#info .cls{display:inline-block;padding:1px 8px;border-radius:10px;color:#fff;font-weight:600}
#info small{opacity:.75}
#hint{position:absolute;left:12px;bottom:10px;background:#0008;padding:3px 10px;border-radius:6px;font-size:13px;opacity:.85}
