/* Day editorial strokes only. Keep structural rules and route arrows unchanged. */
.xb-day-hero-accent::after,
.xb-day-hero-message::after,
.xb-day-closing-title::after,
.xb-day-closing-words::after {
  height: clamp(4px, .15em, 9px);
  /* Broad, slightly irregular starting edge narrows to a fine rising tip. */
  clip-path: var(--xb-painted-underline);
}

/* Day handwritten typography. Font choice and metric tuning remain scoped here. */
.xb-day-hero, .xb-day-closing {
  --xb-day-font-script: "Nothing You Could Do", "Segoe Print", "Bradley Hand", cursive;
}
.xb-day-hero .xb-type-script, .xb-day-closing .xb-type-script {
  font-family: var(--xb-day-font-script);
}
.xb-day-hero:lang(zh) .xb-type-script, .xb-day-closing:lang(zh) .xb-type-script {
  font-family: var(--xb-day-font-script), "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
}
/* Wider glyphs need a metric adjustment; layout and rotations stay in the base CSS. */
.xb-day-hero:not(:lang(zh)) .xb-day-hero-accent {
  font-size: clamp(1.925rem, 3.36vw, 3.15rem);
  line-height: 1.1;
}
.xb-day-hero:not(:lang(zh)) .xb-day-hero-message {
  font-size: clamp(1.4rem, 2.31vw, 2.275rem);
  line-height: 1.1;
}
.xb-day-closing:not(:lang(zh)) .xb-day-closing-title {
  font-size: clamp(1.75rem, 2.52vw, 2.625rem);
  line-height: 1.1;
}
@media (max-width: 900px) {
  .xb-day-closing:not(:lang(zh)) .xb-day-closing-title { font-size: clamp(1.625rem, 4.2vw, 2.275rem); }
}
@media (max-width: 767px) {
  .xb-day-hero:not(:lang(zh)) .xb-day-hero-accent { font-size: clamp(1.925rem, 7.7vw, 2.8rem); }
  .xb-day-hero:not(:lang(zh)) .xb-day-hero-message { font-size: clamp(1.4rem, 5.25vw, 1.925rem); }
}
