/* ===== Generador de enlaces con tiempo exacto =====
   Diseño solo de esta herramienta. Se carga después de /assets/style.css. */
.tm { padding: 40px 16px 80px; }
.tm h1 { font-size: clamp(28px, 5vw, 40px); margin: 16px 0 8px; letter-spacing: -.02em; }
.tm .lead { max-width: 760px; }
.tm-tool { max-width: 860px; }
.tm-form { display: flex; gap: 10px; }
.tm-form input { flex: 1; min-width: 0; font-size: 16px; padding: 12px 14px; }
.tm-form .btn { width: auto; flex-shrink: 0; }
#out { margin-top: 16px; }
.tm-player { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 12px; overflow: hidden; }
.tm-player iframe, .tm-player #player { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tm-time { margin: 16px 0 6px; }
.tm-time label { font-weight: 700; margin: 0 0 6px; display: block; }
.tm-time-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.tm-time-row .btn { width: auto; margin: 0; }
.tm-time-row input { width: 110px; font-size: 22px; font-weight: 800; text-align: center; padding: 8px; font-variant-numeric: tabular-nums; }
.tm-time .hint { margin: 8px 0 0; }
.tm-links { display: grid; gap: 10px; margin-top: 16px; }
.tm-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-2); }
.tm-link > div { min-width: 0; display: grid; gap: 4px; }
.tm-link code { font-size: 14px; color: var(--brand-2); word-break: break-all; }
.tm-link .hint { margin: 0; font-size: 13px; }
.tm-link .btn { width: auto; flex-shrink: 0; margin: 0; }
.tm-app { background: rgba(98, 70, 234, .06); border-color: rgba(98, 70, 234, .25); }
.tm-test { margin: 12px 0 0; }
.tm-test a { color: var(--brand-2); font-weight: 600; }
@media (max-width: 600px) {
  .tm-form, .tm-link { flex-direction: column; align-items: stretch; }
  .tm-form .btn, .tm-link .btn { width: 100%; text-align: center; }
}
