/* /descargar/ y /vincular/ (ADR 0136, borrador). Sólo agrega piezas: colores, tipos y botones
   salen de site.css. Naranja = la acción del jugador; cian = confirmado. */

.dl-section { padding-block: clamp(40px, 6vw, 80px); }
.dl-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(20px, 3vw, 32px); align-items: start; }
@media (max-width: 860px) { .dl-grid { grid-template-columns: minmax(0, 1fr); } }

.dl-pick {
  position: relative; display: grid; gap: 20px; align-content: start; margin: 0;
  padding: clamp(22px, 3vw, 34px) clamp(22px, 3vw, 34px) clamp(22px, 3vw, 34px) clamp(26px, 3.4vw, 40px);
  background: linear-gradient(135deg, rgba(255, 106, 43, 0.09), transparent 55%), var(--panel);
  border: 1px solid var(--rule);
}
.dl-pick::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--human); }
.dl-os { margin: 0; font: 900 clamp(44px, 7vw, 88px)/0.9 var(--f-stencil); text-transform: uppercase; overflow-wrap: anywhere; }
.dl-os.is-hint { font-size: clamp(28px, 4vw, 44px); color: var(--dim); }
.dl-meta { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; padding-top: 18px; border-top: 1px solid var(--rule); }
.dl-meta > div { display: grid; gap: 6px; min-width: 0; }
.dl-meta dt { font: 500 11px/1 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }
.dl-meta dd { margin: 0; font: 400 15px/1.4 var(--f-mono); font-variant-numeric: tabular-nums; }
.dl-hash { grid-column: 1 / -1; }
.dl-hash code {
  display: block; padding: 10px 12px; overflow-wrap: anywhere; user-select: all;
  font: 400 12.5px/1.6 var(--f-mono); color: var(--ink); background: var(--ground); border: 1px solid var(--rule);
}
.dl-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.dl-status { margin: 0; min-height: 1.5em; font: 500 13px/1.5 var(--f-mono); color: var(--dim); }
.dl-status[data-tone="bad"] { color: var(--human); }
.dl-status[data-tone="ok"] { color: var(--machine); }

.dl-account [data-show] { display: grid; gap: 14px; justify-items: start; }
.cuenta [hidden] { display: none !important; }
.dl-small { margin: 0; font-size: 14px; line-height: 1.55; color: var(--dim); }
.dl-small b { color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.dl-small a { color: var(--ink); }
.dl-ghost { padding: 10px 16px 9px; font-size: 15px; border-color: var(--rule); color: var(--dim); }
.dl-ghost:hover { border-color: var(--ink); }

.dl-platforms {
  list-style: none; margin: clamp(28px, 4vw, 44px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule);
}
@media (max-width: 860px) { .dl-platforms { grid-template-columns: minmax(0, 1fr); } }
.dl-card { display: grid; grid-template-rows: auto auto 1fr auto; gap: 12px; padding: clamp(18px, 2.4vw, 26px); background: var(--ground); }
.dl-card[data-current] { background: var(--panel); box-shadow: inset 0 3px 0 var(--human); }
.dl-card-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px; }
.dl-card-name { margin: 0; font: 800 28px/1 var(--f-display); letter-spacing: 0.02em; text-transform: uppercase; }
.dl-card-meta { margin: 0; font: 400 12px/1.5 var(--f-mono); color: var(--dim); overflow-wrap: anywhere; }
.dl-reqs { margin: 0; padding-left: 18px; display: grid; gap: 4px; font-size: 14px; color: var(--dim); }
.dl-card .btn { justify-self: start; }
.tag.ok { color: var(--machine); border-color: var(--machine); }
.dl-verify { display: grid; gap: 10px; margin-top: clamp(24px, 3vw, 36px); }
.dl-verify p { margin: 0; max-width: 78ch; }
.dl-verify code { font: 400 13px/1.5 var(--f-mono); color: var(--ink); }

/* Botón «Iniciar sesión con Google» según las pautas de marca de Google Identity, tema oscuro:
   relleno #131314, borde 1 px #8E918F, texto #E3E3E3, logo «G» oficial de 20 px sin alterar,
   12 px de margen lateral, 10 px entre logo y texto, Roboto Medium 14/20 y texto oficial
   traducido. Roboto no está autoalojada todavía: hasta entonces cae a la fuente del sistema. */
.gsi-btn {
  display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 12px;
  border: 1px solid #8e918f; border-radius: 4px; background: #131314; color: #e3e3e3;
  font: 500 14px/20px Roboto, "Roboto Medium", system-ui, Arial, sans-serif; letter-spacing: 0.25px;
  text-decoration: none; white-space: nowrap; transition: background-color 0.15s;
}
.gsi-btn, .gsi-btn:visited, .dl-account .gsi-btn { color: #e3e3e3; }
.gsi-btn:hover { background: #2a2a2c; color: #e3e3e3; }
.gsi-btn:active { background: #3a3a3c; }
.gsi-icon { display: inline-flex; width: 20px; height: 20px; flex: none; }
.gsi-icon svg { display: block; width: 20px; height: 20px; }
@media (prefers-reduced-motion: reduce) { .gsi-btn { transition: none; } }

.vc-form { gap: 16px; }
.vc-code {
  width: 100%; max-width: 12ch; padding: 14px 16px; text-transform: uppercase;
  font: 700 clamp(28px, 5vw, 44px)/1 var(--f-mono); letter-spacing: 0.16em;
  color: var(--ink); background: var(--ground); border: 1px solid var(--rule); border-radius: 0;
}
.vc-code::placeholder { color: var(--faint); }
.vc-warn { padding-left: 12px; border-left: 3px solid var(--hazard); }
.vc-devices-title { margin-top: 6px; }
.vc-devices { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; width: 100%; }
.vc-devices li {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 12px;
  padding-top: 8px; border-top: 1px solid var(--rule); font: 400 13px/1.4 var(--f-mono); color: var(--dim);
}
.vc-devices button {
  padding: 6px 10px; cursor: pointer; font: 500 11px/1 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--dim); background: transparent; border: 1px solid var(--rule);
}
.vc-devices button:hover { color: var(--ink); border-color: var(--ink); }
.dl-account a.btn { color: var(--ink); }
.dl-account a.btn:hover { color: var(--ground); }

/* Sin invitación: «Quiero entrar» con consentimiento explícito (como el formulario de la portada). */
.dl-account { --notch-bg: var(--panel); }
.cuenta-wl { display: grid; gap: 12px; justify-items: start; }
.cuenta-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.5; color: var(--dim); cursor: pointer; }
.cuenta-consent input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--human); }
.cuenta-consent a { color: var(--machine); }
.dl-relogin { color: var(--machine); }
.gsi-off { opacity: 0.55; cursor: not-allowed; padding-left: 14px; }
.gsi-off:hover { background: #131314; }
.cuenta-alias { display: grid; gap: 10px; justify-items: start; width: 100%; padding-top: 6px; }
.cuenta-alias-input {
  width: 100%; max-width: 20ch; padding: 10px 12px; font: 500 16px/1.2 var(--f-mono);
  color: var(--ink); background: var(--ground); border: 1px solid var(--rule); border-radius: 0;
}
