:root {
  --courier-cap: #e2574c;
  --courier-cap-dark: #a8333a;
  --courier-cap-band: #fff4dc;
  --courier-cap-badge: #7fcf6a;
  --courier-bag: #c98a4b;
  --courier-bag-dark: #8e5a2c;
  --courier-strap: #7a4a26;
  --courier-buckle: #f6c453;
  --courier-pack: #5aa7e0;
  --courier-pack-dark: #2f6fa6;
  --courier-chute: #8fd16a;
  --courier-chute-dark: #4f9a3c;
  --courier-chute-vein: #e9ffd0;
  --courier-string: #f4ead6;
  --courier-bubble: #fffaf0;
  --courier-bubble-ring: #ffb347;
  --courier-glow: #fff1b8;
  --courier-tag-bg: var(--hud-label-bg);
  --courier-tag-ink: var(--ink);
  --courier-tag-line: var(--line);
  --courier-k: 0.92;
  --courier-sparrow-k: 1;
  --courier-snail-k: 0.92;
  --courier-bubble-r: 0.24;
  --courier-tag-fs: 11;
  --courier-tag-pad: 6;
  --courier-tag-h: 18;
  --courier-tag-gap: 0.06;
  --courier-tag-max: 12;
  --courier-tag-room: 44;
  --courier-hit: 48;
  --courier-sink: 0.16;
  --courier-apart-x: 1.3;
  --courier-apart-y: 2.1;
  --courier-half-w: 0.6;
  --courier-reach: 1.55;
  --courier-bob: 0.12;
  --t-courier-fly: 1.6s;
  --t-courier-drop: 3s;
  --t-courier-leave: 1.3s;
  --t-courier-fold: 0.5s;
  --t-courier-bob: 2.6s;
  --cv-art-w: 140px;
  --cv-art-h: 112px;
  --cv-sticker: 44px;
  --cv-from-bg: var(--surface-2);
  --fc-art-h: 96px;
  --iv-code-bg: var(--surface-2);
  --iv-code-line: var(--line-strong);
  --iv-code-border: 2px;
  --iv-code-fs: 1.7rem;
  --iv-code-track: 0.12em;
  --fg-hero-tree: 148px;
  --fg-hero-bg: linear-gradient(160deg, var(--accent-soft), var(--surface));
  --gv-av-w: 64px;
  --gv-name-w: 60px;
}

.cv-card,
.fc-card,
.iv-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--gap-s);
  text-align: center;
}

.cv-card h3,
.fc-card h3,
.iv-card h3 {
  margin: 0;
  font-size: var(--fs-xl);
  line-height: var(--lh-tight);
}

.cv-card p,
.fc-card p,
.iv-card p {
  margin: 0;
  color: var(--ink-soft);
}

.cv-art {
  width: var(--cv-art-w);
  height: var(--cv-art-h);
}

.fc-art {
  height: var(--fc-art-h);
}

.cv-from {
  display: inline-flex;
  align-items: center;
  gap: var(--gap-xs);
  max-width: 100%;
  padding: var(--sp-1) var(--sp-3) var(--sp-1) var(--sp-1);
  border-radius: var(--r-pill);
  background: var(--cv-from-bg);
  font-size: var(--fs-s);
}

.cv-from b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cv-sticker {
  font-size: var(--cv-sticker);
}

.cv-acts,
.fc-acts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--gap-s);
  width: 100%;
}

.fc-acts .btn {
  flex: 1 1 auto;
}

.fc-safe {
  display: inline-flex;
  align-items: center;
  gap: var(--gap-xs);
  color: var(--ink-faint);
  font-size: var(--fs-xs);
}

.iv-code {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--gap-xs) var(--gap-s);
  width: 100%;
  padding: var(--gap-s) var(--gap-m);
  border: var(--iv-code-border) dashed var(--iv-code-line);
  border-radius: var(--r-l);
  background: var(--iv-code-bg);
}

.iv-code small {
  flex-basis: 100%;
  color: var(--ink-soft);
}

.iv-code b {
  font-size: var(--iv-code-fs);
  letter-spacing: var(--iv-code-track);
}

.iv-stores {
  display: flex;
  flex-direction: column;
  gap: var(--gap-s);
  width: 100%;
}

.iv-store {
  justify-content: center;
  text-decoration: none;
}

.iv-hint {
  color: var(--ink-faint);
  font-size: var(--fs-xs);
}

.gv-friends {
  display: flex;
  flex-direction: column;
  gap: var(--gap-xs);
  margin-top: var(--gap-s);
  padding: var(--gap-s) var(--gap-m);
}

.gv-friends.is-empty {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--gap-s);
}

.gv-friends.is-empty .grow {
  display: flex;
  flex-direction: column;
  flex: 1 1 var(--row-text-min);
  min-width: 0;
}

.gv-friends.is-empty .gv-add {
  flex: none;
  margin-left: auto;
  white-space: nowrap;
}

.gv-friends.is-empty small {
  color: var(--ink-soft);
  font-size: var(--fs-xs);
}

.gv-f-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap-s);
}

.gv-f-head b {
  display: inline-flex;
  align-items: center;
  gap: var(--gap-xs);
  min-width: 0;
  font-size: var(--fs-s);
}

.gv-f-all {
  display: inline-flex;
  align-items: center;
  flex: none;
  gap: var(--sp-1);
  padding: var(--sp-1) 0 var(--sp-1) var(--sp-2);
  border: 0;
  background: none;
  color: var(--accent-ink);
  font: inherit;
  font-size: var(--fs-s);
  font-weight: var(--fw-x);
}

.gv-f-row {
  display: flex;
  gap: var(--gap-s);
}

.gv-f {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-1);
  width: var(--gv-av-w);
  padding: var(--sp-1) 0;
  border: 0;
  border-radius: var(--r-m);
  background: none;
  color: var(--ink);
  font: inherit;
}

.gv-f small {
  max-width: var(--gv-name-w);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: var(--fs-xs);
  font-weight: var(--fw-b);
}

.fg-hero {
  display: flex;
  align-items: center;
  gap: var(--gap-m);
  margin-bottom: var(--gap-m);
  background: var(--fg-hero-bg);
}

.fg-hero-tree {
  flex: none;
  width: var(--fg-hero-tree);
  height: var(--fg-hero-tree);
}

.fg-hero-txt {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--gap-xs);
  min-width: 0;
}

.fg-hero-txt small {
  color: var(--ink-soft);
}

.fg-hero-txt .fg-acc {
  justify-content: flex-start;
  margin-top: 0;
}

.fg-water {
  margin-top: var(--gap-xs);
}
