/* The wish page of v5 (templates/v5_wish): three columns over the whole width, as
   the anty-2 lane drew it on 2026-11-19 (wish-campaign.css). Its colours are its
   own, dark and light, so that they hold whatever frame the page is in. */

.v5-wish {
  /* The frame's tokens (v5.css), and a few of this page's own. */
  --w-card: var(--card-bg);
  --w-head: var(--card-head);
  --w-sub: var(--card-sub);
  --w-deep: rgba(11, 14, 19, 0.82);
  --w-line: var(--line);
  --w-line-card: var(--line-card);
  --w-ink: var(--ink);
  --w-ink-2: var(--ink-2);
  --w-ink-3: var(--ink-3);
  --w-gold: var(--accent);
  --w-gold-bg: rgba(229, 193, 123, 0.13);
  --w-green: var(--accent-2);
  --w-green-bg: var(--love-bg);
  --w-warn: var(--warn);
  --w-warn-bg: rgba(232, 155, 84, 0.12);
  --w-warn-ink: #F4D8BD;
  --w-blue: #8FC0FF;
  --w-blue-bg: rgba(122, 176, 245, 0.14);
  --w-violet: #CFA8FA;
  --w-violet-bg: rgba(196, 155, 242, 0.13);
  --w-sans: var(--sans);
  --w-mono: var(--mono);
  color: var(--w-ink);
  font-family: var(--w-sans);
  font-size: 13px;
  line-height: 1.45;
  width: 100%;
}

.v5-wish a { color: inherit; }
.v5-wish :where(h1, h2, p, ul, ol, figure) { margin: 0; }
.v5-wish :where(ul, ol) { padding: 0; list-style: none; }

/* The trail */
.v5-wish-crumbs {
  padding: 4px 18px;
  min-height: 38px;
  display: flex;
  align-items: center;
  background: var(--w-sub);
  border-bottom: 1px solid var(--w-line);
}
.v5-wish-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 0; font-size: 12px; color: var(--w-ink-3); }
.v5-wish-crumbs li { display: inline-flex; align-items: center; }
.v5-wish-crumbs li + li::before { content: "/"; padding: 0 7px; color: var(--w-ink-3); }
.v5-wish-crumbs a { display: inline-flex; align-items: center; min-height: 24px; color: var(--w-ink-2); text-decoration: none; }
.v5-wish-crumbs a:hover, .v5-wish-crumbs a:focus-visible { color: var(--w-gold); text-decoration: underline; }
.v5-wish-crumbs [aria-current] { color: var(--w-ink); font-weight: 600; }

/* The three columns */
/* The header is a grid item of its own, first in the page; on a desktop it sits on
   top of the middle column, the two drawn as one card. The fr row takes whatever
   height the side columns add, so the header keeps its own. */
.v5-wish-cols {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr) 408px;
  grid-template-rows: auto 1fr;
  grid-template-areas: "left head right" "left main right";
  column-gap: 16px;
  row-gap: 0;
  align-items: start;
  padding: 14px 18px 60px;
}
.v5-wish-head { grid-area: head; }
.v5-wish-left { grid-area: left; }
.v5-wish-mid { grid-area: main; }
.v5-wish-right { grid-area: right; }
@media (max-width: 1340px) {
  .v5-wish-cols { grid-template-columns: 264px minmax(0, 1fr) 364px; column-gap: 13px; padding: 12px 14px 52px; }
}
@media (max-width: 1080px) {
  .v5-wish-cols {
    grid-template-columns: 268px minmax(0, 1fr);
    grid-template-rows: auto 1fr auto;
    grid-template-areas: "left head" "left main" "right right";
  }
  .v5-wish-right { margin-top: 13px; }
}
.v5-wish-left, .v5-wish-head, .v5-wish-mid, .v5-wish-right {
  min-width: 0;
  background: var(--w-card);
  border: 1px solid var(--w-line-card);
  border-radius: 6px;
  overflow: hidden;
}
.v5-wish-head { border-radius: 6px 6px 0 0; border-bottom-color: var(--w-line); }
.v5-wish-mid { border-top: 0; border-radius: 0 0 6px 6px; }
.v5-wish-left { display: flex; flex-direction: column; }
.v5-wish-glance, .v5-wish-contract { display: contents; }
.v5-wish-cover { order: 1; }
.v5-wish-money { order: 2; }
.v5-wish-want { order: 3; }
.v5-wish-power { order: 4; }
.v5-wish-pledge { order: 5; }
.v5-wish-held { order: 6; }
.v5-wish-rules { order: 7; }
.v5-wish-plain { order: 8; }

/* Small things shared by the columns */
.v5-wish-label {
  font-family: var(--w-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--w-gold);
}
.v5-wish-muted, .v5-wish-empty { color: var(--w-ink-3); }
.v5-wish-empty { padding: 14px; font-size: 12.5px; }
.v5-wish-icon { flex: 0 0 auto; vertical-align: -2px; }
.v3-wish-rule-num { font-family: var(--w-mono); font-size: 10px; font-weight: 600; }
.v5-wish-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 30px;
  padding: 4px 10px;
  border: 1px solid var(--w-line);
  border-radius: 5px;
  background: var(--w-head);
  color: var(--w-ink-2);
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
}
.v5-wish-btn:hover { border-color: var(--w-gold); color: var(--w-ink); }
.v5-wish-btn--wide { width: 100%; }
.v5-wish-btn--small { min-height: 26px; font-size: 11.5px; padding: 2px 9px; }
.v5-wish-btn--primary { background: var(--w-gold-bg); border-color: var(--w-gold); color: var(--w-gold); font-weight: 600; }
.v5-wish-btn--on { color: var(--w-gold); border-color: var(--w-gold); }
.v5-wish .is-planned, .v5-wish .is-planned:hover { cursor: not-allowed; color: var(--w-ink-3); border-color: var(--w-line); background: transparent; }
.v5-wish-link {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--w-gold);
  font: inherit;
  font-size: 12px;
  text-decoration: none;
  cursor: pointer;
}
.v5-wish-link:hover { text-decoration: underline; }
.v5-wish-warn { color: var(--w-warn); }

/* Left column */
.v5-wish-cover { position: relative; aspect-ratio: 2 / 2.85; background: var(--w-deep); border-bottom: 1px solid var(--w-line); }
.v5-wish-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.v5-wish-cover-top {
  position: absolute;
  inset: 0 0 auto 0;
  padding: 7px 9px 14px;
  background: linear-gradient(180deg, rgba(6, 8, 11, 0.94) 0%, rgba(6, 8, 11, 0.8) 70%, transparent 100%);
  color: #FFFFFF;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.v5-wish-cover-wants {
  position: absolute;
  left: 6px;
  bottom: 6px;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(8, 10, 14, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ECEFF4;
  font-family: var(--w-mono);
  font-size: 11px;
  font-weight: 600;
}
.v5-wish-spark { color: #E5C17B; margin-right: 3px; }
/* The money, "I want this", power and pledging are one box on a desktop. */
.v5-wish-money { display: grid; gap: 7px; padding: 12px 14px 0; background: var(--w-head); }
.v5-wish-want { padding: 7px 14px 0; background: var(--w-head); }
.v5-wish-power { padding: 7px 14px 0; background: var(--w-head); }
.v5-wish-pledge { padding: 7px 14px 12px; background: var(--w-head); border-bottom: 1px solid var(--w-line); }
.v5-wish-money-head { font-family: var(--w-mono); font-size: 15px; font-weight: 600; color: var(--w-gold); }
.v5-wish-split { display: block; border-radius: 3px; border: 1px solid var(--w-line); background: var(--w-deep); }
.v5-wish-split-teams { fill: var(--w-green); }
.v5-wish-split-owner { fill: var(--w-gold); }
.v5-wish-split-words { display: flex; justify-content: space-between; font-family: var(--w-mono); font-size: 10px; color: var(--w-ink-3); }
.v5-wish-want form { margin: 0; }
.v5-wish-tally { font-size: 12px; color: var(--w-ink-2); }
.v5-wish-btn-count { font-family: var(--w-mono); }
.v5-wish-held {
  padding: 10px 14px;
  border-bottom: 1px solid var(--w-line);
  border-left: 3px solid var(--w-warn);
  background: var(--w-warn-bg);
  color: var(--w-warn-ink);
  font-size: 11.5px;
  line-height: 1.42;
}
.v5-wish-held-head { display: flex; align-items: center; gap: 5px; margin-bottom: 3px; color: var(--w-warn); font-weight: 600; }
.v5-wish-rules { margin: 0; font-size: 11.5px; }
.v5-wish-rules > div { display: grid; grid-template-columns: 42% minmax(0, 1fr); border-bottom: 1px solid var(--w-line); }
.v5-wish-rules dt {
  padding: 7px 12px;
  font-family: var(--w-mono);
  font-size: 10px;
  text-transform: uppercase;
  color: var(--w-ink-3);
  background: var(--w-sub);
}
.v5-wish-rules dd { margin: 0; padding: 6px 12px; color: var(--w-ink); font-weight: 500; }
.v5-wish-watch { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; }
.v5-wish-watch form { margin: 0; }
.v5-wish-lists summary { list-style: none; }
.v5-wish-lists summary::-webkit-details-marker { display: none; }
.v5-wish-lists-panel { display: grid; gap: 5px; margin-top: 6px; }
.v5-wish-plain { padding: 10px 12px 12px; background: var(--w-sub); }
.v5-wish-plain h2 { margin-bottom: 6px; font-size: 10px; }
.v5-wish-plain ul { display: grid; gap: 6px; font-size: 11.5px; color: var(--w-ink-2); line-height: 1.45; }
.v5-wish-rule { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 7px; align-items: start; }
.v5-wish-rule-pic { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; color: var(--w-gold); }
.v5-wish-rule-pic .v5-wish-icon { width: 16px; height: 16px; }
.v5-wish-rule--held { color: var(--w-warn-ink); }
.v5-wish-rule--held .v5-wish-rule-pic { color: var(--w-warn); }
.v5-wish-rule a { color: var(--w-gold); }

/* Middle column */
.v5-wish-head { padding: 16px 20px 14px; background: linear-gradient(var(--w-head), var(--w-head)), var(--w-card); }
.v5-wish-head-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin-bottom: 8px; }
.v5-wish-steps { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-family: var(--w-mono); font-size: 10.5px; }
.v5-wish-step { padding: 2px 8px; border: 1px solid var(--w-line); border-radius: 999px; color: var(--w-ink-3); background: var(--w-sub); }
.v5-wish-step + .v5-wish-step { position: relative; margin-left: 12px; }
.v5-wish-step + .v5-wish-step::before { content: ""; position: absolute; left: -15px; top: 50%; width: 10px; border-top: 1px solid var(--w-ink-3); }
.v5-wish-step--done { color: var(--w-green); border-color: var(--w-green); background: var(--w-green-bg); }
.v5-wish-step--next { color: var(--w-gold); border-color: var(--w-gold); font-weight: 600; }
.v5-wish-step--held { color: var(--w-warn); border-color: var(--w-warn); background: var(--w-warn-bg); font-weight: 600; }
.v5-wish-by { font-family: var(--w-mono); font-size: 11px; color: var(--w-ink-3); }
.v5-wish-wisher { color: var(--w-ink-2); font-weight: 600; text-decoration: none; }
a.v5-wish-wisher { display: inline-flex; align-items: center; min-height: 24px; }
a.v5-wish-wisher:hover { color: var(--w-gold); text-decoration: underline; }
.v5-wish-own { margin-bottom: 6px; font-size: 12px; color: var(--w-ink-2); }
.v5-wish-own a { color: var(--w-gold); }
.v5-wish-title { margin: 2px 0 8px; font-family: var(--w-sans); letter-spacing: 0; font-size: 22px; font-weight: 600; line-height: 1.22; color: var(--w-ink); overflow-wrap: anywhere; }
.v5-wish-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.v5-wish-tags li { display: inline-flex; }
.v5-wish-tag, .v5-wish-form {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 2px 8px;
  border: 1px solid var(--w-line);
  border-radius: 4px;
  background: var(--w-sub);
  color: var(--w-ink-2);
  font-family: var(--w-mono);
  font-size: 10.5px;
  text-decoration: none;
}
.v5-wish-form { color: var(--w-gold); border-color: var(--w-line-card); }
.v5-wish-tag:hover { border-color: var(--w-gold); color: var(--w-gold); }
.v5-wish-pitch { padding: 16px 20px; border-bottom: 1px solid var(--w-line); }
.v5-wish-pitch > h2 { margin-bottom: 10px; }
.v5-wish-summary { margin-bottom: 10px; max-width: 96ch; font-size: 14px; line-height: 1.6; color: var(--w-ink); }
.v5-wish-body { max-width: 96ch; font-size: 13.5px; line-height: 1.6; color: var(--w-ink-2); overflow-wrap: anywhere; }
.v5-wish-terms { margin-top: 13px; padding: 12px 15px; background: var(--w-deep); border: 1px solid var(--w-line); border-radius: 5px; }
.v5-wish-terms h2 { margin-bottom: 6px; font-size: 10px; }
.v5-wish-terms .v5-wish-prose { font-family: var(--w-mono); font-size: 11.5px; line-height: 1.58; color: var(--w-ink-2); overflow-wrap: anywhere; }
.v5-wish-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 15px; padding-top: 13px; border-top: 1px solid var(--w-line); }
.v5-wish-actions form { margin: 0; }
.v5-wish-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid var(--w-line);
  border-radius: 999px;
  background: var(--w-sub);
  color: var(--w-ink-2);
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
}
.v5-wish-pill:hover { border-color: var(--w-gold); color: var(--w-ink); }
.v5-wish-pill--still, .v5-wish-pill--still:hover { cursor: default; border-color: var(--w-line); color: var(--w-ink-2); }
.v5-wish-pill b { color: var(--w-ink); font-weight: 600; }

/* The discussion */
.v5-wish-talk { padding: 16px 20px 24px; background: var(--w-sub); }
.v5-wish-talk > h2 { margin-bottom: 10px; }
.v5-wish-talk > .v5-wish-empty { padding: 12px 0 0; }
.v5-wish-composer {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid var(--w-line);
  border-radius: 18px;
  background: var(--w-deep);
  color: var(--w-ink-3);
  font-size: 13px;
}
.v5-cmt-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 13px 0 6px; }
.v5-cmt-tools[hidden] { display: none; }
.v5-cmt-search { display: inline-flex; flex: 1 1 200px; max-width: 320px; }
.v5-cmt-search input {
  width: 100%;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid var(--w-line);
  border-radius: 999px;
  background: var(--w-deep);
  color: var(--w-ink);
  font: inherit;
  font-size: 12px;
}
.v5-cmt-search input::placeholder { color: var(--w-ink-3); }
.v5-cmt-none { margin: 8px 0; color: var(--w-ink-3); }
.v5-cmt-tree { display: grid; gap: 14px; margin-top: 14px; }
.v5-cmt-replies { display: grid; gap: 11px; margin: 11px 0 0 12px; padding-left: 14px; border-left: 1.5px solid var(--w-line); }
.v5-cmt[hidden] { display: none; }
.v5-cmt-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-height: 26px; font-size: 12px; cursor: pointer; list-style: none; }
.v5-cmt-meta::-webkit-details-marker { display: none; }
.v5-cmt-meta::after { content: "[−]"; font-family: var(--w-mono); font-size: 10.5px; color: var(--w-ink-3); }
.v5-cmt-fold:not([open]) > .v5-cmt-meta::after { content: "[+]"; }
.v5-cmt-avatar { display: inline-flex; width: 26px; height: 26px; border-radius: 50%; overflow: hidden; }
.v5-cmt-avatar svg { width: 26px; height: 26px; }
.v5-cmt-avatar--gone { background: var(--w-line); }
.v5-cmt-author { font-weight: 600; color: var(--w-ink); }
.v5-cmt-role { padding: 1px 6px; border: 1px solid; border-radius: 999px; font-family: var(--w-mono); font-size: 9.5px; font-weight: 600; }
.v5-cmt-role--wisher { color: var(--w-gold); background: var(--w-gold-bg); }
.v5-cmt-role--owner { color: var(--w-green); background: var(--w-green-bg); }
.v5-cmt-role--team { max-width: 32ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--w-blue); background: var(--w-blue-bg); }
.v5-cmt-age, .v5-cmt-power { font-family: var(--w-mono); font-size: 10.5px; color: var(--w-ink-3); }
.v5-cmt-body { margin: 3px 0 0 32px; max-width: 92ch; font-size: 13px; line-height: 1.52; color: var(--w-ink-2); overflow-wrap: anywhere; }
.v5-cmt-actions { margin: 5px 0 0 32px; display: flex; align-items: center; gap: 8px; }
.v5-cmt-more { margin-top: 14px; }
.v5-cmt-more a { color: var(--w-gold); }

/* Right column */
.v5-wish-right-top { padding: 11px 13px 10px; background: var(--w-head); border-bottom: 1px solid var(--w-line); }
.v5-wish-right-top h2 { margin-bottom: 8px; }
.v5-wish-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; padding: 3px; border: 1px solid var(--w-line); border-radius: 7px; background: var(--w-deep); }
.v5-wish-switch-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 30px;
  padding: 0 8px;
  border: 1px solid transparent;
  border-radius: 5px;
  color: var(--w-ink-3);
  font-size: 11.5px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.v5-wish-switch-btn:hover { color: var(--w-ink); }
.v5-wish-switch-btn.is-on { color: var(--w-gold); background: var(--w-gold-bg); border-color: var(--w-gold); }
.v5-wish-count { padding: 0 5px; border-radius: 999px; background: var(--w-sub); font-family: var(--w-mono); font-size: 10px; }
.v5-wish-side[hidden] { display: none; }
.v5-wish-chips, .v5-wish-teams-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 8px 13px;
  background: var(--w-sub);
  border-bottom: 1px solid var(--w-line);
}
.v5-wish-teams-bar { justify-content: space-between; font-family: var(--w-mono); font-size: 10.5px; color: var(--w-ink-3); }
.v5-wish-chip {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border: 1px solid var(--w-line);
  border-radius: 999px;
  background: var(--w-card);
  color: var(--w-ink-3);
  font-family: var(--w-mono);
  font-size: 10.5px;
  text-decoration: none;
}
.v5-wish-chip:hover { color: var(--w-ink); }
.v5-wish-chip.is-on { color: var(--w-gold); border-color: var(--w-gold); background: var(--w-gold-bg); }
.v5-wish-items { display: grid; gap: 9px; padding: 10px 12px; }
.v5-wish-item[hidden] { display: none; }
.v5-wish-item, .v5-wish-team { padding: 10px 11px; border: 1px solid var(--w-line); border-radius: 6px; background: var(--w-deep); }
.v5-wish-item-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 8px; margin-bottom: 5px; font-family: var(--w-mono); font-size: 10px; color: var(--w-ink-3); }
.v5-wish-kind { padding: 1px 6px; border: 1px solid; border-radius: 4px; font-size: 9.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; }
.v5-wish-kind--project { color: var(--w-blue); background: var(--w-blue-bg); }
.v5-wish-kind--forum { color: var(--w-violet); background: var(--w-violet-bg); }
.v5-wish-item-title { display: inline-flex; min-height: 24px; align-items: center; font-size: 12.5px; font-weight: 600; line-height: 1.32; color: var(--w-ink); text-decoration: none; overflow-wrap: anywhere; }
.v5-wish-item-title:hover { color: var(--w-gold); text-decoration: underline; }
.v5-wish-item-text { margin: 3px 0 7px; font-size: 11.5px; line-height: 1.42; color: var(--w-ink-2); overflow-wrap: anywhere; }
.v5-wish-item-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 8px; padding-top: 6px; border-top: 1px solid var(--w-line); font-family: var(--w-mono); font-size: 10px; color: var(--w-ink-3); }
.v5-wish-team--chosen { border-color: var(--w-gold); background: var(--w-gold-bg); }
.v5-wish-team--gone { opacity: 1; border-style: dashed; }
.v5-wish-team-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px; }
.v5-wish-team-state { font-family: var(--w-mono); font-size: 10px; color: var(--w-gold); }
.v5-wish-team-who { font-size: 11px; color: var(--w-ink-2); }
.v5-wish-offer { font-family: var(--w-mono); font-size: 10px; font-weight: 600; color: var(--w-ink); }
.v5-wish-team-bar { display: block; margin: 6px 0; border: 1px solid var(--w-line); border-radius: 3px; background: var(--w-card); fill: var(--w-gold); }
.v5-wish-team form { margin-top: 7px; }

/* What a wisher's own text and a post may hold: headings, lists (nested too), a
   quote, code and emphasis. A heading a wisher writes is a third-level one; code
   keeps its indentation and scrolls inside its block, never widening the page. */
.v5-wish-prose > :first-child { margin-top: 0; }
.v5-wish-prose > :last-child { margin-bottom: 0; }
.v5-wish-prose p, .v5-wish-prose ul, .v5-wish-prose ol, .v5-wish-prose blockquote, .v5-wish-prose pre { margin: 0 0 10px; }
.v5-wish-prose ul { padding-left: 1.3em; list-style: disc; }
.v5-wish-prose ol { padding-left: 1.5em; list-style: decimal; }
.v5-wish-prose :is(ul, ol) :is(ul, ol) { margin: 0.3em 0; }
.v5-wish-prose h3 { margin: 1.2em 0 0.4em; font-size: 1.12em; font-weight: 600; line-height: 1.3; color: var(--w-ink); }
.v5-wish-prose blockquote { padding: 0.1em 0 0.1em 1em; border-left: 2px solid var(--w-line-card); font-style: italic; color: var(--w-ink); }
.v5-wish-prose code { padding: 0.1em 0.35em; border-radius: 4px; background: rgba(0, 0, 0, 0.35); font-family: var(--w-mono); font-size: 0.88em; color: #F3E2B4; }
.v5-wish-prose pre { max-width: 100%; overflow-x: auto; padding: 10px 12px; border: 1px solid var(--w-line); border-radius: 6px; background: rgba(0, 0, 0, 0.38); line-height: 1.5; }
.v5-wish-prose pre code { padding: 0; background: none; font-size: inherit; color: #EEF0F4; }
.v5-wish-prose a { color: var(--w-gold); text-decoration: underline; text-underline-offset: 3px; }

/* On a phone the cover is a band, so that wanting the wish and its contract come soon. */
@media (max-width: 780px) {
  .v5-wish-cover { aspect-ratio: 16 / 9; }
}

/* On a phone one column, in the order a visitor needs it (the lead, 2026-11-19): the
   header, the cover with "I want this", the wish's text, the contract, the
   discussion, the connected things. The two wrappers of the left and middle columns
   give way, and each part is a card of its own. */
@media (max-width: 780px) {
  .v5-wish-cols { display: flex; flex-direction: column; align-items: stretch; gap: 10px; padding: 10px 10px 40px; }
  .v5-wish-left, .v5-wish-mid { display: contents; }
  .v5-wish-head, .v5-wish-glance, .v5-wish-contract, .v5-wish-pitch, .v5-wish-talk, .v5-wish-right {
    display: block;
    min-width: 0;
    margin: 0;
    border: 1px solid var(--w-line-card);
    border-radius: 6px;
    overflow: hidden;
  }
  .v5-wish-glance, .v5-wish-contract, .v5-wish-pitch { background: var(--w-card); }
  .v5-wish-talk { background: linear-gradient(var(--w-sub), var(--w-sub)), var(--w-card); }
  .v5-wish-head { order: 1; }
  .v5-wish-glance { order: 2; }
  .v5-wish-pitch { order: 3; }
  .v5-wish-contract { order: 4; }
  .v5-wish-talk { order: 5; }
  .v5-wish-right { order: 6; }
  .v5-wish-want { padding: 10px 14px 0; }
  .v5-wish-power { padding: 8px 14px 12px; }
}
