
/* ---------- 信里的第二块：清单 ---------- */

.block {
  margin: 44px 0 0;
  padding-top: 30px;
  border-top: 1px solid rgba(120, 90, 70, 0.16);
}

.block-title {
  margin: 0 0 8px;
  font-family: var(--kai);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink);
}

.block-note {
  margin: 0 0 20px;
  font-family: var(--kai);
  font-size: 0.98rem;
  line-height: 1.9;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
}

.checklist {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.checklist li { border-bottom: 1px dotted rgba(120, 90, 70, 0.3); }

.check {
  position: relative;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 34px;
  align-items: start;
  gap: 12px;
  width: 100%;
  padding: 13px 2px;
  border: 0;
  background: none;
  font-family: var(--kai);
  font-size: 1.02rem;
  line-height: 1.75;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
  text-align: left;
  cursor: pointer;
  transition: color 0.35s ease;
  -webkit-tap-highlight-color: transparent;
}

.check:hover .check-text { color: var(--ink); }

.check:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 2px;
  border-radius: 3px;
}

.box {
  width: 22px;
  height: 22px;
  margin-top: 0.26em;
  display: grid;
  place-items: center;
  border: 1.5px solid rgba(110, 80, 64, 0.45);
  border-radius: 4px;
  transition: border-color 0.4s ease, background-color 0.4s ease;
}

.box svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--rose);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 26;
  stroke-dashoffset: 26;
  transition: stroke-dashoffset 0.5s ease 0.05s;
}

.check[aria-pressed="true"] .box {
  border-color: var(--rose);
  background-color: rgba(168, 84, 76, 0.08);
}

.check[aria-pressed="true"] .box svg { stroke-dashoffset: 0; }

.check[aria-pressed="true"] .check-text { color: var(--ink); }

.stamp {
  justify-self: end;
  width: 30px;
  height: 30px;
  margin-top: 0.05em;
  display: grid;
  place-items: center;
  border: 1.5px solid rgba(168, 84, 76, 0.7);
  border-radius: 50%;
  font-family: var(--kai);
  font-size: 0.8rem;
  color: var(--rose);
  opacity: 0;
  transform: rotate(-14deg) scale(0.55);
  transition: opacity 0.3s ease, transform 0.5s cubic-bezier(0.2, 1.4, 0.4, 1);
}

.check[aria-pressed="true"] .stamp {
  opacity: 0.85;
  transform: rotate(-14deg) scale(1);
}

.check-count {
  min-height: 1.6em;
  margin: 12px 0 0;
  font-family: var(--kai);
  font-size: 0.97rem;
  letter-spacing: 0.05em;
  color: var(--rose);
  transition: color 0.4s ease;
}

/* ---------- 兑换券 ---------- */

.ticket {
  position: relative;
  display: flex;
  margin: 24px 0 22px;
  background: #f8eeda;
  border-radius: 5px;
  transform: rotate(-0.7deg);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.75) inset,
    0 12px 22px -14px rgba(110, 72, 48, 0.6);
  overflow: hidden;
  transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.8s ease;
}

.ticket::before,
.ticket::after {
  content: "";
  position: absolute;
  left: 46px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--paper);
  z-index: 2;
}

.ticket::before { top: -7px; }
.ticket::after { bottom: -7px; }

.ticket-stub {
  flex: 0 0 54px;
  display: grid;
  place-items: center;
  padding: 20px 0;
  border-right: 1.5px dashed rgba(140, 100, 70, 0.45);
  writing-mode: vertical-rl;
  font-family: var(--kai);
  font-size: 0.98rem;
  letter-spacing: 0.34em;
  color: var(--rose-deep);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0));
}

.ticket-main {
  flex: 1 1 auto;
  min-width: 0;
  padding: 20px 18px 16px;
}

.ticket-label {
  margin: 0 0 6px;
  font-family: var(--kai);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  color: var(--ink-soft);
}

.ticket-main-line {
  margin: 0 0 10px;
  font-family: var(--kai);
  font-size: clamp(1.3rem, 5.6vw, 1.6rem);
  letter-spacing: 0.08em;
  color: var(--ink);
}

.ticket-fine {
  margin: 0;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
}

.ticket-no {
  position: absolute;
  right: 14px;
  bottom: 10px;
  margin: 0;
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  color: rgba(140, 100, 70, 0.6);
}

.ticket.is-kept {
  transform: rotate(-2.4deg) translateY(5px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.75) inset,
    0 18px 26px -16px rgba(110, 72, 48, 0.7);
}

.tear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 24px;
  border: 1px dashed rgba(140, 100, 70, 0.55);
  border-radius: 999px;
  background: transparent;
  font-family: var(--kai);
  font-size: 0.98rem;
  letter-spacing: 0.2em;
  color: var(--rose-deep);
  cursor: pointer;
  transition: background-color 0.4s ease, border-color 0.4s ease, color 0.4s ease;
}

.tear:hover { background-color: rgba(168, 84, 76, 0.08); border-color: var(--rose); }

.tear:focus-visible { outline: 2px solid var(--rose); outline-offset: 4px; }

.ticket-back {
  max-height: 0;
  margin: 0;
  overflow: hidden;
  opacity: 0;
  font-family: var(--kai);
  font-size: 1rem;
  letter-spacing: 0.06em;
  color: var(--rose-deep);
  transition: max-height 0.7s ease, opacity 0.7s ease, margin-top 0.7s ease;
}

.ticket-back.is-shown {
  max-height: 4em;
  margin-top: 16px;
  opacity: 1;
}

/* ---------- 落款 ---------- */

.sign {
  margin: 48px 0 0;
  padding-top: 24px;
  border-top: 1px solid rgba(120, 90, 70, 0.16);
  text-align: right;
  font-family: var(--kai);
}

.sign-name {
  margin: 0 0 6px;
  font-size: 1.24rem;
  letter-spacing: 0.14em;
  color: var(--rose-deep);
  transform: rotate(-1.4deg);
}

.sign-date {
  margin: 0;
  font-family: var(--sans);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  color: var(--ink-faint);
}

@media (max-width: 380px) {
  .check { grid-template-columns: 22px minmax(0, 1fr) 30px; gap: 10px; font-size: 0.98rem; }
  .ticket-stub { flex-basis: 46px; }
  .ticket::before, .ticket::after { left: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  .ticket, .check, .stamp, .box svg, .ticket-back { transition-duration: 0.01ms !important; }
}
