/* Send Mike Anywhere. Builds on /styles.css tokens. */
[hidden] { display: none !important; }
.send-main { max-width: 860px; }
.send-intro { padding: 40px 0 8px; }
.send-intro h1 { font-size: clamp(36px, 5vw, 54px); margin-bottom: 14px; }
.section-intro { color: var(--ink-2); max-width: 40em; }

.send-card, .send-result {
  background: var(--tile); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; margin-top: 24px;
}
.send-label { display: block; font-family: var(--font-display); font-size: 22px; font-weight: 600; margin-bottom: 12px; }
.send-row { display: flex; gap: 10px; align-items: center; }
.send-row-bottom { margin-top: 14px; justify-content: space-between; }
.send-row input {
  flex: 1; min-width: 0; font: inherit; font-size: 17px; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px;
}
.send-row input:focus, .send-era select:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.send-era { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-2); }
.send-era input {
  width: 13em; min-width: 0; font: inherit; color: var(--ink); background: var(--bg);
  border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px;
}
.send-era input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.send-era select {
  font: inherit; color: var(--ink); background: var(--bg);
  border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px;
}
.send-card .btn { margin-top: 0; border: 0; cursor: pointer; font-family: var(--font-body); }
.send-card .btn:disabled { opacity: .55; cursor: default; filter: none; }
.btn-quiet { background: var(--stone); color: var(--ink); white-space: nowrap; }
.send-turnstile { margin-top: 14px; }
.send-turnstile:empty { display: none; }
.send-fine { margin: 12px 0 0; font-size: 13px; color: var(--ink-3); }

.send-progress { display: flex; align-items: center; gap: 12px; color: var(--ink-2); }
.spinner {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid var(--line); border-top-color: var(--accent);
  animation: spin .9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.send-message { margin: 0; font-size: 17px; }
.send-figure + .send-message, .send-message:has(+ .send-figure:not([hidden])) { margin-bottom: 14px; color: var(--ink-2); font-size: 15px; }
.send-figure { margin: 0; }
.send-figure img { display: block; width: 100%; height: auto; border-radius: 14px; background: var(--stone); }
.send-figure figcaption {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 14px; font-family: var(--font-display); font-size: 22px;
}
.send-figure .btn { margin-top: 0; font-size: 14px; padding: 9px 16px; }
.send-how { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 12px; }
.send-how summary { cursor: pointer; font-weight: 500; font-size: 15px; }
.send-how dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 12px 0 0; font-size: 14px; }
.send-how dt { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); padding-top: 2px; }
.send-how dd { margin: 0; color: var(--ink-2); }

.send-gallery { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.send-gallery figure { margin: 0; }
.send-gallery img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 12px; background: var(--stone); }
.send-gallery figcaption { font-size: 14px; color: var(--ink-2); margin-top: 6px; }

.send-about ol { padding-left: 20px; margin: 0 0 16px; }
.send-about li { margin-bottom: 8px; }
.send-about p { max-width: 42em; }

@media (max-width: 600px) {
  .send-card, .send-result { padding: 18px; }
  .send-row { flex-wrap: wrap; }
  .send-row input { flex-basis: 100%; }
  .send-how dl { grid-template-columns: 1fr; gap: 2px; }
  .send-how dd { margin-bottom: 8px; }
  .send-figure figcaption { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 3s; } }
.send-gallery-card {
  display: block; width: 100%; padding: 0; border: 0; background: none; color: inherit;
  font: inherit; text-align: left; cursor: pointer; transition: transform .15s ease;
}
.send-gallery-card:hover { transform: translateY(-2px); }
.send-gallery-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 12px; }
