#dt-app *{box-sizing:border-box}
#dt-app{margin:0;background:#f3efe5;color:#21291f;font-family:system-ui,-apple-system,sans-serif}
#dt-app main{max-width:1100px;margin:auto;padding:clamp(16px,3vw,42px)}
#dt-app header{padding-bottom:22px}
#dt-app a{color:#4c594d;text-decoration:none;font-size:14px}
#dt-app a:hover{text-decoration:underline}
#dt-app h1{font-family:"Songti SC",serif;font-size:clamp(38px,5vw,65px);letter-spacing:.07em;line-height:1.12;margin:18px 0 8px}
#dt-app header p{color:#4e584c;margin:0}
#dt-app section{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(280px,1fr);gap:clamp(20px,4vw,58px);align-items:center}
#dt-app figure{margin:0}
#dt-app canvas{display:block;width:100%;aspect-ratio:1;height:auto;border-radius:6px;background:#151b1a;box-shadow:0 5px 20px #27312222}
#dt-app figcaption, #dt-app .ticks{display:flex;justify-content:space-between;font-size:12px;color:#5e6558;margin-top:8px}
#dt-app h2, #dt-app legend{font-size:15px;font-weight:600;margin:0}
#dt-app .reading{font:clamp(52px,7vw,88px)/1.25 Georgia,serif;font-variant-numeric:tabular-nums}
#dt-app .reading small{font:22px Georgia,serif}
#dt-app input{width:100%;margin:0;height:28px;accent-color:#8a4324;cursor:pointer}
#dt-app .ticks{margin:0}
#dt-app fieldset{border:0;padding:0;margin:26px 0}
#dt-app legend{padding:0;margin-bottom:9px}
#dt-app #choices{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
#dt-app button{font:inherit;min-height:42px;border:1px solid #c2c3b3;border-radius:6px;color:inherit;background:#fbf9f1;cursor:pointer}
#dt-app button:focus-visible, #dt-app input:focus-visible, #dt-app summary:focus-visible{outline:3px solid #8f512b;outline-offset:2px}
#dt-app button[aria-pressed=true]{background:#754327;color:white;border-color:#754327}
#dt-app .actions{display:flex;gap:8px}
#dt-app .actions button{padding:0 16px}
#dt-app #listen{background:#293c31;color:white}
#dt-app details{border-top:1px solid #c8c8b8;margin-top:22px;padding-top:14px}
#dt-app details p{font-size:14px;line-height:1.8}
#dt-app summary{cursor:pointer}
#dt-app #notice:empty{display:none}
@media(max-width:730px){#dt-app section{grid-template-columns:1fr}
#dt-app main{max-width:580px}
#dt-app header{padding-bottom:14px}
#dt-app h1{margin-top:12px}
#dt-app aside{padding-bottom:16px}
#dt-app .reading{font-size:48px}
#dt-app fieldset{margin:16px 0}
}#dt-app .sweepbar{display:flex;flex-wrap:wrap;gap:7px;margin-top:14px;align-items:center}
#dt-app .sweepbar label{font-size:14px}
#dt-app .sweepbar button, #dt-app .sweepbar select{padding:5px 10px}
#dt-app .sweepbar select{font:inherit;color:inherit;background:#faf8ef;border:1px solid #c2c3b3;border-radius:5px;min-height:40px}
#dt-app #sweep{background:#754327;color:white}
