/* Fichas de las herramientas: se abren al tocar una tarjeta con data-tool */
  dialog.info {
    --c: var(--bone); width: min(500px, 100% - 32px); max-height: min(88vh, 720px); padding: 0; overflow: auto;
    background: #060606; color: var(--bone); border-radius: 2px;
    border: 1px solid color-mix(in srgb, var(--c) 45%, transparent);
    box-shadow: inset 0 0 0 7px #060606, inset 0 0 0 8px color-mix(in srgb, var(--c) 18%, transparent), 0 40px 90px -30px #000;
  }
  dialog.info::backdrop { background: rgba(0,0,0,.72); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); }
  dialog.info[open] { animation: pop .55s cubic-bezier(.22,1,.36,1); }
  dialog.info[open]::backdrop { animation: ficha-fade .45s ease; }
  dialog.info.closing { animation: unpop .26s ease-in forwards; }
  dialog.info.closing::backdrop { animation: ficha-fade .26s ease reverse forwards; }
  @keyframes pop { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
  @keyframes unpop { to { opacity: 0; transform: translateY(12px); } }
  .info .in { padding: 34px 34px 32px; }
  .info .close { position: absolute; top: 16px; right: 18px; width: 40px; height: 40px; border: 0; background: none; color: var(--ash); font: 400 30px/1 var(--serif); cursor: pointer; transition: color .3s; }
  .info .close:hover { color: var(--bone); }
  .info .close:focus-visible { outline: 1px solid var(--c); }
  .info .big { font-size: 2.5rem; line-height: 1; }
  .info h2 { margin: 14px 0 6px; font: 400 2.3rem/1.05 var(--serif); color: var(--c); }
  .info .what { margin: 0 0 6px; font-size: 1.2rem; line-height: 1.4; }
  .info .where { margin: 0 0 4px; font-style: italic; color: var(--ash); }
  .info .live { margin: 0 0 20px; min-height: 1.4em; font-size: .95rem; color: #6f6a62; transition: color .6s; }
  .info .live.ok { color: var(--c); }
  .info ul { list-style: none; margin: 0 0 22px; padding: 0; border-bottom: 1px solid #1e1e1e; }
  .info li { padding: 9px 0; border-top: 1px solid #1e1e1e; color: #cfc9bc; font-size: 1.02rem; line-height: 1.4; opacity: 0; animation: ficha-rise .5s cubic-bezier(.22,1,.36,1) forwards; }
  .info .note { font-size: .93rem; color: var(--ash); margin: 0 0 24px; }
  .info .acts { display: flex; flex-wrap: wrap; gap: 10px; }
  .info .acts a { display: inline-flex; align-items: center; min-height: 46px; padding: 0 20px; border-radius: 2px; font: 500 1.05rem/1 var(--serif); text-decoration: none; transition: background-color .3s, color .3s, border-color .3s; }
  .info .acts .pri { background: var(--c); color: #0a0a0a; border: 1px solid var(--c); }
  .info .acts .pri:hover { background: color-mix(in srgb, var(--c) 82%, #fff); }
  .info .acts .sec { color: var(--c); border: 1px solid color-mix(in srgb, var(--c) 40%, transparent); }
  .info .acts .sec:hover { border-color: var(--c); }
  .info .acts a:focus-visible { outline: 1px solid var(--bone); outline-offset: 3px; }
  @media (max-width: 560px) {
    .info .in { padding: 30px 24px 28px; }
    dialog.info { width: 100%; max-width: 100%; margin: auto 0 0; max-height: 88vh; border-bottom: 0; }
    @keyframes pop { from { transform: translateY(100%); } to { transform: none; } }
    @keyframes unpop { to { transform: translateY(100%); } }
  }
  @keyframes ficha-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
  @keyframes ficha-fade { from { opacity: 0; } to { opacity: 1; } }
  @media (prefers-reduced-motion: reduce) { dialog.info, dialog.info::backdrop, .info li { animation: none !important; opacity: 1; } }
