/* The share card. It is ordinary HTML and CSS, laid out at half (or a third)
   of the size of the picture and drawn enlarged by the canvas. */
/* #region card-css */
.card-face {
  box-sizing: border-box; margin: 0; width: var(--w, 600px); height: var(--h, 315px); max-width: none; flex: none;
  padding: 30px 34px 26px; display: flex; flex-direction: column; justify-content: space-between; gap: 12px;
  overflow: hidden; position: relative;
}
.card-face blockquote { margin: 0; line-height: 1.28; text-wrap: balance; overflow-wrap: anywhere; hanging-punctuation: first; }
.card-face figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font: 600 12px/1.3 system-ui, sans-serif; }
.card-face figcaption span { font-weight: 400; opacity: 0.7; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.card-face.paper { background: #fbf6ea; color: #1d1b16; font-family: Georgia, 'Times New Roman', serif; border: 10px solid #fff; outline: 1px solid #d9d2c2; outline-offset: -10px; }
.card-face.paper blockquote::before { content: '“'; display: block; font-size: 3.2em; line-height: 0.5; height: 0.42em; color: #d2491f; }
.card-face.paper em { color: #d2491f; }
.card-face.paper figcaption { border-top: 1px solid #d9d2c2; padding-top: 10px; }

.card-face.ink { background: #14161a; color: #f3f1ec; font-family: system-ui, sans-serif; font-weight: 700; letter-spacing: -0.01em; padding-left: 46px; }
.card-face.ink::before { content: ''; position: absolute; left: 22px; top: 30px; bottom: 26px; width: 6px; border-radius: 3px; background: linear-gradient(#ffb347, #ff5f6d); }
.card-face.ink em, .card-face.ink strong { font-style: normal; background: linear-gradient(90deg, #ffb347, #ff5f6d); -webkit-background-clip: text; background-clip: text; color: transparent; }
.card-face.ink figcaption { color: #a8a39a; }

.card-face.dawn { background: linear-gradient(135deg, #ff9a56 0%, #ff5f8f 55%, #7b5cff 100%); color: #fff; font-family: system-ui, sans-serif; font-weight: 600; padding: 22px; }
.card-face.dawn blockquote { background: rgb(255 255 255 / 0.16); border: 1px solid rgb(255 255 255 / 0.35); border-radius: 18px; padding: 20px 22px; flex: 1; display: flex; align-items: center; box-shadow: 0 10px 30px rgb(60 0 80 / 0.25); text-shadow: 0 1px 2px rgb(60 0 80 / 0.35); }
.card-face.dawn blockquote > span { display: block; }
.card-face.dawn em { font-style: normal; text-decoration: underline; text-decoration-thickness: 0.12em; text-underline-offset: 0.14em; }
/* #endregion card-css */
