/* =========================================================
   components.css — timeline, cards, modals, lists, badges.
========================================================= */

/* ── Auth screen — covers viewport, escapes shell layout ─ */
.auth-screen {
  position: fixed; inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg-0);
  z-index: 50;
  overflow-y: auto;
}
.auth-brand {
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(ellipse 540px 320px at 20% 30%, hsl(var(--hue), calc(var(--sat) + 6%), 76%, 0.4), transparent 62%),
    radial-gradient(ellipse 480px 320px at 80% 80%, rgba(167, 141, 188, 0.30), transparent 60%);
  padding: 60px;
}
.auth-tags {
  display: flex; flex-direction: column; gap: 16px;
  font-family: var(--font-serif);
  font-size: 26px;
  font-style: italic;
  color: var(--text-2);
}
.auth-tags span::before { content: '— '; color: var(--accent); }
.auth-form-wrap {
  display: flex; align-items: center; justify-content: center;
  padding: 40px;
}
.auth-box {
  width: 100%; max-width: 360px;
  display: flex; flex-direction: column; gap: 16px;
}
.auth-mark img { width: 64px; height: 64px; border-radius: 16px; }
.auth-sub { color: var(--text-3); font-size: 13px; margin: 4px 0 12px; }
.auth-form { display: flex; flex-direction: column; gap: 14px; }
.auth-error { color: #b6543f; font-size: 13px; margin: 0; }
@media (max-width: 880px) {
  .auth-screen { grid-template-columns: 1fr; }
  .auth-brand { padding: 32px; min-height: 200px; }
  .auth-tags { font-size: 20px; }
}

/* ── Home page ───────────────────────────────────────── */
.home-page {
  display: flex; flex-direction: column;
  gap: var(--gap);
}
.greeting-card {
  display: flex; flex-direction: column;
  gap: 4px;
  padding: 20px 24px;
  border-radius: var(--r-lg);
  background:
    radial-gradient(ellipse 600px 220px at 14% 0%, hsl(var(--hue), calc(var(--sat) + 6%), 92%, 0.6), transparent 60%),
    color-mix(in srgb, var(--bg-1) 80%, transparent);
  border: 1px solid var(--border);
}
.greeting-kicker {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--text-3);
  text-transform: uppercase;
}
.greeting-card h1 { font-weight: 600; margin: 6px 0 4px; }

/* Home learning overview */
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.section-kicker {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--text-3);
  text-transform: uppercase;
}
.section-head h2 { margin: 2px 0 0; }
.learning-panel,
.activity-panel {
  display: flex; flex-direction: column;
  gap: var(--gap);
  padding: 18px 20px;
  border-radius: var(--r-lg);
  background: color-mix(in srgb, var(--bg-1) 82%, transparent);
  border: 1px solid var(--border);
}
.learning-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
}
.home-metric {
  display: flex; flex-direction: column;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  background: var(--bg-2);
  border: 1px solid var(--border);
}
.home-metric-label,
.home-metric-sub {
  font-size: 12px;
  color: var(--text-3);
}
.home-metric-value {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 26px;
  color: var(--text-1);
  line-height: 1.1;
}
.learning-site-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px;
}
.learning-site-card {
  display: flex; flex-direction: column;
  gap: 3px;
  min-width: 0;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  background: var(--bg-2);
  border: 1px solid var(--border);
  color: var(--text-1);
}
.learning-site-card:hover { border-color: var(--border-accent); }
.learning-site-title { font-weight: 600; }
.learning-site-host,
.learning-site-meta {
  font-size: 12px;
  color: var(--text-3);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.home-activity-list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 6px;
}
.home-activity-row {
  display: grid;
  grid-template-columns: 58px 1fr 84px;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--border);
}
.home-activity-row:last-child { border-bottom: none; }
.home-activity-main {
  display: flex; flex-direction: column;
  min-width: 0;
}
.home-activity-main b,
.home-activity-main em {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.home-activity-main b { font-size: 14px; font-weight: 600; }
.home-activity-main em {
  font-style: normal;
  font-size: 12px;
  color: var(--text-3);
}
.home-activity-time {
  justify-self: end;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
}
@media (max-width: 600px) {
  .home-activity-row { grid-template-columns: 48px 1fr; }
  .home-activity-time { grid-column: 2; justify-self: start; }
}

/* ── Giverny Timeline ────────────────────────────────── */
.g-timeline {
  position: relative;
  display: flex; flex-direction: column;
  gap: 16px;
  padding: 22px clamp(18px, 3vw, 28px) 24px;
  border-radius: var(--r-lg);
  background:
    radial-gradient(ellipse 720px 360px at 14% -10%, hsl(var(--hue), calc(var(--sat) + 6%), 78%, 0.28), transparent 62%),
    radial-gradient(ellipse 600px 320px at 92% 8%, hsl(calc(var(--hue) + 36), calc(var(--sat) * 0.6), 75%, 0.22), transparent 60%),
    var(--bg-2);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
html[data-theme="dark"] .g-timeline {
  background:
    radial-gradient(ellipse 720px 360px at 14% -10%, hsl(var(--hue), 36%, 28%, 0.55), transparent 62%),
    radial-gradient(ellipse 600px 320px at 92% 8%, hsl(calc(var(--hue) + 36), 26%, 26%, 0.45), transparent 60%),
    var(--bg-2);
}

.g-timeline-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.g-timeline-title h2 {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 30px);
  color: var(--text-1);
}
.g-timeline-kicker {
  display: inline-block;
  margin-right: 8px;
  padding: 2px 10px;
  border-radius: var(--r-pill);
  background: hsl(var(--hue), var(--sat), 60%, 0.18);
  color: var(--accent);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.62em;
  letter-spacing: 0.06em;
  vertical-align: 0.2em;
}
.g-timeline-sub {
  margin: 4px 0 0;
  color: var(--text-3);
  font-size: 13px;
  font-family: var(--font-serif);
  font-style: italic;
}
.g-timeline-actions { display: flex; gap: 8px; }
.g-timeline-empty {
  margin: 0;
  font-style: italic;
  font-family: var(--font-serif);
  color: var(--text-3);
  text-align: center;
}

/* Focus */
.g-focus {
  padding: 18px 20px;
  border-radius: var(--r);
  background:
    radial-gradient(ellipse 480px 240px at 16% 0, hsl(var(--hue), calc(var(--sat) + 10%), 78%, 0.55), transparent 62%),
    linear-gradient(160deg, hsl(var(--hue), calc(var(--sat) + 4%), 96%) 0%, var(--bg-1) 100%);
  border: 1px solid var(--border-accent);
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform var(--dur), box-shadow var(--dur);
}
html[data-theme="dark"] .g-focus {
  background:
    radial-gradient(ellipse 480px 240px at 16% 0, hsl(var(--hue), 36%, 32%, 0.55), transparent 62%),
    linear-gradient(160deg, hsl(var(--hue), 22%, 22%) 0%, var(--bg-3) 100%);
}
.g-focus:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.g-focus-kicker {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--text-3);
}
.g-focus-title {
  margin: 4px 0 6px;
  font-size: clamp(20px, 2vw, 26px);
}
.g-focus-summary { margin: 0 0 10px; color: var(--text-2); font-size: 14px; line-height: 1.5; }
.g-focus-meta {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px;
  color: var(--text-3);
  font-family: var(--font-mono);
}
.g-focus-badge {
  padding: 2px 9px;
  border-radius: var(--r-pill);
  background: var(--accent);
  color: var(--accent-fg);
  font-family: var(--font);
  font-weight: 600;
}
.g-focus-action {
  margin-left: auto;
  color: var(--accent);
  font-family: var(--font);
  font-weight: 500;
}

/* Buckets */
.g-buckets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
@media (max-width: 880px) {
  .g-buckets { grid-template-columns: 1fr; gap: 10px; }
}
.g-bucket {
  display: flex; flex-direction: column; gap: 10px;
  padding: 14px;
  border-radius: var(--r);
  background: rgba(255, 251, 242, 0.55);
  border: 1px solid var(--border);
  min-height: 140px;
}
html[data-theme="dark"] .g-bucket { background: rgba(28, 37, 51, 0.55); }
.g-bucket-now {
  background:
    radial-gradient(ellipse 320px 160px at 18% 0, rgba(241, 194, 92, 0.32), transparent 64%),
    rgba(255, 251, 242, 0.55);
}
.g-bucket-next {
  background:
    radial-gradient(ellipse 320px 160px at 50% 0, rgba(94, 138, 168, 0.22), transparent 64%),
    rgba(255, 251, 242, 0.55);
}
.g-bucket-past {
  background:
    radial-gradient(ellipse 320px 160px at 82% 0, rgba(167, 141, 188, 0.24), transparent 64%),
    rgba(255, 251, 242, 0.55);
}
.g-bucket-head {
  display: flex; align-items: baseline; justify-content: space-between;
}
.g-bucket-count {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-3);
  padding: 2px 8px;
  border-radius: var(--r-pill);
  background: rgba(255, 251, 242, 0.7);
}
html[data-theme="dark"] .g-bucket-count { background: rgba(15, 22, 32, 0.55); }
.g-bucket-body { display: flex; flex-direction: column; gap: 10px; min-height: 60px; }
.g-bucket-empty {
  margin: 0;
  color: var(--text-3);
  font-size: 13px;
  font-style: italic;
  font-family: var(--font-serif);
}

/* Cards */
.g-card {
  position: relative;
  display: flex; flex-direction: column; gap: 6px;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  background: var(--bg-1);
  border: 1px solid transparent;
  box-shadow: 0 1px 2px rgba(46, 56, 73, 0.06);
  cursor: pointer;
  transition: transform var(--dur-fast), box-shadow var(--dur-fast), border-color var(--dur-fast);
}
html[data-theme="dark"] .g-card { background: var(--bg-2); }
.g-card:hover {
  transform: translateY(-1px);
  border-color: var(--border-accent);
  box-shadow: 0 6px 18px rgba(46, 56, 73, 0.10);
}
.g-card-now  { background: linear-gradient(160deg, rgba(241, 194, 92, 0.18), transparent 60%), var(--bg-1); }
.g-card-next { background: linear-gradient(160deg, rgba(94, 138, 168, 0.16), transparent 60%), var(--bg-1); }
.g-card-past { background: linear-gradient(160deg, rgba(167, 141, 188, 0.20), transparent 60%), var(--bg-1); opacity: 0.82; }
html[data-theme="dark"] .g-card-now  { background: linear-gradient(160deg, rgba(241, 194, 92, 0.15), transparent 60%), var(--bg-2); }
html[data-theme="dark"] .g-card-next { background: linear-gradient(160deg, rgba(94, 138, 168, 0.16), transparent 60%), var(--bg-2); }
html[data-theme="dark"] .g-card-past { background: linear-gradient(160deg, rgba(167, 141, 188, 0.18), transparent 60%), var(--bg-2); opacity: 0.78; }

.g-card-risk-med  { border-color: hsl(36, 55%, 64%, 0.55); }
.g-card-risk-high { border-color: hsl(8, 58%, 60%, 0.62); }

.g-card-head {
  display: flex; justify-content: space-between; align-items: center;
  gap: 8px;
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--text-3);
}
.g-badge {
  padding: 2px 8px;
  border-radius: var(--r-pill);
  background: rgba(94, 138, 168, 0.18);
  color: var(--text-2);
  font-family: var(--font);
  font-weight: 600;
  font-size: 11px;
}
.g-badge-task    { background: rgba(241, 194, 92, 0.30); color: #7a5722; }
.g-badge-lesson  { background: rgba(126, 157, 108, 0.30); color: #3f5a36; }
.g-badge-message { background: rgba(167, 141, 188, 0.30); color: #5a4275; }
.g-badge-event   { background: rgba(94, 138, 168, 0.26); color: #2f5879; }
.g-badge-form    { background: rgba(224, 168, 164, 0.36); color: #7a3b41; }
.g-badge-score   { background: rgba(241, 194, 92, 0.30); color: #6c4f1d; }
.g-badge-chat    { background: rgba(167, 141, 188, 0.36); color: #5a4275; }
.g-badge-leave   { background: rgba(126, 157, 108, 0.30); color: #3f5a36; }
.g-badge-exam    { background: rgba(94, 138, 168, 0.30); color: #2f5879; }
.g-badge-learning { background: rgba(94, 138, 168, 0.24); color: #315a78; }

html[data-theme="dark"] .g-badge { background: rgba(94, 138, 168, 0.32); color: var(--text-1); }

.g-card-title {
  margin: 2px 0 0;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 16px;
  color: var(--text-1);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.g-card-summary {
  margin: 0;
  color: var(--text-2);
  font-size: 13px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.g-card-chip {
  align-self: flex-start;
  margin-top: 4px;
  padding: 1px 8px;
  font-size: 11px;
  font-family: var(--font-mono);
  border-radius: var(--r-pill);
  background: rgba(94, 138, 168, 0.14);
  color: var(--text-3);
}
.g-empty { color: var(--text-3); font-style: italic; }

/* ── Metric row (used in seiue/today) ────────────────── */
.metric-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--gap);
  margin-bottom: var(--gap);
}
.metric-card {
  display: flex; flex-direction: column;
  padding: 14px 16px;
  border-radius: var(--r);
  background: var(--bg-2);
  border: 1px solid var(--border);
}
.metric-label {
  font-size: 12px;
  color: var(--text-3);
  font-family: var(--font-serif);
  font-style: italic;
}
.metric-value {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 28px;
  font-feature-settings: 'tnum';
  margin: 2px 0;
}
.metric-sub {
  font-size: 12px;
  color: var(--text-3);
}

/* ───── Modal overlay (notify / lesson / task / form / leave) ───── */
.modal-host {
  display: none;
  position: fixed; inset: 0;
  z-index: 200;
  align-items: center; justify-content: center;
  background: rgba(46, 56, 73, 0.42);
  backdrop-filter: blur(10px);
  padding: 18px;
}
.modal-host.open { display: flex; animation: modalIn var(--dur) var(--ease-out); }
@keyframes modalIn { from { opacity: 0 } to { opacity: 1 } }
.modal-shell {
  width: min(600px, 100%);
  max-height: 85vh;
  display: flex; flex-direction: column;
  background:
    radial-gradient(ellipse 520px 280px at 12% 0, hsl(var(--hue), calc(var(--sat) + 6%), 90%, 0.5), transparent 60%),
    var(--bg-1);
  border: 1px solid var(--border-accent);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  animation: modalShellIn var(--dur) var(--ease-spring);
}
@keyframes modalShellIn {
  from { transform: translateY(12px) scale(0.98); opacity: 0 }
  to   { transform: translateY(0) scale(1); opacity: 1 }
}
html[data-theme="dark"] .modal-shell {
  background:
    radial-gradient(ellipse 520px 280px at 12% 0, hsl(var(--hue), 36%, 30%, 0.5), transparent 60%),
    var(--bg-2);
}
.modal-sm { width: min(420px, 100%); }
.modal-md { width: min(600px, 100%); }
.modal-lg { width: min(760px, 100%); max-height: 88vh; }

.modal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
}
.modal-title {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 18px;
}
.modal-close {
  width: 30px; height: 30px;
  border-radius: var(--r-pill);
  background: rgba(94, 138, 168, 0.14);
  color: var(--text-2);
  cursor: pointer;
  font-size: 14px;
}
.modal-close:hover { background: var(--accent-soft); color: var(--text-1); }
.modal-body {
  flex: 1; overflow-y: auto;
  padding: 18px 20px;
}
.modal-foot {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 0 0;
  margin-top: 14px;
  border-top: 1px solid var(--border);
}
.modal-foot .btn-primary, .modal-foot .btn-soft { margin-left: 0; }
.modal-foot .btn-primary:last-child, .modal-foot .btn-soft:last-child {
  margin-left: 4px;
}
.modal-status {
  flex: 1;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-3);
}
.modal-status[data-tone="ok"]      { color: var(--giverny-leaf); }
.modal-status[data-tone="danger"]  { color: #b6543f; }
.modal-status[data-tone="muted"]   { color: var(--text-3); }
.modal-error { color: #b6543f; font-style: italic; font-family: var(--font-serif); }

/* form-runner field rendering */
.form-fields { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: 13px; color: var(--text-2); font-weight: 500; }
.form-label .req { color: #b6543f; margin-left: 4px; }
.form-options, .form-scale {
  display: flex; flex-wrap: wrap; gap: 8px 14px;
}
.form-radio, .form-scale-opt {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px;
  padding: 4px 10px;
  background: rgba(94, 138, 168, 0.10);
  border-radius: var(--r-pill);
  cursor: pointer;
}
.form-runner textarea, .form-runner input[type=text] {
  font: inherit;
}

/* notify compose */
.compose-form { display: flex; flex-direction: column; gap: 14px; }
.compose-form .field { display: flex; flex-direction: column; gap: 6px; }
.compose-form .field span { font-size: 13px; color: var(--text-2); font-weight: 500; }
.recvs {
  display: flex; flex-wrap: wrap; gap: 6px;
  padding: 10px;
  max-height: 160px; overflow-y: auto;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--bg-2);
}
.recv-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  font-size: 13px;
  background: rgba(94, 138, 168, 0.10);
  border-radius: var(--r-pill);
  cursor: pointer;
}
.compose-form details summary {
  cursor: pointer;
  font-size: 13px;
  color: var(--text-2);
  padding: 6px 0;
}
.mono { font-family: var(--font-mono); font-size: 12px; }
.small { font-size: 11px; }

/* lesson detail */
.lesson-detail { display: flex; flex-direction: column; gap: 18px; }
.lesson-head { display: flex; flex-direction: column; gap: 4px; }
.lesson-kicker {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--text-3);
}
.lesson-sub { font-family: var(--font-mono); font-size: 12px; color: var(--text-3); margin: 0; }
.lesson-sec { display: flex; flex-direction: column; gap: 6px; }
.lesson-sec h4 { font-size: 16px; }
.simple-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.simple-list li {
  display: flex; justify-content: space-between; align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--bg-2);
}
.simple-list li.clickable { cursor: pointer; transition: border-color var(--dur-fast); }
.simple-list li.clickable:hover { border-color: var(--border-accent); }

/* task detail */
.task-detail { display: flex; flex-direction: column; gap: 14px; }
.task-content {
  padding: 12px;
  background: var(--bg-2);
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  font-size: 14px;
  line-height: 1.55;
  max-height: 200px; overflow-y: auto;
}
.task-content p { margin: 0 0 8px; }
.task-submit-form { display: flex; flex-direction: column; gap: 12px; }
.task-submit-form .field { display: flex; flex-direction: column; gap: 6px; }
.task-submit-form .field span { font-size: 13px; color: var(--text-2); }
.task-submit-form input[type="file"],
.form-field input[type="file"] {
  width: 100%;
  padding: 9px 10px;
  border: 1px dashed var(--border);
  border-radius: var(--r-sm);
  background: var(--bg-2);
  color: var(--text-1);
}
.upload-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.upload-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 9px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--bg-2);
  font-size: 12px;
}
.upload-list li span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.upload-list li[data-tone="ok"] span:last-child { color: var(--giverny-leaf); }
.upload-list li[data-tone="danger"] span:last-child { color: #b6543f; }
.attachment-list a {
  overflow: hidden;
  color: var(--text-1);
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* leave form */
.leave-form { display: flex; flex-direction: column; gap: 14px; }
.leave-form .field { display: flex; flex-direction: column; gap: 6px; }
.leave-form .field span { font-size: 13px; color: var(--text-2); font-weight: 500; }
.task-submissions {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--border);
}
.task-submissions h4 {
  margin: 0 0 8px;
  font-size: 13px;
}

/* ── Auth wallpaper hero ── */
.auth-brand {
  position: relative;
  overflow: hidden;
  background:
    var(--wallpaper-url, linear-gradient(135deg, #aac8d6, #b69dca));
  background-size: cover;
  background-position: center;
}
.auth-brand::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 540px 320px at 20% 30%, hsl(var(--hue), calc(var(--sat) + 6%), 76%, 0.45), transparent 62%),
    linear-gradient(180deg, transparent 0%, rgba(46, 56, 73, 0.18) 100%);
  z-index: 0;
}
.auth-tags {
  position: relative; z-index: 1;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}
.auth-tags span::before { color: #f1c25c; }
.auth-caption {
  position: absolute;
  left: 32px; bottom: 28px;
  z-index: 2;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
  letter-spacing: 0.04em;
}
