.tmsc { position: fixed; inset: 0; z-index: 3000; display: flex; align-items: center; justify-content: center; padding: 12px; background: rgba(18, 19, 22, .6); }
.tmsc-card { display: flex; flex-direction: column; gap: 12px; width: min(440px, 100%); max-height: 100%; padding: 14px; border-radius: 12px; background: #f6f1e0; color: #121316; box-shadow: 0 12px 40px rgba(0, 0, 0, .35); }
.tmsc-stage { flex: 1 1 auto; min-height: 120px; overflow: auto; display: flex; align-items: center; justify-content: center; font: 500 .9rem/1.4 var(--nv-font, system-ui, sans-serif); }
.tmsc-canvas { display: block; width: 100%; max-height: 64dvh; height: auto; aspect-ratio: 1080 / 1350; object-fit: contain; border: 1px solid #121316; background: #f6f1e0; }
.tmsc-actions { display: flex; gap: 8px; }
.tmsc-btn { flex: 1 1 0; min-height: 44px; padding: 0 12px; border: 1px solid #121316; border-radius: 8px; background: #fff; color: #121316; font: 600 .875rem/1 var(--nv-font, system-ui, sans-serif); cursor: pointer; }
.tmsc-btn:hover:not(:disabled) { background: #fbf3d6; }
.tmsc-btn:disabled { opacity: .5; cursor: default; }
.tmsc-btn:focus-visible { outline: 3px solid #121316; outline-offset: 2px; }
.tmsc-primary { background: #e9b83a; }
.tmsc-primary:hover:not(:disabled) { background: #f1c654; }
.tmsc-status { min-height: 1.2em; margin: 0; font: 500 .8125rem/1.4 var(--nv-font, system-ui, sans-serif); color: #5a5646; }
@media (min-width: 900px) { .tmsc-card { width: min(520px, 100%); } }
