@font-face {
  font-family: "Young Serif";
  src: url("/fonts/young-serif-latin.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}

:root {
  --fir: #123d2e;
  --fir-2: #1d5440;
  --frost: #eef3ef;
  --paper: #fbfcfa;
  --brick: #d6304a;
  --brick-dark: #b0213a;
  --gold: #e8b64c;
  --ink: #10201a;
  --muted: #4d6158;
  --line: #cfdbd3;
  --display: "Young Serif", Georgia, "Times New Roman", serif;
  --body:
    system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial,
    sans-serif;
  --r-door: 10px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
body {
  margin: 0;
  background: var(--frost);
  color: var(--ink);
  font: 1rem/1.55 var(--body);
  overflow-x: hidden;
}
img,
svg {
  max-width: 100%;
}
a {
  color: var(--fir-2);
  text-underline-offset: 2px;
}
a:hover {
  color: var(--brick-dark);
}
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.005em;
}
h1 {
  font-size: clamp(2rem, 6.5vw, 3.4rem);
}
h2 {
  font-size: clamp(1.5rem, 4.2vw, 2.1rem);
}
h3 {
  font-size: 1.15rem;
}
p {
  margin: 0 0 1em;
}
.skip {
  position: absolute;
  left: -999px;
  top: 0;
}
.skip:focus {
  left: 8px;
  top: 8px;
  background: #fff;
  padding: 8px 12px;
  z-index: 99;
}

/* ---------- Header / footer ---------- */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  max-width: 1120px;
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.1rem;
}
.brand span {
  white-space: nowrap;
}
.top nav {
  display: flex;
  gap: 14px;
  font-size: 0.92rem;
}
.top nav a {
  color: var(--ink);
  text-decoration: none;
}
.top nav a:hover {
  text-decoration: underline;
}
@media (max-width: 560px) {
  .top nav a:first-child {
    display: none;
  }
  .brand span {
    font-size: 1rem;
  }
}

.foot {
  background: var(--fir);
  color: #d9e6de;
  padding: 36px 16px 40px;
  margin-top: 64px;
}
.foot > * {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}
.foot a {
  color: #fff;
}
.foot-tag {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.foot-tag strong {
  font-family: var(--display);
  font-weight: 400;
  color: #fff;
}
.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 18px auto;
  font-size: 0.92rem;
}
.foot-small {
  font-size: 0.82rem;
  opacity: 0.8;
}

main {
  display: block;
}
section,
article {
  padding-left: 16px;
  padding-right: 16px;
}

/* ---------- Buttons & forms ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 2px solid transparent;
  font: 600 1rem/1.2 var(--body);
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  -webkit-tap-highlight-color: transparent;
}
.btn-main {
  background: var(--brick);
  color: #fff;
  box-shadow: 0 3px 0 var(--brick-dark);
}
.btn-main:hover {
  background: var(--brick-dark);
  color: #fff;
}
.btn-main:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 var(--brick-dark);
}
.btn-soft {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}
.btn-soft:hover {
  border-color: var(--fir-2);
  color: var(--ink);
}
.btn-ghost {
  background: transparent;
  color: inherit;
  border-color: currentColor;
}
.btn-link {
  background: none;
  border: 0;
  padding: 6px 0;
  min-height: 0;
  color: inherit;
  text-decoration: underline;
  font-weight: 500;
}
.btn-danger {
  background: #fff;
  color: var(--brick-dark);
  border-color: #efb7c1;
}
.btn[disabled] {
  opacity: 0.6;
  cursor: progress;
}
.btn-block {
  width: 100%;
}

.field {
  display: block;
  border: 0;
  padding: 0;
  margin: 0 0 16px;
  min-width: 0;
}
.field-label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  padding: 0;
}
.field-label small {
  font-weight: 400;
  color: var(--muted);
}
input[type="text"],
textarea,
select {
  width: 100%;
  font: inherit;
  font-size: max(16px, 1rem);
  color: var(--ink);
  padding: 12px 14px;
  border-radius: 12px;
  border: 2px solid var(--line);
  background: #fff;
}
input[type="text"]:focus,
textarea:focus,
select:focus {
  border-color: var(--fir-2);
  outline: none;
  box-shadow: 0 0 0 3px rgba(232, 182, 76, 0.45);
}
textarea {
  resize: vertical;
  min-height: 110px;
}
.form-error {
  color: var(--brick-dark);
  font-weight: 600;
  margin: 10px 0 0;
}
.form-ok {
  color: var(--fir-2);
  font-weight: 600;
  margin: 10px 0 0;
}
.fine {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 12px;
}
.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 4px 0 16px;
  cursor: pointer;
}
.check input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--fir-2);
  flex: none;
}

.styles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.style-opt {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 6px;
  border: 2px solid var(--line);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  text-align: center;
  font-size: 0.88rem;
}
.style-opt input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.style-opt:has(input:checked) {
  border-color: var(--fir);
  box-shadow: inset 0 0 0 1px var(--fir);
}
.style-opt:has(input:focus-visible) {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}
.swatch {
  display: flex;
  gap: 3px;
  padding: 6px;
  border-radius: 8px;
}
.swatch i {
  width: 12px;
  height: 14px;
  border-radius: 3px;
  display: block;
}
.sw-foret {
  background: #1b4a36;
}
.sw-foret i {
  background: #f3ead2;
}
.sw-foret i:nth-child(2) {
  background: #c9483a;
}
.sw-nuit {
  background: #172447;
}
.sw-nuit i {
  background: #e8e2cf;
}
.sw-nuit i:nth-child(2) {
  background: #e2b33f;
}
.sw-vin {
  background: #5b1729;
}
.sw-vin i {
  background: #f6e3cb;
}
.sw-vin i:nth-child(2) {
  background: #e0823a;
}
.style-name {
  font-weight: 600;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  cursor: pointer;
  padding: 16px 28px 16px 0;
  font-weight: 600;
  list-style: none;
  position: relative;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 12px;
  font: 1.5rem/1 var(--display);
  color: var(--brick);
}
.faq-item[open] summary::after {
  content: "–";
}
.faq-item p {
  color: var(--muted);
  padding-bottom: 6px;
}
.cta-end {
  background: var(--fir);
  color: #fff;
  border-radius: 24px;
  padding: 36px 22px;
  text-align: center;
  max-width: 1088px;
}
.cta-end p {
  color: #d9e6de;
  max-width: 52ch;
  margin: 0 auto 20px;
}

/* ---------- Narrow / prose ---------- */
.narrow {
  max-width: 560px;
  margin: 32px auto 0;
}
.center {
  text-align: center;
}
.prose {
  max-width: 720px;
  margin: 28px auto 0;
}
.prose h2 {
  margin-top: 1.6em;
}
.prose li {
  margin-bottom: 0.5em;
}
.prose .lead {
  max-width: none;
}
.prose-end {
  margin-top: 32px;
}
.tbl {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  font-size: 0.95rem;
}
.tbl th,
.tbl td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.code-form input {
  font-size: 1.3rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: ui-monospace, Menlo, monospace;
}

.banner {
  background: #fff7e0;
  border: 2px solid var(--gold);
  color: var(--ink);
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 0.93rem;
  margin: 0 auto 14px;
  max-width: 760px;
  text-align: left;
}
.banner strong {
  display: block;
}
.noscript {
  background: #fff;
  color: var(--ink);
  padding: 12px;
  border-radius: 12px;
}

/* ---------- Sheet (modal) ---------- */
.sheet-back {
  position: fixed;
  inset: 0;
  background: rgba(8, 20, 14, 0.55);
  z-index: 50;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  animation: fade 0.18s ease;
}
@media (min-width: 640px) {
  .sheet-back {
    align-items: center;
  }
}
.sheet {
  background: var(--paper);
  color: var(--ink);
  width: 100%;
  max-width: 520px;
  max-height: 92vh;
  max-height: 92dvh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 22px 22px 0 0;
  padding: 20px 18px calc(22px + env(safe-area-inset-bottom));
  animation: rise 0.22s ease;
}
@media (min-width: 640px) {
  .sheet {
    border-radius: 22px;
  }
}
@keyframes rise {
  from {
    transform: translateY(24px);
    opacity: 0.6;
  }
  to {
    transform: none;
    opacity: 1;
  }
}
@keyframes fade {
  from {
    opacity: 0;
  }
}
.sheet-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}
.sheet-head h2 {
  font-size: 1.5rem;
  margin: 0;
}
.sheet-x {
  background: #e7eee9;
  border: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  flex: none;
  color: var(--ink);
}
.sheet .muted {
  color: var(--muted);
}
.sheet-actions {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}
.sheet-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.sheet-row .btn {
  flex: 1 1 140px;
}
.stickers {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
}
.sticker {
  position: relative;
}
.sticker input {
  position: absolute;
  opacity: 0;
}
.sticker span {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  font-size: 1.6rem;
  border-radius: 12px;
  border: 2px solid var(--line);
  background: #fff;
  cursor: pointer;
}
.sticker input:checked + span {
  border-color: var(--fir);
  background: #e4f0e8;
  box-shadow: inset 0 0 0 1px var(--fir);
}
.sticker input:focus-visible + span {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}
.counter {
  text-align: right;
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: -10px;
  margin-bottom: 12px;
}
.counter.over {
  color: var(--brick-dark);
  font-weight: 700;
}
.note-card {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 22px 18px 18px;
  margin: 8px 0 4px;
  border: 2px solid var(--line);
  font-size: 1.12rem;
  line-height: 1.5;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.note-card .note-st {
  font-size: 2.4rem;
  position: absolute;
  top: -22px;
  right: 14px;
}
.note-from {
  margin-top: 12px;
  font-size: 0.95rem;
  color: var(--muted);
}
.note-card.reveal {
  animation: unwrap 0.5s cubic-bezier(0.2, 0.8, 0.2, 1.2);
}
@keyframes unwrap {
  from {
    transform: scale(0.85) rotate(-2deg);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}
.recovery {
  font:
    600 1.35rem/1.2 ui-monospace,
    Menlo,
    monospace;
  letter-spacing: 0.08em;
  background: #fff7e0;
  border: 2px dashed var(--gold);
  padding: 14px;
  border-radius: 12px;
  text-align: center;
  margin: 8px 0;
  user-select: all;
  -webkit-user-select: all;
}
.copy-field {
  display: flex;
  gap: 8px;
}
.copy-field input {
  flex: 1;
  min-width: 0;
  font-size: 0.95rem;
}
.story-img {
  display: block;
  width: 100%;
  max-width: 270px;
  margin: 6px auto 10px;
  border-radius: 14px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
}
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(20px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  background: var(--ink);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  z-index: 60;
  font-size: 0.95rem;
  animation: rise 0.2s ease;
  max-width: calc(100% - 32px);
  text-align: center;
}
.success-mark {
  font-size: 3rem;
  text-align: center;
  margin: 4px 0;
}
hr.sep {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 18px 0;
}
@font-face {
  font-family: Figtree;
  src: url("/fonts/figtree-400.woff2");
  font-weight: 400 500;
  font-display: swap;
}
@font-face {
  font-family: Figtree;
  src: url("/fonts/figtree-700.woff2");
  font-weight: 600 900;
  font-display: swap;
}
@font-face {
  font-family: Caveat;
  src: url("/fonts/caveat-700.woff2");
  font-weight: 400 900;
  font-display: swap;
}
:root {
  --paper: #fffbf3;
  --frost: #f9f3e8;
  --ink: #29233a;
  --muted: #665e68;
  --line: #dacdbd;
  --fir: #123831;
  --fir-2: #355c4e;
  --brick: #a63847;
  --brick-dark: #8a2e3a;
  --gold: #ffc771;
  --body: Figtree, system-ui, sans-serif;
  --ink-b: #393240;
  --roof: #495968;
  --roof-2: #34435b;
  --stone: #f6d6a7;
  --stone-2: #d3a67f;
  --shutter: #628778;
  --glass: #b59467;
  --lamp: #ffd78b;
  --sky1: #102e2b;
  --sky2: #30594e;
  --sky3: #9f9c78;
}
.theme-foret {
  --sky1: #183d3e;
  --sky2: #416862;
  --sky3: #b59879;
  --stone: #e3b48a;
  --stone-2: #bb8c67;
  --shutter: #994c44;
  --roof: #456159;
}
.theme-vin {
  --sky1: #462942;
  --sky2: #875367;
  --sky3: #d89c86;
  --stone: #ffe0b3;
  --shutter: #a5535b;
  --roof: #6d4650;
}
.theme-aurore {
  --sky1: #193453;
  --sky2: #397575;
  --sky3: #95bda2;
  --shutter: #528c82;
  --roof: #356071;
}
.theme-neige {
  --sky1: #475477;
  --sky2: #839eb8;
  --sky3: #efd2bb;
  --stone: #f4c5b6;
  --shutter: #8a7eaa;
  --roof: #78778d;
}
body {
  background: var(--frost);
}
[hidden] {
  display: none !important;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
.top {
  max-width: none;
  padding: 13px max(5vw, calc((100vw - 1160px) / 2));
  background: var(--sky1);
  border-bottom: 1px solid #ffffff24;
  color: #fff6e5;
}
.brand,
.top nav a,
.foot a.brand {
  color: #fff6e5;
}
.brand {
  font-size: 1.12rem;
  line-height: 1.02;
  letter-spacing: -0.025em;
}
.brand span {
  white-space: normal;
}
.brand svg {
  width: 37px;
  height: 41px;
}
.top nav {
  gap: clamp(12px, 3vw, 40px);
  align-items: center;
}
.top-help span:first-child {
  border: 1px solid #ffffff75;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  margin-right: 5px;
}
.sky {
  position: relative;
  isolation: isolate;
  color: #fff9e9;
  background: linear-gradient(
    172deg,
    var(--sky1) 10%,
    var(--sky2) 66%,
    var(--sky3)
  );
  overflow: hidden;
}
.sky:after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto 0 -1px;
  height: clamp(110px, 16.32vw, 300px);
  background: linear-gradient(transparent,#14382c70);
  pointer-events: none;
}
.stars {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image:
    radial-gradient(1.3px 1.3px at 17px 23px, #fff9e6 95%, transparent),
    radial-gradient(1px 1px at 69px 81px, #fff8 95%, transparent),
    radial-gradient(1.5px 1.5px at 101px 6px, #fff8 95%, transparent);
  background-size:
    159px 149px,
    119px 83px,
    237px 211px;
  pointer-events: none;
}
.stars:after {
  content: "✧";
  position: absolute;
  left: 7%;
  top: 28%;
  color: #ffdb9d;
  font-size: 21px;
  text-shadow:
    31vw -50px #ffe9be,
    55vw 28px #ffda9b,
    82vw -22px #ffdf9c;
  animation: twinkle 5s ease-in-out infinite alternate;
}
@keyframes twinkle {
  to {
    opacity: 0.35;
  }
}
.moon {
  position: absolute;
  right: 8%;
  top: 26px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff3cc, #fbd7a4);
  box-shadow:
    0 0 0 8px #ffeecc0d,
    0 0 0 18px #ffeecc08,
    0 0 55px #efcaa644;
  z-index: -1;
}
.hero {
  max-width: 1180px;
  padding: 55px 42px 98px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "copy art" "form art";
  gap: 18px 7%;
  align-items: center;
}
.hero-copy {
  grid-area: copy;
}
.hero-copy h1 {
  font-size: clamp(2.9rem, 4.55vw, 4.1rem);
  line-height: 1.03;
  letter-spacing: -0.048em;
  margin: 0 0 18px;
}
.hero h1 em {
  display: inline-block;
  color: #ffd497;
  font:
    700 1.13em/0.8 Caveat,
    cursive;
  letter-spacing: -0.045em;
}
.lead {
  font-size: 1.1rem;
  line-height: 1.5;
  color: var(--muted);
}
.hero .lead {
  max-width: 43ch;
  margin: 0;
  color: #f6e8e1;
}
.hero-form {
  grid-area: form;
}
.hero-bldg {
  grid-area: art;
  align-self: center;
  position: relative;
}
.demo-bubble {
  text-align: center;
  color: #fffbe9;
  margin: 12px auto 0;
  border-radius: 16px;
  background: #163c32f2;
  width: fit-content;
  padding: 5px 12px;
  font:
    700 1.08rem Caveat,
    cursive;
}
.card-create,
.talk-form,
.contact-form,
.code-form {
  padding: 22px;
  border-radius: 18px;
  border: 1px solid #d6c5ae;
  background: var(--paper);
  color: var(--ink);
  box-shadow:
    0 6px 0 #31283c1c,
    0 15px 42px #30253815;
}
.btn {
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 10px;
  transition:
    transform 0.15s,
    filter 0.15s;
  line-height: 1.25;
}
.btn:active {
  transform: translateY(2px);
}
.btn-gold,
.btn-main {
  color: #fff9ed;
  background: #a32f42;
  border-color: #922a3b;
  box-shadow: inset 0 1px #da8081, 0 3px 0 #722939;
}
.btn-gold:hover,
.btn-main:hover {
  color: #fff9ed;
  background: #8c273a;
}
.btn-light {
  background: #f9ecda;
  color: #322a39;
}
.btn-ghost {
  border: 1px solid #aa94a2;
}
.step {
  display: none;
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
.step.is-on {
  display: block;
}
.dots {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
  gap: 4px;
}
.dots li {
  width: 22px;
  height: 3px;
  border-radius: 4px;
  background: #e5d8ca;
}
.dots .on {
  background: #9d4b55;
}
.step-q {
  font: 1.13rem var(--display);
  padding: 0;
  margin-bottom: 12px;
}
.step-n {
  font: 700 0.72rem var(--body);
  color: #834751;
  margin-right: 5px;
}
.create input[name="name"] {
  margin: 0 0 10px;
}
.field-err {
  font-size: 0.9rem;
  color: #973243;
}
.step-nav,
.code-row,
.talk-row,
.cal-actions,
.choices {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.step-nav {
  margin-top: 14px;
}
.btn-grow,
.step-nav .btn-gold {
  flex: 1;
}
.ambs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 5px;
}
.amb {
  position: relative;
  text-align: center;
  cursor: pointer;
  line-height: 1.1;
}
.amb input {
  position: absolute;
  opacity: 0;
}
.amb-card {
  display: grid;
  align-content: end;
  justify-items: center;
  height: 44px;
  border: 3px solid transparent;
  border-radius: 7px;
  background: linear-gradient(var(--sky1), var(--sky2));
  overflow: hidden;
}
.amb input:checked + .amb-card {
  outline: 2px solid #9d4b55;
  outline-offset: 1px;
}
.amb input:focus-visible + .amb-card {
  outline: 3px solid #a06713;
}
.amb-name {
  display: block;
  font-size: 0.72rem;
  margin-top: 6px;
}
.code-inline {
  margin-top: 16px;
}
.code-inline label {
  font-size: 0.91rem;
  font-weight: 600;
}
.code-row {
  margin-top: 5px;
  flex-wrap: nowrap;
}
.code-row input {
  min-width: 0;
}
.code-row input,
.code-row button {
  height: 44px;
  padding-block: 6px;
}
.code-row input {
  background: #fff9ed;
}
.welcome {
  padding: 14px;
  margin-bottom: 12px;
  background: var(--paper);
  color: var(--ink);
  border-radius: 12px;
}
.welcome summary {
  cursor: pointer;
  font-weight: 700;
}
.st {
  width: 44px;
  height: 44px;
}
.wrap {
  max-width: 1100px;
  margin: auto;
}
.wrap-text {
  max-width: 720px;
}
.sec {
  padding: clamp(44px, 7vw, 90px) max(5vw, 18px);
  margin: 0;
}
.sec h2,
.page-paper h1 {
  letter-spacing: -0.045em;
}
.sec h2 {
  font-size: clamp(1.9rem, 3.7vw, 3.25rem);
}
.sec-lead {
  color: var(--muted);
  max-width: 55ch;
}
.how-steps,
.feat-list,
.idea-cards {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 22px;
  margin: 22px 0 0;
}
.how-steps,
.idea-cards {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.how-steps li {
  position: relative;
}
.how-steps h3,
.idea-t {
  font: 1.25rem/1.15 var(--display);
  margin: 16px 0 7px;
}
.how-steps li > p,
.feat-list p {
  color: var(--muted);
}
.how-vg {
  height: 150px;
  border: 1px solid #d3c4b0;
  border-radius: 60px 60px 9px 9px;
  overflow: hidden;
  background: #e9d2ba;
}
.vg {
  height: 100%;
  position: relative;
  display: grid;
  place-content: center;
  padding: 10px;
}
.vg-st {
  width: 64px;
  height: 64px;
  position: absolute;
  right: 9%;
  bottom: 10%;
  transform: rotate(8deg);
}
.vg-create {
  background: #dad8ce;
}
.vg-sign,
.vg-input,
.bub,
.paper {
  background: #fff8ea;
  border: 1px solid #bdac96;
  border-radius: 6px;
  padding: 5px 12px;
}
.vg-input {
  transform: rotate(-8deg);
  font: 1.3rem Caveat;
}
.vg-sign {
  transform: rotate(4deg);
  background: #34565c;
  color: #f8d6a8;
  font: 1.4rem Caveat;
}
.vg-share {
  background: #decbd4;
}
.bub {
  font-size: 0.72rem;
  width: fit-content;
}
.bub-2 {
  margin: -1px 0 0 16px;
  background: #4d4c6b;
  color: white;
}
.bub-3 {
  margin-left: 24px;
}
.paper {
  font: 1.35rem/1.1 Caveat;
  transform: rotate(-5deg);
  max-width: 150px;
}
.paper b {
  display: block;
}
.vg-open {
  background: #cbd9d7;
}
.mini-win {
  width: 70px;
  height: 83px;
  background: linear-gradient(90deg, #667c86 20%, #fbd998 21% 79%, #667c86 80%);
  border: 3px double #5f6675;
  border-radius: 24px 24px 2px 2px;
}
.vg-open .vg-st {
  right: 32%;
  bottom: 25%;
}
.how-n {
  position: absolute;
  top: 120px;
  left: 12px;
  background: #faf5e8;
  border: 1px solid #bdac96;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  text-align: center;
  font: 1rem/24px var(--display);
}
.feats,
.faq {
  background: #eee5d8;
}
.feat-list {
  grid-template-columns: repeat(3, 1fr);
}
.feat-list li {
  display: flex;
  gap: 12px;
}
.feat-st,
.idea-st {
  width: 55px;
  height: 55px;
  flex: none;
}
.idea-cards li {
  background: #fff9ea;
  border: 1px solid #d6c6b0;
  border-radius: 3px;
  box-shadow: 1px 4px 0 #d4c7b6;
  padding: 20px;
}
.idea-q {
  font: 1.35rem Caveat;
}
.ideas .center {
  margin: 26px auto 0;
}
.about {
  background: #ece2d5;
}
.cta-end {
  background: none;
  margin: 0 auto;
  padding: 70px 20px 115px;
}
.sky-cta:after {
  height: 90px;
}
.foot {
  margin: 0;
  padding: 40px 6vw;
  color: #e2d8cd;
}
.foot-brand {
  max-width: 400px;
}
.foot-brand p {
  margin-top: 18px;
}
.foot nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.foot-cols a {
  display: block;
  padding: 3px 0;
  text-decoration: none;
}
.foot-h {
  color: #ffc881;
  font-weight: 700;
}
.foot-small {
  margin: 24px 0 0;
  border-top: 1px solid #ffffff35;
  padding-top: 18px;
}
.hp {
  position: absolute;
  left: -10000px;
}
.talk-row .fine {
  flex: 1;
  margin: 0;
}
.talk-form,
.contact-form {
  margin: 14px 0 24px;
}
.talk-list article,
.tickets li {
  padding: 16px 0;
  border-top: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.talk-list article article {
  padding: 13px 0 0 18px;
  margin-top: 13px;
  border-left: 2px solid var(--line);
}
.talk-list p {
  margin: 7px 0;
  white-space: pre-wrap;
}
.talk-list button {
  margin-right: 15px;
}
.tickets ul {
  list-style: none;
  padding: 0;
}
.sky-thin {
  height: 44px;
}
.sky-thin .moon,
.sky-thin:after {
  display: none;
}
.page-paper {
  padding: 24px 0 65px;
  min-height: 52vh;
}
.page-paper section section {
  padding: 0;
}
.h-st {
  height: 1.3em;
  width: 1.3em;
  vertical-align: middle;
  margin-right: 0.3em;
}
.code-page,
.lost {
  text-align: center;
}
.code-form {
  text-align: left;
}
.plaque-big {
  font: 1.5rem var(--display);
  color: white;
  background: #475477;
  border: 3px double #fff4db;
  border-radius: 9px;
  width: fit-content;
  padding: 6px 20px;
  margin: 0 auto 20px;
  transform: rotate(-4deg);
}
.lost-win {
  width: 90px;
  margin: 0 auto 16px;
}
.cal {
  max-width: 690px;
  margin: auto;
  text-align: center;
  padding: 15px 16px 85px;
}
.cal-bar a {
  color: white;
  font-size: 0.9rem;
}
.cal-title {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  margin: 12px 0 5px;
}
.nm {
  color: #ffda9d;
}
.cal-sub {
  margin: 0;
}
.cal-count {
  font: 700 1.25rem Caveat;
  color: #ffdfab;
  margin: 0;
}
.cal-stage {
  position: relative;
  margin: 12px auto 0;
  max-width: 380px;
}
.sound-btn {
  background: #1b4036;
  color: #fff8e9;
  border: 1px solid #fff7;
  border-radius: 8px;
  padding: 4px 10px;
  margin-top: 8px;
}
.panel {
  max-width: 660px;
  margin: 0 auto;
  padding: 16px 18px 42px;
  text-align: center;
}
.cal-actions {
  justify-content: center;
}
.cal-actions .btn:first-child {
  flex-basis: 100%;
}
.panel details {
  text-align: left;
  padding: 12px;
  background: #fff9ed;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin: 15px auto;
}
.panel summary {
  cursor: pointer;
}
.cal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
}
.code-pill {
  color: #33223f;
  background: #eadacf;
}
.sheet-back {
  background: #18192cb8;
}
.sheet {
  border: 1px solid #dfd1be;
}
.sheet-head {
  align-items: center;
}
.sheet-x {
  background: #eee3d4;
}
.note-card,
.lined {
  background:
    repeating-linear-gradient(transparent 0 calc(1lh - 1px), #e3d9cf 1lh), #fff9e9;
}
textarea.lined {
  background-color: #fff9e9;
  font: 400 max(16px, 1.0625rem)/1.65 var(--body);
}
.note-card {
  font: 700 1.5rem/1.35 Caveat, cursive;
  margin: 17px 0 12px;
  border: 1px solid #d5c6ad;
  box-shadow: 1px 3px 0 #d0bea6;
  padding-right: 42px;
  padding-bottom: 23px;
}
.note-card::after {
  content: "";
  position: absolute;
  inset: auto 12px 6px;
  height: 3px;
  border-radius: 3px;
  opacity: .78;
  background: repeating-linear-gradient(125deg, #984354 0 8px, transparent 8px 13px, #426957 13px 21px, transparent 21px 27px);
}
.note-from {
  font: 700 1.2rem Caveat;
}
.note-st .st {
  width: 54px;
  height: 54px;
}
.counter {
  margin-top: 0;
}
.stickers .st {
  width: 95%;
  height: 95%;
}
.fill-actions {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 14px;
}
.form-steps {
  font-size: 0.85rem;
  font-weight: 700;
  color: #804049;
}
.game-box {
  position: relative;
  max-width: 360px;
  margin: 16px auto;
}
.game-box canvas {
  display: block;
  width: 100%;
  height: auto;
  background: linear-gradient(#26243f, #5b5276);
  border-radius: 18px;
  touch-action: none;
}
.game-over {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 8px;
  color: white;
  text-align: center;
  background: #302742bb;
  border-radius: 18px;
}
.game-score {
  font: 1.5rem var(--display);
}
.game-over p {
  margin: 0;
}
.progress-line {
  display: block;
  max-width: 230px;
  width: 75%;
  height: 5px;
  accent-color: #ffca73;
  margin: 8px auto 0;
}
@media (max-width: 760px) {
  .top {
    padding: 9px 16px;
  }
  .top nav .hide-sm,
  .hide-xs {
    display: none;
  }
  .top nav {
    gap: 14px;
  }
  .top a.top-help {
    display: inline-block;
  }
  .hero {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 22px 16px 65px;
  }
  .hero-copy {
    text-align: center;
  }
  .hero-copy h1 {
    font-size: clamp(2rem, 8vw, 3.4rem);
    margin-bottom: 8px;
  }
  .hero-copy h1 br {
    display: none;
  }
  .hero .lead {
    font-size: 1rem;
    max-width: 35ch;
    line-height: 1.3;
    margin: auto;
  }
  .hero-form {
    width: min(100%, 460px);
  }
  .hero-bldg {
    width: min(70vw, 310px);
  }
  .hero-bldg .floor {
    padding-block: 2px 1px;
  }
  .hero-bldg .tag {
    display: none;
  }
  .demo-bubble {
    font-size: 0.96rem;
    line-height: 1.1;
    white-space: normal;
    margin-top: 6px;
  }
  .moon {
    width: 32px;
    height: 32px;
    top: 24%;
    right: 7%;
  }
  .card-create {
    padding: 14px 16px;
  }
  .code-inline {
    padding: 10px;
    background: #183b32e8;
    border-radius: 12px;
    margin-top: 10px;
  }
  .hero .welcome {
    margin: 5px 0;
  }
  .sky:after {
    height: 110px;
  }
  .how-steps,
  .feat-list,
  .idea-cards,
  .foot nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  .how-vg {
    height: 125px;
  }
  .how-n {
    top: 98px;
  }
  .feat-list {
    grid-template-columns: 1fr;
  }
  .how-steps p {
    font-size: 0.92rem;
  }
  .idea-cards li {
    padding: 12px;
  }
  .foot {
    padding-inline: 18px;
  }
  .cal {
    padding-bottom: 52px;
  }
  .cal-stage {
    max-width: 335px;
  }
  .cal-stage .win {
    min-height: 44px;
  }
  .cal-stage .tag {
    font-size: 9px;
  }
  .sky-thin {
    height: 18px;
  }
  .panel {
    padding-top: 10px;
  }
  .foot a {
    overflow-wrap: anywhere;
  }
  .ambs {
    gap: 7px;
  }
  .sheet {
    max-height: 91dvh;
  }
  .sec {
    scroll-margin-top: 6px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}
.game-tiles,
.catch-field {
  min-height: 230px;
  padding: 14px;
  background: linear-gradient(145deg, #1d483c, #12352d);
  border-radius: 14px;
  margin: 12px 0;
}
.game-tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.game-tiles button {
  display: grid;
  place-items: center;
  min-width: 0;
  padding: 4px;
  border: 1px solid #e5bd83;
  box-shadow: inset 0 0 0 3px #8d3945, inset 0 0 0 4px #ba7c75;
  background: #8d3945;
  color: #fff8da;
  border-radius: 14px 14px 4px 4px;
  font: 1.3rem var(--display);
  min-height: 52px;
}
.game-tiles button:disabled,
.game-tiles button.lit {
  box-shadow: inset 0 0 0 3px #f3e5d1;
  background: #fff3db;
  color: #3b3541;
}
.catch-field {
  position: relative;
  height: 340px;
  touch-action: none;
  overflow: hidden;
}
.mitt,
.flake {
  position: absolute;
  transform: translateX(-50%);
  font-size: 32px;
}
.mitt {
  bottom: 1%;
}
.opening:after {
  content: "✧　✶　✧";
  position: absolute;
  z-index: 2;
  white-space: nowrap;
  left: 50%;
  color: #fff2ab;
  animation: scatter 0.66s ease-out both;
  pointer-events: none;
}
@keyframes scatter {
  from {
    opacity: 0;
    transform: translate(-50%, 0) scale(0.3);
  }
  35% {
    opacity: 1;
  }
  to {
    opacity: 0;
    transform: translate(-50%, -135%) scale(1.4);
  }
}

.sw-aurore {
  background: #32636b;
}
.sw-neige {
  background: #867e9c;
}
.sw-aurore i,
.sw-neige i {
  background: #ffe1b0;
}
.sw-aurore i:nth-child(2) {
  background: #80b29b;
}
.sw-neige i:nth-child(2) {
  background: #e3a5a1;
}
input[type=password]{display:block;width:100%;font:inherit;font-size:max(16px, 1rem);background:white;color:var(--ink);border:2px solid var(--line);padding:12px;border-radius:10px}
.custom-pass{font-size:.92rem}.custom-pass summary{cursor:pointer}.custom-pass label{padding-top:8px}
.game h1 {
  line-height: 1.18;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.game select { text-overflow: ellipsis; }
.game .choices { gap: 12px; }
#game-result:not(:empty) {
  margin-block: 1rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.word-game {
  margin-block: 1rem;
  background: #f4e7cf;
  border-radius: 16px;
  padding: clamp(14px, 4vw, 24px);
}
.word-game strong {
  display: block;
  font: 1.5rem/1.4 var(--display);
  letter-spacing: .12em;
  overflow-wrap: anywhere;
  color: #315746;
  margin-bottom: 1rem;
}
.falling-ball{position:absolute;top:0;border:2px solid white;background:#d5edf4;color:#354665;border-radius:50%;width:52px;height:52px;font-size:27px;animation:fall-ball 2.1s linear forwards}@keyframes fall-ball{to{top:85%}}

/* Evergreen branches frame the album. */
.sky-home::before, .sky-cal::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -10px;
  right: 0;
  width: clamp(140px, 16vw, 270px);
  aspect-ratio: 260 / 152;
  background: url("/branches-de-noel.svg") right top / contain no-repeat;
  pointer-events: none;
}
.sky-home .moon, .sky-cal .moon { right: 20%; top: 5%; }
.hero-form .card-create {
  border-top: 3px solid #cfaf76;
  box-shadow: 0 5px 0 #21392d3b, 0 14px 40px #15261d29;
}
@media (max-width: 760px) {
  .sky-home::before, .sky-cal::before { width: 103px; top: -14px; right: -23px; opacity: .95; }
  .sky-home::before { width: 86px; right: -29px; }
  .sky-home .moon { top: 25%; right: 6%; }
  .sky-cal .moon { right: 6%; top: 19%; }
  .cal-stage .street-tree { width: 22%; right: -6%; }
  .cal-stage .street-post { width: 15%; left: -5%; }
}

/* Help, calendar lookup and articles share a measure and a reading rhythm. */
.page-paper > .reading {
  padding-inline: clamp(18px, 5vw, 32px);
  margin-block-start: clamp(12px, 2.5vw, 36px);
  font-size: 1rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.reading > h1 {
  font-size: clamp(1.875rem, 1.57rem + 1.6vw, 3rem);
  line-height: 1.16;
  letter-spacing: -.035em;
  text-wrap: balance;
  hyphens: auto;
}
.reading > h1,
.reading > h2,
.reading .help-write > h2 {
  color: var(--fir);
}
.reading > .lead {
  margin-block-end: 1.5rem;
  font-size: clamp(1rem, .97rem + .2vw, 1.125rem);
  line-height: 1.55;
}
.reading > h2,
.reading :is(.help-write, .tickets, .tips, .log, .idea-group) > h2 {
  margin-block: 1.6em .55em;
  font-size: clamp(1.375rem, 1.21rem + .72vw, 1.8rem);
  line-height: 1.22;
  letter-spacing: -.022em;
  text-wrap: balance;
  hyphens: auto;
}
.reading :is(.log, .idea-group) {
  padding-inline: 0;
}
.reading > :is(ul, ol),
.reading :is(.tips, .log, .idea-group) > :is(ul, ol) {
  padding-inline-start: 1.5em;
}
.reading li::marker {
  color: var(--fir-2);
}
.reading .idea-group ol {
  padding-inline-start: 2.35em;
}
.reading .idea-group li::marker {
  font-variant-numeric: tabular-nums;
  font-size: .92em;
}
.reading .crumb {
  font-size: .9em;
  color: var(--muted);
}
.reading > h1 .h-st {
  display: block;
  width: 2.25rem;
  height: 2.25rem;
  margin: 0 0 .6rem;
}
.help-questions {
  border-top: 1px solid var(--line);
}
.help .faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
  min-height: 52px;
  padding: .9em 0;
  font-size: 1rem;
  line-height: 1.4;
}
.help .faq-item summary::after {
  position: static;
  flex: none;
  width: 1.1em;
  height: 1.1em;
  display: grid;
  align-content: center;
  text-align: center;
  font: 400 1.2rem/1 var(--body);
  border: 1px solid var(--line);
  border-radius: 50%;
}
.help .faq-item[open] summary::after {
  color: var(--fir);
  background: #e7ebdf;
}
.help .faq-item p {
  padding: 0;
  margin: 0 0 .9em;
}
.help .help-write {
  margin-block-start: clamp(34px, 5vw, 56px);
}
.help .help-write > h2 {
  margin-block-start: 0;
  scroll-margin-block-start: 1.5rem;
}
.help .help-write > h2::before {
  content: "";
  display: inline-block;
  width: 1.55em;
  height: 1.82em;
  vertical-align: -.38em;
  margin-inline-end: .35em;
  background: url("/boite-aux-lettres.svg") center / contain no-repeat;
}
.reading :is(.code-form, .contact-form) {
  padding: clamp(16px, 4vw, 24px);
}
.reading .contact-form .fine:last-child {
  margin-block-end: 0;
}
.reading .contact-form :is(select, textarea) {
  font-size: 1rem;
}
.reading .code-form input {
  font-size: 1.125rem;
  letter-spacing: .085em;
}
.reading .code-form .form-error {
  margin-block: 0 1rem;
}
.code-page .tips {
  margin-block-start: clamp(32px, 5vw, 52px);
  text-align: left;
}
.code-page .tips > h2:first-child {
  margin-block-start: 0;
}
.code-page .tips li + li {
  margin-block-start: .4em;
}
.cookie-facts {
  margin-block: 1.4em;
  border-block: 1px solid var(--line);
}
.cookie-facts > div {
  display: flex;
  flex-wrap: wrap;
  gap: .25em 1em;
  padding-block: .8em;
}
.cookie-facts > div + div {
  border-top: 1px solid var(--line);
}
.cookie-facts dt {
  flex: 0 0 4em;
  font-weight: 700;
}
.cookie-facts dd {
  flex: 1 1 12em;
  margin: 0;
}

/* Calendar windows keep the six bays of the building at every width. */
.page-cal .cal-head,
.page-cal .sheet,
.page-cal .panel,
.page-cal .cal-bar {
  overflow-wrap: anywhere;
}
.page-cal .cal-bar a,
.page-cal .sound-btn,
.page-cal .cal-links :is(button, a),
.page-cal .sheet .btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
}
.page-cal .cal-head {
  max-width: 38rem;
  margin-inline: auto;
}
.page-cal .cal-title {
  line-height: 1.17;
  text-wrap: balance;
}
.page-cal .cal-sub {
  line-height: 1.5;
  margin: .5rem auto .25rem;
}
.page-cal .cal-count { font: 700 .9375rem/1.5 var(--body); }
.page-cal .panel summary { padding-block: 9px; }
.page-cal .panel .recovery { display: block; }
.page-cal .sign { text-overflow: ellipsis; }
.page-cal .sheet-back {
  top: var(--sheet-top, 0px);
  height: var(--sheet-height, 100dvh);
  bottom: auto;
}
.page-cal .sheet {
  max-height: calc(100% - max(12px, env(safe-area-inset-top)));
  overscroll-behavior: contain;
}
.page-cal .sheet-head { margin-bottom: 14px; gap: 12px; }
.page-cal .sheet-head h2 {
  font-size: clamp(1.3rem, 1rem + 1.3vw, 1.65rem);
  line-height: 1.2;
  min-width: 0;
}
.page-cal .sheet-x { width: 44px; height: 44px; }
.page-cal .sheet fieldset { min-inline-size: 0; }
.page-cal .sheet .check { align-items: center; min-height: 44px; }
.page-cal .sheet .check input { margin-top: 0; }
.page-cal .sheet .form-steps {
  margin: 0 0 .9rem;
  color: #813645;
  font-size: .875rem;
}
.page-cal .sheet .form-steps:focus { outline: none; }
.page-cal .sheet .stickers {
  grid-template-columns: repeat(auto-fit, minmax(44px, 1fr));
  gap: 8px;
}
.page-cal .sheet .sticker span { padding: 3px; }
.page-cal .sticker-selection {
  display: block;
  font-weight: 400;
  font-size: .9rem;
  color: var(--muted);
  margin: 2px 0 8px;
}
.page-cal .story-img {
  width: min(100%, 270px, 29vh);
  width: min(100%, 270px, 29dvh);
  height: auto;
}
.page-cal .sheet .fill-actions .btn-main { margin-inline-start: auto; }
.page-cal .sheet .counter.over { color: #913446; }
@media (max-width: 760px) {
  .page-cal .cal { padding-inline: 10px; padding-top: 4px; }
  .page-cal .cal-head { padding-inline: 8px; }
  .page-cal .cal-title {
    font-size: clamp(1.5rem, 1.1rem + 2.6vw, 2.25rem);
    margin: 5px auto 0;
  }
  .page-cal .cal-sub { max-width: 34ch; }
  .page-cal .cal-stage {
    margin-top: 16px;
    width: 100%;
    max-width: 390px;
  }
  .page-cal .floor {
    padding: 5px 1% 4px;
    gap: 2px;
  }
  .page-cal .cal-stage .win { min-height: 48px; }
  .page-cal .plq { min-width: 1.55em; font-size: .75rem; }
  .page-cal .tag { line-height: 1.15; height: 1.15em; }
  .page-cal .sound-btn { margin-top: 12px; padding-inline: 14px; }
  .page-cal .panel { padding-inline: max(16px, env(safe-area-inset-left)); }
  .page-cal .sheet {
    padding: 18px max(16px, env(safe-area-inset-right)) calc(20px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  }
  .page-cal .cal-links { gap: 2px 14px; }
}
.page-cal #cal-primary { margin-top: 13px; }
.page-cal .cal-actions .btn:first-child { flex-basis: auto; }
@media (min-width: 360px) and (max-width: 760px) {
  .page-cal .sheet .stickers { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

/* Keep the wizard readable in a narrow column, including the tablet split layout. */
.hero-shortcut { display: none; }
.hero-form, .hero-copy { min-width: 0; }
.create { scroll-margin-block-start: 1.25rem; }
.create .step-q {
  max-width: 100%;
  overflow-wrap: anywhere;
  font-family: var(--body);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.35;
}
.create .step-n { font-size: .8125rem; white-space: nowrap; }
.create .ambs {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 5.1rem), 1fr));
  gap: .9rem .6rem;
}
.create .amb { min-width: 0; }
.create .amb-name { font-size: .875rem; line-height: 1.25; text-wrap: balance; }
.create .step-nav { align-items: stretch; }
.create .step-nav .btn-gold { flex: 2 1 9.5rem; }
.create .step-nav .btn-ghost { flex: 1 1 4.25rem; }
.create .step-note { margin-bottom: .75rem; }
.create .custom-pass { font-size: 1rem; }
.create .custom-pass summary { padding-block: .65rem; line-height: 1.45; }
.create .fine { margin: 1rem 0 0; }

.top-nav a, .top .brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.top-help { justify-content: center; min-width: 44px; }
.top { flex-wrap: wrap; }
.top .top-nav { flex-wrap: wrap; }
.foot .foot-cols {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 8rem), 1fr));
  gap: 1.75rem 1rem;
}
.foot-cols .foot-h { margin-bottom: .45rem; }
.foot-cols a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding-block: .375rem;
  line-height: 1.4;
}
.foot-small { line-height: 1.55; }

@media (max-width: 56.25em) {
  .hero { column-gap: 5%; }
  .how-steps, .idea-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feat-list { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
}

@media (max-width: 760px) {
  .top { padding: 7px max(12px, env(safe-area-inset-right)) 7px max(12px, env(safe-area-inset-left)); gap: 4px 8px; }
  .top .top-nav { gap: 4px; margin-inline-start: auto; }
  .top .brand { gap: 6px; }
  .top .brand svg { width: 32px; }
  .top nav a[href="/code"] { white-space: nowrap; }
  .top a.top-help { display: inline-flex; }
  .top-help span:first-child { margin: 0; }
  .hero { gap: 1rem; padding: 1.5rem max(1rem, env(safe-area-inset-left)) 3.5rem; }
  .hero-copy { width: 100%; }
  .hero-copy h1 { font-size: clamp(2rem, 7.5vw, 3.25rem); line-height: 1.12; text-wrap: balance; }
  .hero h1 em { white-space: nowrap; margin-inline-end: .07em; }
  .hero-copy h1 br { display: initial; }
  .hero .lead { max-width: 36ch; line-height: 1.5; text-wrap: pretty; }
  .hero-bldg { width: min(76vw, 17rem); }
  .hero-bldg .floor { gap: 2%; }
  .hero-bldg .win:focus-visible { z-index: 2; }
  .hero-bldg .demo-bubble {
    margin-top: .55rem;
    padding: .375rem .875rem;
    font: 600 .875rem/1.45 var(--body);
    text-wrap: balance;
  }
  .hero-form .card-create { padding: 1.125rem; }
  .hero-form .code-inline { margin-top: .875rem; padding: .875rem 1rem; }
  .hero-form .code-row { flex-wrap: wrap; }
  .hero-form .code-row input { flex: 3 1 8rem; height: auto; min-height: 46px; }
  .hero-form .code-row .btn { flex: 1 1 auto; height: auto; min-height: 46px; }
  .sec h2 { font-size: clamp(1.65rem, 5.8vw, 2.3rem); line-height: 1.18; text-wrap: balance; }
  .feat-list, .how-steps { row-gap: 1.5rem; }
  .feat-list h3 { margin-bottom: .35rem; }
  .feat-list p, .how-steps li > p { margin-bottom: 0; }
  .foot { padding: 2rem max(1.125rem, env(safe-area-inset-left)) max(1.5rem, env(safe-area-inset-bottom)); }
}
@media (max-width: 760px) {
  .hero-shortcut {
    display: inline-flex;
    gap: .45em;
    align-items: center;
    min-height: 44px;
    margin-top: .8rem;
  }
}
@media (max-width: 34em) {
  .how-steps { grid-template-columns: 1fr; }
  .how-steps li {
    display: grid;
    grid-template-columns: clamp(5.5rem, 26vw, 7.75rem) minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    column-gap: 1rem;
    align-content: start;
  }
  .how-vg { grid-row: span 2; height: auto; min-height: 6.2rem; max-height: 8rem; border-radius: 3rem 3rem .4rem .4rem; }
  .how-n { top: .15rem; left: 0; }
  .how-steps h3 { font-size: 1.15rem; line-height: 1.24; margin: .125rem 0 .4rem; }
  .how-steps li > p { font-size: 1rem; line-height: 1.5; }
  .how-vg .vg { padding: .35rem; place-content: center; }
  .vg-create .vg-input, .vg-create .vg-sign, .vg-write .paper, .vg-share .bub { display: none; }
  .vg-create .vg-st, .vg-write .vg-st { position: static; width: 3.7rem; height: 3.7rem; }
  .vg-share::before, .vg-share::after {
    content: "";
    width: 2.65rem; height: 1.45rem;
    border-radius: .65rem .65rem .65rem .12rem;
    border: 2px solid #7f666c;
    background: radial-gradient(circle, #8d686c 0 19%, transparent 23%) center / .55rem 100% repeat-x #fff7e7;
    transform: translateX(-.3rem) rotate(-5deg);
  }
  .vg-share::after { border-radius: .65rem .65rem .12rem .65rem; margin-top: -.15rem; transform: translateX(.3rem) rotate(6deg); background-color: #ead7b7; }
  .vg-open .mini-win { position: relative; width: 3.1rem; height: 3.9rem; }
  .vg-open .vg-st { width: 2.7rem; height: 2.7rem; inset: auto 0 .3rem; }
  .ideas .idea-cards { grid-template-columns: 1fr; gap: .75rem; }
  .ideas .idea-cards li {
    display: grid;
    grid-template-columns: 2.6rem minmax(0, 1fr);
    gap: .25rem .75rem;
    align-content: start;
    padding: 1rem;
  }
  .ideas .idea-st { grid-row: span 2; width: 2.6rem; height: 2.6rem; }
  .ideas .idea-t { margin: 0; font-size: 1.125rem; line-height: 1.3; }
  .ideas .idea-q { margin: 0; font-size: 1.25rem; line-height: 1.3; }
  .lutins .talk-row { align-items: start; }
  .lutins .talk-row .fine { flex: 1 1 10rem; }
}

.create .amb input:checked + .amb-card::after {
  content: "✓";
  position: absolute;
  inset: 3px 3px auto auto;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  color: white;
  background: #722939;
  font: 700 12px/1 var(--body);
}
@media (max-width: 760px) {
  .sky-home, .sec .wrap { container-type: inline-size; }
  .foot-small { overflow-wrap: anywhere; }
  .sky-home, .sec, .sky-cta, .foot { overflow-wrap: anywhere; }
  .hero { padding-inline: clamp(16px, 1rem, 22px); }
  .hero-form .card-create { padding-inline: clamp(16px, 1.125rem, 24px); }
  .how-n { font-size: 1rem; min-width: 1.5em; min-height: 1.5em; line-height: 1.4; }
  @container (max-width: 16em) {
    .hero-copy h1 { font-size: 1.65rem; }
    .hero .lead { text-wrap: initial; }
    .sky-home .moon { display: none; }
    .sec h2 { font-size: 1.4rem; hyphens: auto; }
    .how-steps li { display: block; }
    .how-vg { display: none; }
    .how-n { position: static; display: inline-block; margin-bottom: .4rem; }
    .how-steps h3 { margin: 0 0 .4rem; }
    .feat-list li { display: block; }
    .ideas .idea-cards li { display: block; }
    .ideas .idea-st { width: 1.5rem; height: 1.5rem; }
    .ideas .idea-t { margin: .25rem 0; }
  }
}

.page-cal .return-theme {
  margin-block: .5rem 1rem;
  border-block: 1px solid var(--line);
}
.page-cal .return-theme summary {
  padding-block: .75rem;
  cursor: pointer;
}
.page-cal [data-return] > .btn-link { margin-top: .25rem; }


/* The share sheet pairs a Christmas postage stamp with familiar app marks. */
.share-compose { container-type: inline-size; }
.share-compose .share-icon { width: 1.12rem; height: 1.12rem; flex: none; }
.share-story, .share-window {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: .8rem 1rem;
  border-radius: 15px;
  text-align: left;
}
.share-story {
  border: 1px solid #2b5242;
  color: #fff5df;
  background: url("/branches-de-noel.svg") right -32px top -31px / 112px auto no-repeat, linear-gradient(108deg,#254f40,#123a30);
  box-shadow: inset 0 0 0 4px #214839, inset 0 0 0 5px #6a8061;
  cursor: pointer;
}
.share-story img {
  width: 3.7rem; height: auto; flex: none;
  filter: drop-shadow(1px 3px 2px #07281fa6);
  transform: rotate(-6deg);
}
.share-story > span:nth-child(2), .share-window > div:last-child { min-width: 0; flex: 1; }
.share-story strong, .share-window strong {
  display: block;
  font: 400 clamp(1.16rem, 5cqi, 1.45rem)/1.2 var(--display);
}
.share-story small, .share-window p {
  display: block; margin: .32rem 0 0;
  font: 400 .9rem/1.4 var(--body); color: #f2e7ce;
}
.share-story-arrow { display: grid; place-items: center; min-width: 30px; height: 30px; border: 1px solid #91a28c; border-radius: 50%; }
.share-story:hover { background-color: #234a39; box-shadow: inset 0 0 0 4px #214839,inset 0 0 0 5px #d4bf92; }
.share-window { background: #f3ebd9; border: 1px solid #dbceb7; }
.share-window p { color: #534b44; }
.share-date { min-width: 3.4rem; padding: .35rem; text-align:center; color: #fff8e9; background:#833844; border:3px double #f4dead; border-radius:5px; }
.share-date strong { font-size:1.5rem; }
.share-date small { display:block; font:700 .66rem/1.25 var(--body); letter-spacing:.12em; }
.share-channel-head, .share-code {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .25rem .75rem;
}
.share-channel-head { margin-block: .8rem .3rem; min-height: 40px; }
.share-channel-head h3, .share-label { margin: 0; font: 700 .95rem/1.4 var(--body); }
.share-more, .share-code button {
  border: 0; display: flex; align-items: center; justify-content: center; gap: .4rem; min-height:44px; padding: 0 .12rem;
  background: transparent; color: #39594c; cursor: pointer; font: 700 .85rem/1.3 var(--body);
}
.share-more:hover, .share-code button:hover { text-decoration: underline; }
.share-more .share-icon, .share-code .share-icon { width: 1rem; height: 1rem; }
.share-channels { display: grid; grid-template-columns: repeat(5,minmax(max-content,1fr)); gap: .3rem; }
.share-option {
  display:flex; flex-direction:column; align-items:center; gap:.4rem; padding:.25rem .05rem .4rem;
  min-width:0; text-align:center; border-radius:9px; color:var(--ink); text-decoration:none;
  font:700 .875rem/1.3 var(--body);
}
.share-mark {
  display:grid; place-items:center; border-radius:14px; width:2.85rem; height:2.85rem;
  background:#171817; color:#fff; transition:transform .16s ease;
}
.share-option > span:last-child { white-space: nowrap; }
.share-option:hover .share-mark {transform:translateY(-2px);}
.share-option[data-ch=whatsapp] .share-mark { background:#13774d; }
.share-option[data-ch=sms] .share-mark { background:#315e50; --dots:#315e50; }
.share-option[data-ch=facebook] .share-mark { background:#1663d6; }
.share-option[data-ch=threads] .share-mark { background:#332f38; }
.share-mark .share-icon { height:1.5rem; width:1.5rem; }
.share-label { display:block; margin-block:1.15rem .45rem; }
.share-copy {
  display:flex; align-items:stretch; gap:.35rem; padding:.25rem;
  background:#fff; border:1px solid #b5a893; border-radius:11px;
}
.share-copy input[type=text] {
  flex:1 1 5rem; min-width:0; padding:.45rem .5rem; border:0; border-radius:7px;
  background:transparent; color:#4f4944; font:400 max(16px,1rem)/1.35 var(--body); text-overflow:ellipsis;
}
.share-copy .btn {
  gap:.4rem; padding:.45rem .7rem; box-shadow:none; border:0; border-radius:7px;
  background:#813849; color:white;
}
.share-code {
  margin-top:.85rem; padding-top:.35rem; border-top:1px dashed #c9bda9;
  font-size:.88rem; color:#61594f;
}
.share-code code { color:var(--fir); font:700 .92rem/1.3 var(--body); letter-spacing:.055em; }
@container (max-width:20rem) {
  .share-channels { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .share-story, .share-window { gap:.65rem; padding:.7rem; }
  .share-story img { width:3rem; }
}
@container (max-width:13rem) {
  .share-story-arrow, .share-story img, .share-date { display:none; }
  .share-channels { grid-template-columns:repeat(2,minmax(max-content,1fr)); }
  .share-copy { flex-wrap:wrap; }
  .share-copy input[type=text] { flex-basis:100%; }
  .share-copy .btn { flex:1; }
}

/* A clothbound Advent album with individually perforated, illustrated stamps. */
.sky-home::after, .sky-cal::after { display: none; }
.sky-home .moon, .sky-cal .moon { display: none; }
.sky-home { background: radial-gradient(ellipse at 77% 57%, #385e4b 0, transparent 56%), linear-gradient(120deg,#102f2b,#163e34 65%,#183d33); }
.hero-bldg { width: 100%; min-width: 0; }
.page-cal .cal-stage { width: min(100%, 642px); max-width: none; margin: 1.35rem auto 0; }
.stamp-album {
  --cover: #873f49;
  --leaf: #f5e6c8;
  --album-ink: #414b3c;
  position: relative;
  width: 100%; margin: 0 auto;
  padding: clamp(5px,1.2%,9px);
  color: var(--album-ink); text-align:left;
  border: 1px solid #493636; border-radius: 9px 13px 13px 9px;
  background: repeating-linear-gradient(40deg,transparent 0 2px,#ffffff0b 2px 3px),var(--cover);
  box-shadow: inset 0 0 0 2px #ffffff24, 1px 3px 0 #3a2e27, 3px 11px 24px #06231f66;
  container-type: inline-size;
}
:is(.stamp-album, .sheet) {
  --sky-paper: #bbd0ca;
  --green-paper: #c6d4ad;
  --red-paper: #edc2ab;
  --gold-paper: #e9d39b;
  --rose-paper: #e5c1c5;
  --lilac-paper: #d1c6da;
  --champagne-paper: #f5dfa5;
}
:is(.stamp-album, .sheet).theme-foret { --cover:#405742; --leaf:#efe6cb; --sky-paper:#bad1c9; --rose-paper:#e8c6a9; --album-ink:#334e39; }
:is(.stamp-album, .sheet).theme-vin { --cover:#793449; --leaf:#fae5d4; --sky-paper:#c3ccd3; --green-paper:#e2cdb4; --red-paper:#e8b2a1; --album-ink:#753d43; }
:is(.stamp-album, .sheet).theme-aurore { --cover:#214c51; --leaf:#dfe9df; --sky-paper:#a9cfd1; --green-paper:#b1d2bf; --gold-paper:#d7d5b6; --rose-paper:#dfc4cc; --album-ink:#315558; }
:is(.stamp-album, .sheet).theme-neige { --cover:#52677b; --leaf:#e9ece5; --sky-paper:#b8cbd9; --green-paper:#c5d5ca; --red-paper:#ddd0ca; --gold-paper:#e1d9c3; --album-ink:#40566a; }
.album-leaf {
  padding: clamp(9px,2.7cqi,18px);
  border: 1px solid #dac9a7; border-radius: 3px 7px 7px 3px;
  background:
    radial-gradient(#75573612 .5px,transparent .85px) 0 0 / 5px 5px,
    linear-gradient(100deg,#a37a4526,transparent 3.5%,#ffffff26 65%,transparent),var(--leaf);
  box-shadow: 1px 2px 0 #bcaa87, 2px 4px 0 #e7d8b9;
}
.album-address {
  display:flex; align-items:center; justify-content:space-between; gap:.6rem;
  border-bottom:3px double #91795380; margin:0 0 clamp(7px,2cqi,12px); padding:0 .2rem .35rem;
}
.album-to { min-width:0; font:400 clamp(1.05rem,4.5cqi,1.55rem)/1.2 var(--display); }
.album-to b { color:var(--album-ink); font:700 1.32em/1.16 Caveat,cursive; overflow-wrap:anywhere; }
.album-mark { flex:none; width:clamp(57px,15cqi,87px); height:auto; color:var(--album-ink); opacity:.78; transform:rotate(-5deg); }
.stamp-grid { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:clamp(5px,1.3cqi,9px); }
.stamp-grid .win {
  --tint:var(--sky-paper);
  --rim:#526f65;
  display:block; position:relative; width:100%; min-width:0; min-height:44px; padding:0;
  aspect-ratio:1 / 1.04; color:#293c35; font:inherit; background:transparent;
  isolation:isolate; border:0; border-radius:2px; text-align:left;
}
.stamp-grid [data-paper="gold"] { --tint:var(--gold-paper); --rim:#976e36; }
.stamp-grid [data-paper="green"] { --tint:var(--green-paper); --rim:#5a744e; }
.stamp-grid [data-paper="red"] { --tint:var(--red-paper); --rim:#975544; }
.stamp-grid [data-paper="rose"] { --tint:var(--rose-paper); --rim:#925a67; }
.stamp-grid [data-paper="lilac"] { --tint:var(--lilac-paper); --rim:#776983; }
.stamp-grid [data-motif="parcel"] { --tint:var(--champagne-paper); --rim:#97692e; }
.stamp-grid [data-motif="parcel"] .stamp-print::after { border:3px double #a87c3e; }
.stamp-face, .stamp-under {
  position:absolute; inset:0; display:block;
  border-radius:1px;
}
.stamp-face {
  background:#fff4d9; padding:clamp(4px,.9cqi,6px);
  transform-origin:12% 90%;
  mask:linear-gradient(#000 0 0) center / calc(100% - 6px) calc(100% - 6px) no-repeat,
    radial-gradient(circle at 50% 0,transparent 1.6px,#000 2px) top / 7px 3.5px repeat-x,
    radial-gradient(circle at 50% 100%,transparent 1.6px,#000 2px) bottom / 7px 3.5px repeat-x,
    radial-gradient(circle at 0 50%,transparent 1.6px,#000 2px) left / 3.5px 7px repeat-y,
    radial-gradient(circle at 100% 50%,transparent 1.6px,#000 2px) right / 3.5px 7px repeat-y;
}
.stamp-grid button { cursor:pointer; filter:drop-shadow(.6px 1.6px .6px #67523473); transition:transform .15s ease; }
.stamp-print {
  position:relative; display:block; height:100%; overflow:hidden;
  border:1px solid var(--rim); outline:1px dotted var(--rim); outline-offset:1px;
  background:repeating-linear-gradient(125deg,transparent 0 4px,#fff2 4px 5px),var(--tint);
}
.stamp-print::after { content:""; position:absolute; inset:2px; border:1px solid color-mix(in srgb,var(--rim) 38%,transparent); pointer-events:none; }
.stamp-grid .stamp-day {
  position:absolute; z-index:1; top:3%; left:7%; font:400 clamp(1rem,4.6cqi,1.85rem)/1.04 var(--display);
  letter-spacing:-.065em; color:var(--album-ink); font-variant-numeric:lining-nums;
}
.stamp-art { position:absolute; width:87%; height:78%; right:-1%; bottom:2%; overflow:visible; }
.stamp-under {
  display:grid; place-items:center; color:#9e5350; background:#fcf1d7;
  border:1px dashed #a89068; inset:4px; font-size:clamp(1rem,5cqi,2rem);
}
.stamp-grid .is-off { filter:grayscale(.85); opacity:.43; }
.stamp-grid .stamp-seal { position:absolute; right:-1px; top:-1px; pointer-events:none; z-index:2; }
.stamp-grid .stamp-seal:not(:empty) {
  display:grid; place-items:center; width:clamp(17px,4.4cqi,27px); height:clamp(17px,4.4cqi,27px);
  border-radius:50%; background:#883e4a; border:1px solid #76343c; box-shadow:0 1px 2px #66483455;
}
.stamp-grid .stamp-seal .st { width:85%; height:85%; max-width:none; display:block; }
.stamp-grid .stamp-count:not(:empty) {
  position:absolute; right:0; top:23%; color:white; background:#643440; border-radius:8px; font:700 .66rem/1 var(--body); padding:1px 3px;
}
.stamp-caption:not(:empty) {
  position:absolute; inset:auto 5px 4px; padding:1px 2px; text-align:center; overflow:hidden;
  white-space:nowrap; text-overflow:ellipsis; color:#423d32; background:#fff1d9f5;
  font:700 clamp(.65rem,2cqi,.82rem)/1.17 var(--body);
}
.stamp-grid .is-filled .stamp-art { bottom:9%; }
.stamp-grid .is-read .stamp-seal { background:#355b4c; }
.stamp-grid .is-read .stamp-print { background-color:color-mix(in srgb,var(--tint) 55%,#f6e7d0); }
.stamp-grid .is-mine .stamp-print { border:2px solid #8b423f; }
.stamp-grid .is-today { outline:2px solid #934253; outline-offset:1px; }
.stamp-grid .win:focus-visible { outline:3px solid #194c6a; outline-offset:2px; z-index:3; }
@media (hover:hover) { .stamp-grid button:hover { transform:translateY(-2px) rotate(-1deg); z-index:2; } }
.stamp-grid .opening .stamp-face { animation:peel-stamp .68s ease-in-out both; }
@keyframes peel-stamp { 0%{transform:none} 52%{transform:perspective(220px) rotateX(-35deg) rotateZ(-4deg) translateY(-5%)} 85%,100%{transform:translate(2%,-14%) rotate(-7deg);opacity:.17} }
.album-expand { display:none; }
.sky-home .hero-bldg .demo-bubble { background:transparent; color:#fff0d3; margin:.65rem auto 0; font:500 .91rem/1.45 var(--body); padding:0; }
@media (min-width:761px) {
  .hero { grid-template-columns:minmax(0,.83fr) minmax(0,1.17fr); gap:1.2rem 5%; padding-block:clamp(40px,5vw,78px); }
}
@media (max-width:760px) {
  .sky-home .hero-bldg { width:min(100%,475px); }
  .stamp-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
  .stamp-grid .stamp-day { font-size:clamp(1.2rem,5.6cqi,1.65rem); }
  .stamp-album.is-demo.has-preview:not(.is-expanded) .win:nth-child(n+9) { display:none; }
  .album-expand:not([hidden]) {
    display:flex; align-items:center; justify-content:center; gap:.5rem; min-height:44px;
    margin:.25rem auto -.3rem; background:transparent; border:0; padding:.4rem 1rem; color:var(--album-ink); font:700 .9rem/1.4 var(--body); cursor:pointer;
  }
  .page-cal .cal-stage { max-width:490px; }
}
/* Theme selectors use the same postage motifs for a first or a return calendar. */
.stamp-swatch {
  --stamp-stock: #384669;
  --stamp-lining: #f3d99d;
  position: relative;
  display: grid;
  place-items: center;
  align-content: center;
  isolation: isolate;
  height: 3.5rem;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: .5rem;
  background: var(--paper);
}
.swatch-foret { --stamp-stock: #31574a; }
.swatch-vin { --stamp-stock: #994050; }
.swatch-aurore { --stamp-stock: #37656b; }
.swatch-neige { --stamp-stock: #50738d; }
.stamp-swatch::before {
  content: "";
  position: absolute;
  width: 2.7rem;
  height: 2.35rem;
  max-width: 90%;
  background: var(--stamp-stock);
  outline: 1px solid var(--stamp-lining);
  outline-offset: -5px;
  mask:
    radial-gradient(circle at 3px 0, transparent 1.6px, #000 1.9px) top / 6px 4px repeat-x,
    radial-gradient(circle at 3px 100%, transparent 1.6px, #000 1.9px) bottom / 6px 4px repeat-x,
    radial-gradient(circle at 0 3px, transparent 1.6px, #000 1.9px) left / 4px 6px repeat-y,
    radial-gradient(circle at 100% 3px, transparent 1.6px, #000 1.9px) right / 4px 6px repeat-y,
    linear-gradient(#000 0 0) center / calc(100% - 8px) calc(100% - 8px) no-repeat;
  transform: rotate(-5deg);
}
.stamp-swatch > svg {
  position: relative;
  width: 1.6rem;
  height: 1.6rem;
  transform: rotate(-5deg);
}
.create .ambs { grid-template-columns: repeat(auto-fit, minmax(min(100%, max(5.1rem, 26%)), 1fr)); }
.style-opt .stamp-swatch { border: 0; background: transparent; }
.vg .vg-postage {
  width: 5rem;
  height: 4.5rem;
  background: transparent;
  border: 0;
}
.vg-postage::before { width: 4.6rem; height: 3.9rem; }
.vg-postage > svg { width: 2.6rem; height: 2.6rem; }
.lost-postage .logo-mark { width: 5rem; height: 5rem; margin-bottom: 1rem; }

.album-key {
  display:flex; flex-wrap:wrap; justify-content:center; gap:.35rem 1.2rem;
  margin:.7rem 0 0; color:var(--album-ink); font:600 .83rem/1.4 var(--body);
}
.album-key span { display:inline-flex; align-items:center; gap:.38rem; }
.album-key i { display:inline-grid; place-items:center; width:1.08em; height:1.08em; border:1px dashed currentColor; font-style:normal; }
.album-key .key-off { border-style:solid; background:repeating-linear-gradient(135deg,transparent 0 2px,#70675c66 2px 3px); }
.album-key .key-seal { background:#883e4a; color:#fff0d3; border:0; border-radius:50%; }
.sample-letter {
  display:flow-root; margin:.35rem 0 1.2rem; padding:1.25rem; border-radius:3px;
  border:1px solid #d9c4a0; border-top:.32rem solid transparent;
  background:linear-gradient(#fff3d7,#f9e9ca) padding-box,
    repeating-linear-gradient(120deg,#a3484a 0 8px,#f7e8c9 8px 16px,#486751 16px 24px,#f7e8c9 24px 32px) border-box;
  box-shadow:0 3px 3px #54362315;
}
.sample-letter p { margin:.25rem 0 .55rem; font:400 1.23rem/1.48 var(--display); color:#403e32; overflow-wrap:anywhere; }
.sample-postage {
  float:right; width:clamp(42px,15vw,78px); aspect-ratio:1 / 1.08; margin:0 0 .65rem .75rem;
  border:3px dotted #fff3dd; outline:1px dashed #698674; color:#365749; background:#c5d6bd;
  transform:rotate(6deg); display:grid; align-items:center;
}
.sample-postage svg { display:block; width:100%; }
.sample-signature { font:700 1.65rem/1.25 Caveat,cursive; text-align:right; color:#795147; }
@container (max-width: 17rem) {
  .stamp-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .stamp-grid .stamp-day { font-size:clamp(1rem,6.5cqi,1.5rem); }
  .stamp-grid .stamp-caption { font-size:clamp(.65rem,4cqi,.8rem); }
  .stamp-art { width:80%; height:65%; }
}

/* Reserve the compact first view while the deferred script attaches its handlers. */
@media (max-width:760px) and (scripting:enabled) {
  .stamp-album.is-demo:not(.is-expanded) .win:nth-child(n+9) { display:none; }
  .stamp-album.is-demo:not(.has-preview) .album-expand[hidden] { display:block; min-height:44px; visibility:hidden; }
}

.page-home main > .sec {
  content-visibility:auto;
  contain-intrinsic-block-size:auto 500px;
}
