:root {
  color-scheme: light;
  --ink: #681849;
  --raspberry: #8b205f;
  --paper: #efc26b;
  --cream: #fff6dd;
  --rule: #8b205f55;
  font: 1rem/1.4 system-ui, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0;
  min-width: 260px;
  min-height: 100vh;
  color: var(--ink);
  background: radial-gradient(ellipse at 50% 0%, #582239, #321321 56rem);
}
button { font: inherit; cursor: pointer; }
button:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
button:disabled { opacity: .52; cursor: default; }
.stage {
  perspective: 1500px;
  display: grid;
  justify-items: center;
  align-content: start;
  padding: clamp(.75rem, 3vw, 2rem);
}
.sheet {
  width: min(100%, 43rem);
  border-radius: .8rem;
  overflow: hidden;
  box-shadow: 0 1.25rem 4rem #180810a3;
}
.sheet, .cover-entry {
  backface-visibility: hidden;
  transform-origin: 50% 15rem;
}
.cover {
  width: 100%;
  background: #e4b158;
}
.cover-entry {
  width: min(100%, 31rem, calc((100svh - 1.6rem) * 991 / 1500));
  min-width: min(100%, 15rem);
  display: grid;
  justify-items: center;
  gap: 1rem;
}
.cover img { display: block; width: 100%; height: auto; }
.cover-open {
  padding: .65rem 1.1rem;
  white-space: nowrap;
  color: var(--cream);
  background: var(--ink);
  border: 1px solid var(--cream);
  border-radius: 2rem;
  font-weight: 750;
}
.itinerary {
  padding: clamp(1rem, 5vw, 2.8rem);
  background: radial-gradient(ellipse at 8% 2%, #ffe19d, transparent 44%), linear-gradient(145deg, #efc270, #eab65d);
}
.topline, .reveal-summary, .clock {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .55rem;
}
.date-label {
  padding: .3rem .72rem;
  color: var(--cream);
  background: var(--raspberry);
  border-radius: 2rem;
  font-size: .875rem;
  font-weight: 800;
}
.quiet {
  color: inherit;
  border: 0;
  padding: .4rem 0 .4rem .3rem;
  background: transparent;
  text-decoration: underline;
  text-underline-offset: .24em;
  font-size: .9rem;
  font-weight: 700;
}
h1, h2 { font-family: Georgia, 'Times New Roman', serif; }
h1 {
  margin: 1.15rem 0 1.55rem;
  text-align: center;
  font-size: clamp(3rem, 12vw, 6rem);
  line-height: .97;
  letter-spacing: -.06em;
  color: var(--raspberry);
}
h1 span {
  display: block;
  margin-top: .38em;
  font-size: .43em;
  line-height: 1;
  letter-spacing: -.035em;
}
h1:focus { outline: none; }
.reveal-panel {
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: .65rem;
  padding: clamp(.85rem, 3vw, 1.25rem);
}
.summary-label, #progress, .clock {
  font-size: .875rem;
  font-weight: 750;
}
.countdown {
  font-size: clamp(1.3rem, 5vw, 1.75rem);
  font-weight: 850;
  font-variant-numeric: tabular-nums;
}
#progress {
  border: 1px solid var(--rule);
  border-radius: 2rem;
  padding: .3rem .65rem;
}
.reveal-note { margin: .65rem 0 .85rem; }
.clock {
  padding-top: .75rem;
  border-top: 1px solid var(--rule);
  font-variant-numeric: tabular-nums;
}
.full-reveal { margin-top: 1.65rem; }
.full-reveal label { display: block; margin-bottom: .35rem; font-weight: 750; }
.reveal-controls { display: flex; flex-wrap: wrap; gap: .55rem; }
.reveal-controls input, .reveal-controls button {
  min-height: 44px;
  padding: .55rem .8rem;
  border: 1px solid var(--ink);
  border-radius: .4rem;
  font: inherit;
}
.reveal-controls input {
  flex: 1 1 12rem;
  min-width: 0;
  color: var(--ink);
  background: white;
}
.reveal-controls button { color: var(--cream); background: var(--ink); font-weight: 750; }
#reveal-feedback { margin: .5rem 0 0; }
#reveal-feedback:empty { margin: 0; }
.cover-open:focus-visible { outline-color: var(--cream); }
.schedule section { margin-top: 1.65rem; }
h2 {
  margin: 0 0 .55rem;
  font-size: clamp(1.45rem, 5vw, 2.3rem);
  letter-spacing: -.03em;
  line-height: 1.1;
}
ul { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--rule); }
li {
  display: grid;
  grid-template-columns: minmax(4.5rem, 23%) 1fr;
  align-items: center;
  gap: .65rem;
  padding: .65rem 0;
  min-height: 3.4rem;
  border-bottom: 1px solid var(--rule);
}
li time { font-size: .9rem; font-weight: 750; white-space: nowrap; font-variant-numeric: tabular-nums; }
.activity { font-weight: 750; }
.locked { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .7rem; font-size: .875rem; }
.redaction {
  display: block;
  width: clamp(2.2rem, 12vw, 4.5rem);
  height: .7rem;
  border-radius: 1rem;
  background: repeating-linear-gradient(135deg, #8b205f77 0 4px, #8b205f38 4px 8px);
}
.uncovered { animation: uncover .55s ease-out; }
@keyframes uncover {
  from { opacity: .2; transform: translateX(.4rem); }
  to { opacity: 1; transform: translateX(0); }
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.noscript { text-align: center; color: var(--cream); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
}
