/* The home below the hero reads as a timeline: a stamp per moment on a spine, the moment's real UI beside it. */
.timeline { padding: var(--s7) 0 var(--s8); }
.tl { list-style: none; margin: 0; padding: 0; position: relative; }
.tl::before { content: ""; position: absolute; left: 11.5rem; top: 10px; bottom: 0; width: 2px; background: var(--ink); opacity: 0.18; }
.stop { position: relative; display: grid; grid-template-columns: 11.5rem minmax(0, 1fr); column-gap: var(--s7); padding-bottom: var(--s9); }
/* Each stop is a check on the line: an ink dot; the edit before the drop is the red one. */
.stop::before { content: ""; position: absolute; left: calc(11.5rem - 6px); top: 8px; width: 14px; height: 14px; background: var(--ink); border-radius: 50%; }
#drop::before { background: var(--drop); box-shadow: 0 0 0 5px color-mix(in srgb, var(--drop) 22%, transparent); }
.stamp { margin: 0; padding-right: var(--s5); text-align: right; }
/* The moment is a pin label, as on the rank line. */
.stamp b { display: inline-block; padding: 4px 10px; background: var(--gold); color: #16171A; font-size: 1rem; font-weight: 700; font-stretch: 112%; line-height: 1.2; font-variant-numeric: tabular-nums; }
.stamp span { display: block; margin-top: 6px; font-size: 0.8125rem; font-weight: 700; font-stretch: 112%; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.stop-body { max-width: 54rem; }
.stop-body h2 { margin-bottom: var(--s4); font-size: clamp(2rem, 1.3rem + 2.2vw, 3rem); font-weight: 900; font-stretch: 62%; line-height: 0.98; }
/* The story paragraph stops near 80 characters a line; the captures below keep the full width. */
.stop-body > p { font-size: 1.125rem; max-width: 34em; }
.stop-body .note { margin-top: var(--s4); font-size: var(--t-small); max-width: 36em; }
.stop-body .more { display: inline-block; margin-top: var(--s4); font-weight: 700; text-decoration-color: var(--gold); text-decoration-thickness: 2px; }
.stop-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--s7); align-items: start; max-width: none; }
.stop-pair .shot { background: var(--tint); padding: var(--s4); border: 0; border-radius: var(--radius); }
.stop-pair .shot img { margin: 0 auto; border-radius: var(--radius-s); box-shadow: 0 18px 40px -24px rgb(22 23 26 / 40%); }
#panel .shot img { max-width: 360px; }

/* the extension's own panels, rebuilt as text */
.ui { margin: var(--s5) 0 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 24px 50px -34px rgb(22 23 26 / 40%); }
.passed { padding: var(--s5); }
.passed-line { max-width: 36em; margin: 0 0 var(--s4); padding-left: var(--s3); border-left: 3px solid var(--drop); }
.vs-table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.vs-table caption { text-align: left; font-weight: 700; padding-bottom: var(--s2); }
.vs-table caption span { margin-left: 6px; padding: 1px 6px; font-size: 0.6875rem; font-weight: 700; color: #16171A; background: var(--gold); border-radius: 2px; vertical-align: 2px; }
.vs-table th, .vs-table td { text-align: left; padding: 8px 10px 8px 0; border-top: 1px solid var(--line); }
.vs-table thead th { font-size: 0.8125rem; color: var(--muted); font-weight: 600; border-top: 0; }
.vs-table tbody th { font-weight: 400; color: var(--muted); }
.vs-table tr.named th { color: var(--drop); font-weight: 700; }

.tools-line { margin: 0; padding-top: var(--s5); border-top: 2px solid var(--ink); }
.tools-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s4); flex-wrap: wrap; }
.tools-head a { color: var(--muted); font-size: var(--t-small); }
.tools-head a:hover { color: var(--ink); }
.tools-line h3 { margin: 0; font-stretch: 78%; font-weight: 820; font-size: var(--t-h3); letter-spacing: -0.01em; }
.tools-line ul { list-style: none; margin: var(--s2) 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 0 var(--s5); }
.tools-line a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }

@media (max-width: 960px) {
  .tl::before { left: 6px; }
  .stop { grid-template-columns: 1fr; padding-left: var(--s6); padding-bottom: var(--s8); }
  .stop::before { left: 0; }
  .stamp { text-align: left; padding: 0 0 var(--s3); display: flex; align-items: baseline; gap: var(--s3); }
  .stamp span { margin: 0; }
  .stop-pair { grid-template-columns: 1fr; row-gap: var(--s5); }
}
@media (max-width: 560px) {
  .passed { padding: var(--s4); }
}
