.th-grid{display:grid;grid-template-columns:1fr;gap:20px}
@media (min-width:900px){.th-grid{grid-template-columns:1.5fr 1fr}}
.th-canvas{display:block;width:100%;height:auto;max-height:70vh;object-fit:contain;border-radius:14px;border:1px solid var(--line);background:#000}
.th-frames{display:grid;grid-template-columns:repeat(6,1fr);gap:8px}
@media (max-width:560px){.th-frames{grid-template-columns:repeat(3,1fr)}}
.th-frame{padding:0;border:2px solid var(--line);border-radius:10px;overflow:hidden;background:#000;cursor:pointer}
.th-frame canvas{display:block;width:100%;height:auto}
.th-frame.on{border-color:var(--brand2);box-shadow:0 0 0 3px rgba(184,134,43,.25)}
.th-opts{display:flex;flex-direction:column;gap:8px}
.th-opts .seg{margin-bottom:6px}
.seg-wrap{flex-wrap:wrap}
.th-chips{display:flex;flex-wrap:wrap;gap:6px;margin:2px 0 8px}
.th-chips button{border:1px solid var(--line);background:var(--card);color:var(--ink);border-radius:999px;padding:6px 11px;font:inherit;font-size:.82rem;cursor:pointer}
.th-chips button:hover{border-color:var(--brand2)}
.tts-label{display:block;font-weight:700;font-size:.9rem;margin:4px 0}
