/* The project page of v5 (templates/v5_project), as the anty-2 lane drew it on
   2026-11-19 (project.css). It is drawn with the wish page's parts
   (static/v5-wish.css, loaded first); this file holds what only a project has. */

/* The left column is in the page's order: the glance, then money, wishes and team. */
.v5-project .v5-wish-glance, .v5-project .v5-wish-contract { display: block; }
.v5-project .v5-wish-cover { aspect-ratio: 2 / 2.45; }
.v5-project-front { display: grid; gap: 7px; padding: 11px 13px 12px; border-bottom: 1px solid var(--w-line); }
.v5-project-front form { margin: 0; }
.v5-project-power { padding: 10px 13px 12px; background: var(--w-head); border-bottom: 1px solid var(--w-line); }
.v5-project-latest {
  padding: 5px 8px;
  border: 1px solid var(--w-line);
  border-radius: 4px;
  background: var(--w-deep);
  color: var(--w-ink-2);
  font-family: var(--w-mono);
  font-size: 10.5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.v5-project-money { padding: 12px 13px; background: var(--w-head); border-bottom: 1px solid var(--w-line); font-size: 11.5px; color: var(--w-ink-2); }
.v5-project-money-head { margin-bottom: 3px; font-family: var(--w-mono); font-size: 13px; font-weight: 600; color: var(--w-green); }
.v5-project-bridge {
  margin: 10px 13px 0;
  padding: 6px 9px;
  border: 1px solid var(--w-green);
  border-radius: 5px;
  background: var(--w-green-bg);
  font-size: 11px;
  line-height: 1.38;
  color: var(--w-ink);
}
.v5-project-bridge a { display: inline-flex; min-height: 24px; align-items: center; color: var(--w-green); font-weight: 600; }
.v5-project-team { padding: 11px 13px; border-bottom: 1px solid var(--w-line); }
.v5-project-team h2 { margin-bottom: 7px; font-size: 10px; }
.v5-project-team ul { display: grid; gap: 4px; }
.v5-project-team li { display: flex; align-items: center; gap: 6px; font-size: 12px; }
.v5-project-team li a { display: inline-flex; min-height: 24px; align-items: center; color: var(--w-ink); font-weight: 600; text-decoration: none; }
.v5-project-team li a:hover { color: var(--w-gold); text-decoration: underline; }
.v5-project-role { color: var(--w-ink-3); font-size: 11px; }
.v5-project-others { margin-top: 5px; font-family: var(--w-mono); font-size: 10.5px; }

/* The header and the pitch */
.v5-project-summary { margin-bottom: 9px; max-width: 96ch; font-size: 14px; line-height: 1.5; color: var(--w-ink-2); }
.v5-project-featured { margin-bottom: 16px; padding: 12px 14px; border: 1px solid var(--w-line-card); border-radius: 6px; background: var(--w-deep); }
.v5-project-featured-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 10px; font-family: var(--w-mono); font-size: 10.5px; color: var(--w-ink-3); }
.v5-project-featured-title { margin: 6px 0; font-size: 14px; font-weight: 600; }
.v5-project-featured-title a { display: inline-flex; min-height: 24px; align-items: center; color: var(--w-ink); text-decoration: none; }
.v5-project-featured-title a:hover { color: var(--w-gold); text-decoration: underline; }
.v5-project-opening { margin-bottom: 8px; max-width: 92ch; font-size: 14px; line-height: 1.65; color: var(--w-ink); }
.v5-project-sub { margin: 16px 0 8px; }
.v5-project-milestones { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.v5-project-milestone { padding: 10px 12px; border: 1px solid var(--w-line); border-radius: 6px; background: var(--w-deep); }
.v5-project-milestone.is-done { border-color: var(--w-green); }
.v5-project-milestone.is-now { border-color: var(--w-gold); background: var(--w-gold-bg); }
.v5-project-milestone-state { font-family: var(--w-mono); font-size: 10px; font-weight: 600; text-transform: uppercase; color: var(--w-ink-3); }
.is-done > .v5-project-milestone-state { color: var(--w-green); }
.is-now > .v5-project-milestone-state { color: var(--w-gold); }
.v5-project-milestone-title { margin: 4px 0 3px; font-size: 13px; font-weight: 600; color: var(--w-ink); }
.v5-project-milestone-text { font-size: 11.5px; line-height: 1.45; color: var(--w-ink-2); overflow-wrap: anywhere; }
.v5-project-bulletin { margin-top: 12px; padding: 10px 13px; border: 1px solid var(--w-line); border-radius: 6px; background: var(--w-deep); }
.v5-project-bulletin-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 10px; }
.v5-project-bulletin-title a { display: inline-flex; min-height: 24px; align-items: center; margin: 3px 0; font-size: 13px; font-weight: 600; color: var(--w-ink); text-decoration: none; }
.v5-project-bulletin-title a:hover { color: var(--w-gold); text-decoration: underline; }

/* The right column's switch has three parts. */
.v5-project-switch { grid-template-columns: repeat(3, 1fr); }
.v5-project a.v5-wish-link { color: var(--w-gold); }

/* On a phone the cover is a band, as on the wish page. */
@media (max-width: 780px) {
  .v5-project .v5-wish-cover { aspect-ratio: 16 / 9; }
}
