/* Welcome */
.logo-hero { display: block; width: 100%; aspect-ratio: 792 / 526; object-fit: cover; border-radius: var(--radius); background: var(--ipsen-navy); }
.form-bottom { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
.form-bottom .btn { margin-top: 2px; }

/* Question */
.topbar { display: flex; align-items: center; justify-content: space-between; min-height: 48px; }
.pillar-head { display: flex; align-items: center; gap: 14px; padding: 16px 0 20px; border-bottom: 1px solid var(--line); }
.pillar-head h1 { font-size: 24px; }
.question-form { flex: 1; display: flex; flex-direction: column; gap: 10px; padding-top: 22px; }
.question-text { font-size: 20px; line-height: 1.35; font-weight: 600; color: var(--ink); }
.question-form textarea { flex: 1; min-height: 140px; resize: none; line-height: 1.5; margin-top: 4px; }
.question-form .counter { margin-top: -4px; }

/* Passport */
.title-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.count { font-size: 15px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.count.done { color: var(--ink); }

/* Track: 4 pillars on a hairline, dashed at the end */
.track { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); --ring: 44px; }
.track::before, .track::after { content: ""; position: absolute; top: calc(var(--ring) / 2); height: 1px; }
.track::before { left: 12.5%; width: 75%; background: var(--accent); transform-origin: left; animation: draw .7s var(--ease) both; }
.track::after { left: 88%; right: -24px; background: repeating-linear-gradient(90deg, var(--accent) 0 6px, transparent 6px 11px); }
@keyframes draw { from { transform: scaleX(0); } to { transform: none; } }
.node { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.node .ring { width: var(--ring); height: var(--ring); }
.node.on .ring { background: var(--ink); color: #ffffff; }
.node.hidden-pillar .ring { border: 1px dashed var(--line-strong); background: var(--paper); color: var(--muted); }
.node .mystery { font-size: 15px; font-weight: 500; }
.node .slot { height: 12px; display: flex; align-items: center; }
.node .slot .star-svg { width: 12px; height: 12px; }
.node .lbl { font-size: 11px; font-weight: 600; line-height: 1.25; color: var(--ink); max-width: 80px; }
.node.hidden-pillar .lbl { font-weight: 500; color: var(--muted); }
.node .date { font-size: 11px; color: var(--muted); }
.node.fresh .ring { animation: stamp .5s var(--ease) .15s both; }
.node.fresh .slot .star-svg { animation: appear .4s var(--ease) .55s both; }
@keyframes stamp { from { transform: scale(1.25); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes appear { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }

.passport-bottom { margin-top: auto; display: flex; flex-direction: column; gap: 14px; }
.earned-card {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 26px 20px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); text-align: center;
  animation: rise .5s var(--ease) .2s both;
}
.earned-star .star-svg { width: 28px; height: 28px; }
.earned-name { font-size: 22px; font-weight: 700; letter-spacing: -.01em; color: var(--ink); }
.complete { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.complete-title { font-size: 22px; font-weight: 700; color: var(--ink); }
.complete .btn { margin-top: 16px; }
