* {
  box-sizing: border-box;
}
body,
h1,
h2,
p,
figure {
  margin: 0;
}
html {
  scrollbar-gutter: stable;
  background: #dce6ec;
}
body {
  -webkit-font-smoothing: antialiased;
}
button,
a,
label[for] {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
[hidden] {
  display: none !important;
}

:root {
  --ui-background: #dce6ec;
  --ui-surface: #f5f8f9;
  --ui-ink: #2c3a44;
  --ui-muted: #53646e;
  --ui-border: #b7c8d2;
  --ui-accent: #c8352e;
  --ui-on-accent: #f5f8f9;
  --ui-pressed: #b02f28;
  --ui-selected: #ebcdcc;
  --ui-focus: #be322c;
  --ui-error: #bb283b;
  --ui-radius: 4px;
  --ui-sheet-radius: 8px;
  --ui-target: 24px;
  --ui-row-height: 48px;
  --ui-action-height: 48px;
  --ui-gap: 12px;
  --ui-padding: 16px;
  --ui-section: 24px;
  --ui-margin: 20px;
  --ui-fast: 120ms;
  --ui-font: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --ui-heading-32: 700 32px/38px var(--ui-font);
  --ui-heading-20: 650 20px/26px var(--ui-font);
  --ui-copy-16: 400 16px/24px var(--ui-font);
  --ui-label-13: 500 13px/18px var(--ui-font);
  --ui-button-16: 650 16px/20px var(--ui-font);
}
.ui-screen {
  color-scheme: light;
  width: 100%;
  min-height: 100%;
  background: var(--ui-background);
  color: var(--ui-ink);
  font: var(--ui-copy-16);
}
.ui-row,
.ui-nav,
.ui-list-row {
  display: flex;
  align-items: center;
  gap: var(--ui-gap);
}
.ui-stack {
  display: grid;
  align-content: start;
  gap: var(--ui-gap);
}
.ui-title {
  color: var(--ui-ink);
  font: var(--ui-heading-32);
}
.ui-heading {
  font: var(--ui-heading-20);
}
.ui-muted {
  color: var(--ui-muted);
}
.ui-caption {
  color: var(--ui-muted);
  font: var(--ui-label-13);
}
.ui-number {
  font-variant-numeric: tabular-nums;
}
.ui-card {
  background: var(--ui-surface);
  color: var(--ui-ink);
  border-radius: var(--ui-radius);
  padding: var(--ui-padding);
}
.ui-sheet {
  color: var(--ui-ink);
  background: var(--ui-surface);
  border: 1px solid var(--ui-border);
  border-radius: var(--ui-sheet-radius);
  padding: var(--ui-padding);
}
.ui-list-row {
  min-height: var(--ui-row-height);
  padding-inline: var(--ui-padding);
}
.ui-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  color: var(--ui-muted);
  background: var(--ui-background);
  font: var(--ui-label-13);
}
.ui-field {
  display: block;
  width: 100%;
  min-height: var(--ui-target);
  padding: 8px var(--ui-padding);
  color: var(--ui-ink);
  background: var(--ui-surface);
  border: 1px solid var(--ui-border);
  border-radius: var(--ui-radius);
  font: inherit;
}
.ui-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: var(--ui-gap);
  min-height: var(--ui-action-height);
  min-width: var(--ui-target);
  padding: 8px var(--ui-padding);
  background: var(--ui-accent);
  color: var(--ui-on-accent);
  border: 0;
  border-radius: var(--ui-radius);
  font: var(--ui-button-16);
  transition: background-color var(--ui-fast) ease-out;
}
.ui-button:active:not(:disabled) {
  background: var(--ui-pressed);
}
.ui-button:disabled,
.ui-field:disabled {
  background: var(--ui-surface);
  color: var(--ui-muted);
  border: 1px dashed var(--ui-border);
}
.ui-field[aria-invalid="true"] {
  border-color: var(--ui-error);
}
.ui-screen :focus-visible {
  outline: 2px solid var(--ui-focus);
  outline-offset: 2px;
}
.ui-avatar {
  width: 32px;
  height: 32px;
  display: inline-block;
  flex: none;
  object-fit: cover;
  border-radius: 50%;
}
.ui-nav {
  justify-content: space-around;
  background: var(--ui-surface);
  border-top: 1px solid var(--ui-border);
}
.ui-nav :is(a, button),
.ui-screen [role="tab"] {
  min-height: var(--ui-target);
  min-width: var(--ui-target);
}
.ui-nav [aria-current="page"],
.ui-screen [aria-selected="true"] {
  color: var(--ui-ink);
  background: var(--ui-selected);
  font-weight: 700;
}
@media (prefers-reduced-motion: reduce) {
  .ui-button {
    transition: none;
  }
}

.home {
  --hand:
    "Bradley Hand", "Segoe Print", "Chalkboard SE", "Marker Felt",
    "Comic Sans MS", cursive;
  --ink-red: var(--ui-accent);
  width: 1440px;
  height: 900px;
  min-height: 900px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(
    ellipse 60% 55% at 50% 46%,
    #e6eef2 0%,
    var(--ui-background) 70%
  );
}
.home .decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.home .snow {
  position: absolute;
  left: 0;
  top: 0;
  width: 1440px;
  height: 220px;
  opacity: 0.75;
}
.home .snow img,
.home .corner img {
  width: 100%;
  height: 100%;
  display: block;
  mix-blend-mode: multiply;
  background: transparent;
}
.home .snow img {
  object-fit: cover;
  object-position: 50% 30%;
}
.home .corner {
  position: absolute;
}
.home .corner img {
  object-fit: contain;
}
.home .cat {
  left: 56px;
  top: 560px;
  width: 300px;
  height: 300px;
}
.home .cat img {
  object-position: 30% 100%;
}
.home .doodles {
  left: 1076px;
  top: 556px;
  width: 330px;
  height: 300px;
}
.home .doodles img {
  object-position: 70% 100%;
}
.home .ill {
  position: absolute;
  color: var(--ink-red);
  overflow: visible;
  filter: url(#wobble-soft);
}
.home .ill.faint {
  opacity: 0.55;
}
.home .top {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 88px;
  padding: 0 48px;
  z-index: 2;
}
.home .ui-nav {
  height: 88px;
  justify-content: space-between;
  background: transparent;
  border: 0;
  padding: 0;
}
.home .mark {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-red);
  font: 700 26px/30px var(--hand);
  text-decoration: none;
}
.home .mark svg {
  width: 34px;
  height: 34px;
}
.home .steps {
  display: flex;
  align-items: center;
  gap: 6px;
  font: 400 19px/24px var(--hand);
  color: var(--ui-ink);
}
.home .steps a {
  color: inherit;
  text-decoration: none;
  padding: 12px 10px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  border-radius: 4px;
}
.home .steps a:hover {
  color: var(--ink-red);
}
.home .steps .dot {
  color: var(--ink-red);
  opacity: 0.7;
}
.home .hero {
  position: absolute;
  left: 50%;
  top: 84px;
  width: 640px;
  height: 500px;
  transform: translateX(-50%);
  z-index: 1;
}
.home .art {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.home .art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: 50% 60%;
  display: block;
  mix-blend-mode: multiply;
}
.home .tag {
  position: absolute;
  right: -36px;
  top: 118px;
  width: 112px;
  height: 150px;
  transform: rotate(7deg);
  transform-origin: 50% 0;
}
.home .tag svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.home .tag span {
  position: absolute;
  left: 0;
  right: 0;
  top: 94px;
  text-align: center;
  font: 700 19px/22px var(--hand);
  color: var(--ink-red);
}
.home .cta {
  position: absolute;
  left: 380px;
  right: 380px;
  top: 608px;
  height: 236px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
}
.home h1 {
  margin: 0;
  font: 700 52px/60px var(--hand);
  color: var(--ui-ink);
  text-align: center;
  white-space: nowrap;
}
.home h1 em {
  font-style: normal;
  color: var(--ink-red);
  position: relative;
  display: inline-block;
}
.home h1 em svg {
  position: absolute;
  left: -6px;
  bottom: -10px;
  width: calc(100% + 12px);
  height: 16px;
}
.home .actions {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.home .ui-button {
  position: relative;
  min-height: 60px;
  padding: 0 40px;
  font: 700 22px/26px var(--hand);
  background: transparent;
  color: var(--ui-on-accent);
  gap: 12px;
  isolation: isolate;
  cursor: pointer;
}
.home .ui-button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink-red);
  border-radius: 30px 34px 28px 32px/32px 28px 34px 30px;
  filter: url(#wobble);
  z-index: -1;
  transition: background-color var(--ui-fast) ease-out;
}
.home .ui-button::after {
  content: "";
  position: absolute;
  inset: -6px -5px -5px -7px;
  border: 1.5px solid var(--ink-red);
  border-radius: 34px 30px 36px 28px/30px 36px 28px 34px;
  filter: url(#wobble);
  z-index: -1;
  opacity: 0.8;
}
.home .ui-button:active::before {
  background: var(--ui-pressed);
}
.home .ui-button i {
  font-size: 22px;
}
.home .link {
  position: relative;
  font: 400 16px/20px var(--hand);
  color: var(--ink-red);
  text-decoration: none;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 4px;
}
.home .link svg.u {
  position: absolute;
  left: 0;
  bottom: 8px;
  width: 100%;
  height: 8px;
}
@media (prefers-reduced-motion: reduce) {
  .home .ui-button::before {
    transition: none;
  }
}

.ed {
  --hand:
    "Caveat", "Patrick Hand", "Bradley Hand", "Segoe Print", "Comic Sans MS",
    cursive;
  width: 1440px;
  height: 900px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  background: radial-gradient(
    1100px 700px at 32% 45%,
    #e6edf2 0%,
    var(--ui-background) 70%
  );
}
.ed svg.defs {
  position: absolute;
  width: 0;
  height: 0;
}
.ed .top {
  height: 72px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 56px;
}
.ed .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ui-accent);
  text-decoration: none;
  font: 700 26px/30px var(--hand);
}
.ed .brand svg {
  width: 30px;
  height: 30px;
}
.ed .brand svg path {
  fill: none;
  stroke: var(--ui-accent);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ed .steps {
  display: flex;
  align-items: center;
  gap: 6px;
}
.ed .steps a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 2px 14px;
  color: var(--ui-muted);
  text-decoration: none;
  font: 500 21px/26px var(--hand);
}
.ed .steps a[aria-current="page"] {
  color: var(--ui-accent);
  font-weight: 700;
  background: transparent;
}
.ed .steps a[aria-current="page"]::after {
  content: "";
  position: absolute;
  inset: -2px -4px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 40' preserveAspectRatio='none'%3E%3Cpath d='M44 4C22 2 4 9 4 20s18 17 38 16 34-6 34-17S56 3 30 7' fill='none' stroke='%23C8352E' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E")
    center/100% 100% no-repeat;
}
.ed .steps .dot {
  color: #97a8b2;
  font: 20px/1 var(--hand);
}
.ed .body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 4px 56px 28px;
  min-height: 0;
}
.ed .head {
  height: 72px;
  flex: none;
}
.ed .grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 56px;
  min-height: 0;
}
.ed .stage {
  position: relative;
  min-height: 0;
}
.ed .side {
  min-height: 0;
  padding-top: 18px;
}
.ed .hb {
  position: relative;
  border-radius: 999px;
  background: transparent;
  color: var(--ui-accent);
  font: 700 22px/24px var(--hand);
  isolation: isolate;
}
.ed .hb::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1.6px solid var(--ui-accent);
  border-radius: inherit;
  filter: url(#wob);
  z-index: -1;
  transition: background-color var(--ui-fast) ease-out;
}
.ed .hb:active:not(:disabled) {
  background: transparent;
}
.ed .hb:active:not(:disabled)::before {
  background: var(--ui-selected);
}
.ed .hb.fill {
  color: var(--ui-on-accent);
}
.ed .hb.fill::before {
  background: var(--ui-accent);
}
.ed .hb.fill:active:not(:disabled)::before {
  background: var(--ui-pressed);
}
.ed .hb.ic {
  width: 48px;
  padding: 0;
}
.ed i[data-lucide] {
  font-size: 20px;
  line-height: 0;
}
@media (prefers-reduced-motion: reduce) {
  .ed .hb::before {
    transition: none;
  }
}

.ph-head {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ph-head h1 {
  margin: 0;
  font: 700 40px/44px var(--hand);
  color: var(--ui-ink);
}
.ph-head h1 span {
  color: var(--ui-accent);
}
.ph-head .meta {
  display: flex;
  align-items: center;
  gap: 14px;
}
.ph-head .cnt {
  font: 700 22px/26px var(--hand);
  color: var(--ui-muted);
}
.ph-head .bar {
  width: 150px;
  height: 10px;
}
.ph-head .bar path {
  fill: none;
  stroke-linecap: round;
}
.ph-head .ui-button {
  padding: 8px 32px;
  gap: 10px;
}

.hs {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hs svg.sp {
  position: absolute;
  width: 0;
  height: 0;
}
.hs .roof {
  width: 690px;
  height: 112px;
  flex: none;
  display: block;
  margin-bottom: -2px;
}
.hs .roof path,
.hs .roof circle {
  fill: none;
  stroke: var(--ui-accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hs .facade {
  position: relative;
  width: 620px;
  padding: 22px 26px 24px;
  background: rgba(245, 248, 249, 0.6);
}
.hs .facade::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid var(--ui-accent);
  border-top: 0;
  filter: url(#wob);
  pointer-events: none;
}
.hs .wins {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px 14px;
}
.hs .pane {
  position: relative;
  height: 88px;
  padding: 0;
  border: 0;
  background: #edf2f5;
  border-radius: 44px 44px 4px 4px;
  cursor: pointer;
  font: inherit;
}
.hs .pane::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1.6px solid var(--ui-accent);
  border-radius: inherit;
  filter: url(#wob);
  pointer-events: none;
  z-index: 2;
}
.hs .ph {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  background: #dfe7eb;
}
.hs .ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hs .n {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 13px;
  transform: translateX(-50%);
  font: 700 19px/20px var(--hand);
  color: var(--ui-accent);
}
.hs .mo {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 9px;
  width: 38px;
  height: 38px;
  transform: translateX(-50%);
  fill: none;
  stroke: var(--ui-accent);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: url(#wob2);
}
.hs .full .n {
  left: 5px;
  top: auto;
  bottom: 4px;
  transform: none;
  font-size: 17px;
  min-width: 24px;
  padding: 0 5px;
  text-align: center;
  background: var(--ui-surface);
  border-radius: 10px 10px 10px 2px;
}
.hs .sel {
  background: var(--ui-selected);
}
.hs .sel::before {
  border-width: 2.6px;
}
.hs .sel .n {
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 32px;
  line-height: 32px;
}
.hs .pen {
  position: absolute;
  z-index: 4;
  right: -10px;
  top: -8px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--ui-accent);
  color: var(--ui-on-accent);
  display: grid;
  place-items: center;
}
.hs .pen i[data-lucide] {
  font-size: 14px;
}
.hs .p25 {
  background: #f3ecec;
}
.hs .ground {
  width: 760px;
  height: 22px;
  flex: none;
}
.hs .ground path {
  fill: none;
  stroke: var(--ui-accent);
  stroke-width: 2;
  stroke-linecap: round;
}
.hs .tag {
  position: absolute;
  left: 0;
  top: 150px;
  transform: rotate(-7deg);
  transform-origin: top center;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 5;
}
.hs .tag > svg path {
  fill: none;
  stroke: var(--ui-accent);
  stroke-width: 1.6;
  stroke-linecap: round;
}
.hs .tg {
  position: relative;
  margin-top: -3px;
  padding: 6px 16px 8px 24px;
  font: 700 22px/24px var(--hand);
  color: var(--ui-accent);
  isolation: isolate;
}
.hs .tg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ui-surface);
  clip-path: polygon(15px 0, 100% 0, 100% 100%, 15px 100%, 0 50%);
  z-index: -1;
}
.hs .tg svg.out {
  position: absolute;
  inset: -1px;
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  z-index: 1;
  filter: url(#wob);
}
.hs .tg svg.out path {
  fill: none;
  stroke: var(--ui-accent);
  stroke-width: 1.6;
}
.hs .tg .hole {
  position: absolute;
  left: 11px;
  top: 50%;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border: 1.4px solid var(--ui-accent);
  border-radius: 50%;
}
.hs .deco {
  position: absolute;
  fill: none;
  stroke: var(--ui-accent);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: url(#wob2);
  pointer-events: none;
}

.ec {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 34px 28px 26px;
  isolation: isolate;
}
.ec::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ui-surface);
  border: 1.6px solid var(--ui-accent);
  border-radius: var(--ui-sheet-radius);
  filter: url(#wob);
  z-index: -1;
}
.ec .no {
  position: absolute;
  top: -20px;
  left: 26px;
  transform: rotate(-3deg);
}
.ec .no b {
  position: relative;
  display: inline-block;
  padding: 4px 18px 6px 24px;
  color: var(--ui-on-accent);
  font: 700 22px/26px var(--hand);
  isolation: isolate;
}
.ec .no b::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ui-accent);
  clip-path: polygon(12px 0, 100% 0, 100% 100%, 12px 100%, 0 50%);
  filter: url(#wob);
  z-index: -1;
}
.ec h2 {
  margin: 0;
  font: 700 38px/42px var(--hand);
  color: var(--ui-accent);
}
.ec .lbl {
  display: block;
  margin-bottom: 8px;
  font: 700 20px/24px var(--hand);
  color: var(--ui-ink);
}
.ec .photo {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}
.ec .drop {
  position: relative;
  flex: 1;
  min-height: 170px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--ui-accent);
  cursor: pointer;
  isolation: isolate;
}
.ec .drop::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1.8px dashed var(--ui-accent);
  border-radius: 6px;
  filter: url(#wob);
  z-index: -1;
  background: rgba(200, 53, 46, 0.025);
}
.ec .drop svg {
  width: 64px;
  height: 54px;
}
.ec .drop svg path,
.ec .drop svg circle {
  fill: none;
  stroke: var(--ui-accent);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ec .drop strong {
  font: 700 22px/26px var(--hand);
}
.ec .fld {
  position: relative;
  isolation: isolate;
}
.ec .fld::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1.5px solid #97a8b2;
  border-radius: 6px;
  filter: url(#wob);
  z-index: -1;
  background: #fff;
}
.ec .fld:focus-within::before {
  border-color: var(--ui-focus);
  border-width: 2px;
}
.ec textarea.ui-field {
  display: block;
  resize: none;
  height: 110px;
  border: 0;
  background: linear-gradient(transparent 31px, #dfe7eb 31px) 0 10px/100% 32px;
  padding: 10px 16px;
  font: 500 26px/32px var(--hand);
  color: var(--ui-accent);
  outline: none;
}
.ec textarea.ui-field::placeholder {
  color: #97a8b2;
}
.ec .ft {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.ec .saved {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 600 18px/22px var(--hand);
  color: var(--ui-muted);
}
.ec .saved i[data-lucide] {
  font-size: 16px;
  color: #3f7a5a;
}
.ec .nav2 {
  display: flex;
  gap: 10px;
}

.share {
  --hand:
    "Caveat", "Bradley Hand", "Segoe Print", "Chalkboard SE", "Comic Sans MS",
    cursive;
  width: 1440px;
  height: 900px;
  min-height: 900px;
  position: relative;
  overflow: hidden;
  background: var(--ui-background);
}
.share .defs {
  position: absolute;
  width: 0;
  height: 0;
}
.share .wob {
  position: relative;
}
.share .wob::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid var(--ui-accent);
  border-radius: inherit;
  filter: url(#wobble);
  pointer-events: none;
}
.share .topbar-slot {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 88px;
}
.share .topbar {
  height: 88px;
  padding: 0 48px;
  justify-content: space-between;
  background: transparent;
  border: 0;
}
.share .wordmark {
  font-family: var(--hand);
  font-size: 28px;
  line-height: 32px;
  font-weight: 700;
  color: var(--ui-accent);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.share .wordmark i {
  font-size: 22px;
}
.share .steps {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--hand);
  font-size: 20px;
  color: var(--ui-muted);
}
.share .steps a {
  position: relative;
  color: inherit;
  text-decoration: none;
  padding: 8px 14px;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  background: transparent;
}
.share .steps .dot {
  color: var(--ui-border);
}
.share .steps a[aria-current="page"] {
  color: var(--ui-accent);
  background: transparent;
  font-weight: 700;
}
.share .steps a[aria-current="page"] svg {
  position: absolute;
  left: -6px;
  top: -2px;
  width: calc(100% + 12px);
  height: calc(100% + 4px);
  overflow: visible;
}
.share .stage {
  position: absolute;
  left: 120px;
  top: 120px;
  width: 600px;
  height: 720px;
}
.share .panel-slot {
  position: absolute;
  left: 780px;
  top: 186px;
  width: 500px;
  height: 560px;
}
.share .decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.share .house-frame {
  position: absolute;
  left: 40px;
  top: 70px;
  width: 520px;
  height: 600px;
  background: var(--ui-background);
}
.share .house-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: 50% 70%;
  mix-blend-mode: multiply;
  display: block;
}
.share .bow {
  position: absolute;
  left: 228px;
  top: 18px;
  width: 144px;
  height: 96px;
  filter: url(#wobble);
}
.share .tag {
  position: absolute;
  left: 452px;
  top: 300px;
  width: 150px;
  height: 190px;
}
.share .tag svg {
  position: absolute;
  inset: 0;
  filter: url(#wobble);
}
.share .tag span {
  position: absolute;
  left: 34px;
  top: 112px;
  width: 96px;
  text-align: center;
  transform: rotate(-8deg);
  font-family: var(--hand);
  font-size: 28px;
  line-height: 30px;
  color: var(--ui-accent);
  font-weight: 700;
}
.share .card {
  position: relative;
  height: 100%;
  padding: 40px 40px 36px;
  background: var(--ui-surface);
  border-radius: var(--ui-radius);
  display: grid;
  align-content: start;
  gap: var(--ui-section);
}
.share .card > *:not(.art) {
  position: relative;
  z-index: 1;
}
.share .opens {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  font-family: var(--hand);
  font-size: 16px;
  line-height: 18px;
  color: var(--ui-accent);
  background: transparent;
}
.share .opens i {
  font-size: 16px;
}
.share .title {
  margin: 0;
  font-family: var(--hand);
  font-size: 44px;
  line-height: 48px;
  font-weight: 700;
  color: var(--ui-ink);
}
.share .title em {
  font-style: normal;
  color: var(--ui-accent);
  position: relative;
}
.share .title em svg {
  position: absolute;
  left: -4px;
  bottom: -8px;
  width: calc(100% + 8px);
  height: 12px;
  overflow: visible;
}
.share .count {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-right: 88px;
}
.share .arches {
  display: grid;
  grid-template-columns: repeat(13, 14px);
  gap: 6px 6px;
}
.share .arches b {
  width: 14px;
  height: 18px;
  border: 1.6px solid var(--ui-accent);
  border-radius: 7px 7px 2px 2px;
  background: var(--ui-selected);
  display: block;
}
.share .done {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--hand);
  font-size: 26px;
  font-weight: 700;
  color: var(--ui-accent);
  margin-left: auto;
}
.share .done i {
  font-size: 22px;
}
.share .linkbox {
  display: grid;
  gap: 8px;
}
.share .linkbox label {
  font-family: var(--hand);
  font-size: 18px;
  line-height: 20px;
  color: var(--ui-muted);
}
.share .linkwrap {
  position: relative;
  border-radius: var(--ui-radius);
}
.share .linkwrap i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: var(--ui-accent);
  z-index: 1;
}
.share .ui-field.link {
  height: 52px;
  padding-left: 44px;
  border: 1px dashed var(--ui-border);
  background: #fff;
  font: var(--ui-copy-16);
  color: var(--ui-ink);
  letter-spacing: 0.2px;
}
.share .ui-button.copy {
  width: 100%;
  height: 60px;
  border-radius: 999px;
  font-family: var(--hand);
  font-size: 26px;
  font-weight: 700;
  position: relative;
}
.share .ui-button.copy::before {
  border-color: var(--ui-pressed);
  inset: -4px;
}
.share .ui-button.copy i {
  font-size: 20px;
}
/* doodle illustrations */
.share .art {
  position: absolute;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.share .art img {
  width: 100%;
  height: 100%;
  display: block;
  mix-blend-mode: multiply;
}
.share .art-snow {
  left: 250px;
  top: 14px;
  width: 236px;
  height: 150px;
  background: var(--ui-surface);
  opacity: 0.85;
}
.share .art-snow img {
  object-fit: cover;
  object-position: 50% 30%;
}
.share .art-tag {
  left: 428px;
  top: 118px;
  width: 118px;
  height: 150px;
  background: transparent;
  z-index: 2;
  transform: rotate(6deg);
}
.share .art-tag img {
  object-fit: contain;
  object-position: 50% 50%;
}
.share .art-sled {
  left: 276px;
  top: 404px;
  width: 196px;
  height: 132px;
  background: var(--ui-surface);
}
.share .art-sled img {
  object-fit: contain;
  object-position: 50% 70%;
}
.share .art-snow-low {
  left: 28px;
  top: 410px;
  width: 200px;
  height: 120px;
  background: var(--ui-surface);
  opacity: 0.7;
}
.share .art-snow-low img {
  object-fit: cover;
  object-position: 50% 80%;
}

.open-screen {
  --hand:
    "Bradley Hand", "Segoe Print", "Chalkboard SE", "Comic Sans MS", cursive;
  position: relative;
  width: 1440px;
  height: 900px;
  overflow: hidden;
  background: var(--ui-background);
}
.open-screen .backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.open-screen .backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.35;
  mix-blend-mode: multiply;
  background: transparent;
}
.open-screen .wob {
  filter: url(#gift-wob);
}
.open-screen .topbar {
  position: relative;
  z-index: 2;
  height: 80px;
  padding: 0 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.open-screen .main {
  position: relative;
  z-index: 1;
  height: 820px;
  display: grid;
  grid-template-columns: 1fr 500px;
  gap: 48px;
  padding: 0 112px 0 96px;
}
.open-screen .house-slot {
  position: relative;
  height: 100%;
}
.open-screen .side-slot {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 64px;
}
/* topbar */
.open-screen .wordmark {
  font-family: var(--hand);
  font-size: 26px;
  font-weight: 700;
  color: var(--ui-accent);
  display: flex;
  align-items: center;
  gap: 10px;
}
.open-screen .wordmark i {
  font-size: 24px;
}
.open-screen .date-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 6px 18px;
  font-family: var(--hand);
  font-size: 20px;
  color: var(--ui-accent);
}
.open-screen .date-chip::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid var(--ui-accent);
  border-radius: 999px;
  filter: url(#gift-wob);
}
.open-screen .date-chip i {
  font-size: 18px;
}
/* house */
.open-screen .house {
  position: absolute;
  left: 50%;
  top: 0;
  width: 640px;
  transform: translateX(-50%);
}
.open-screen .roof {
  position: relative;
  height: 150px;
}
.open-screen .roof svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.open-screen .roof-name {
  position: absolute;
  left: 0;
  right: 0;
  top: 78px;
  text-align: center;
  font-family: var(--hand);
  font-size: 30px;
  font-weight: 700;
  color: var(--ui-accent);
  letter-spacing: 0.5px;
}
.open-screen .facade {
  position: relative;
  margin: 0 16px;
  padding: 26px 40px 30px;
}
.open-screen .facade::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 2.5px solid var(--ui-accent);
  border-top: 0;
  border-radius: 0 0 3px 3px;
  filter: url(#gift-wob);
  pointer-events: none;
}
.open-screen .grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 88px);
  column-gap: 20px;
  row-gap: 16px;
  justify-content: center;
}
.open-screen .win {
  position: relative;
  width: 88px;
  height: 96px;
}
.open-screen .win .pane {
  position: absolute;
  inset: 0;
  border-radius: 44px 44px 4px 4px;
  overflow: hidden;
  background: var(--ui-surface);
}
.open-screen .win .pane img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #e9eef1;
}
.open-screen .win::after {
  content: "";
  position: absolute;
  inset: -2px;
  border: 2px solid var(--ui-accent);
  border-radius: 46px 46px 5px 5px;
  filter: url(#gift-wob);
  pointer-events: none;
}
.open-screen .num {
  position: absolute;
  left: 50%;
  bottom: -2px;
  transform: translate(-50%, 40%);
  min-width: 26px;
  height: 22px;
  padding: 0 6px;
  display: grid;
  place-items: center;
  background: var(--ui-surface);
  border-radius: 11px;
  font-family: var(--hand);
  font-size: 15px;
  font-weight: 700;
  color: var(--ui-accent);
  font-variant-numeric: tabular-nums;
  z-index: 2;
}
.open-screen .num::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1.5px solid var(--ui-accent);
  border-radius: 11px;
  filter: url(#gift-wob);
}
.open-screen .win.locked .pane img {
  transform: scale(2.4);
  opacity: 0.5;
  mix-blend-mode: multiply;
  background: transparent;
}
.open-screen .win.locked .pane {
  background: #eef3f5;
}
.open-screen .lock {
  position: absolute;
  right: 8px;
  top: 30px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  color: var(--ui-accent);
  font-size: 15px;
  background: var(--ui-surface);
  border-radius: 50%;
  z-index: 2;
}
.open-screen .win.open .pane {
  box-shadow: inset 0 0 0 3px var(--ui-surface);
}
/* today */
.open-screen .win.today .glow {
  position: absolute;
  inset: -22px;
  border-radius: 50%;
  background: radial-gradient(
    closest-side,
    rgba(255, 214, 150, 0.95),
    rgba(255, 214, 150, 0.45) 55%,
    rgba(255, 214, 150, 0)
  );
  z-index: -1;
}
.open-screen .win.today .pane {
  background: #fff6e6;
  display: flex;
}
.open-screen .win.today .shutter {
  flex: 1;
  position: relative;
}
.open-screen .win.today .shutter + .shutter::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  border-left: 2px solid var(--ui-accent);
  filter: url(#gift-wob);
}
.open-screen .win.today .knob {
  position: absolute;
  top: 56px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ui-accent);
}
.open-screen .win.today .shutter:first-child .knob {
  right: 5px;
}
.open-screen .win.today .shutter:last-child .knob {
  left: 5px;
}
.open-screen .win.today::after {
  border-width: 3px;
}
.open-screen .spark {
  position: absolute;
  color: var(--ui-accent);
  font-size: 16px;
  z-index: 3;
}
.open-screen .today-tag {
  position: absolute;
  left: 50%;
  top: -30px;
  transform: translateX(-50%) rotate(-4deg);
  font-family: var(--hand);
  font-size: 16px;
  font-weight: 700;
  color: var(--ui-accent);
  white-space: nowrap;
  z-index: 3;
}
/* hint tag */
.open-screen .hint {
  position: absolute;
  top: -26px;
  right: -34px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: rotate(6deg);
}
.open-screen .hint .label {
  position: relative;
  padding: 3px 10px 3px 14px;
  background: var(--ui-surface);
  font-family: var(--hand);
  font-size: 13px;
  font-weight: 700;
  color: var(--ui-accent);
  white-space: nowrap;
}
.open-screen .hint .label::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1.5px solid var(--ui-accent);
  border-radius: 3px 3px 3px 10px;
  filter: url(#gift-wob);
}
.open-screen .hint .label::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 50%;
  width: 4px;
  height: 4px;
  margin-top: -2px;
  border-radius: 50%;
  border: 1.2px solid var(--ui-accent);
}
.open-screen .hint .string {
  width: 1.5px;
  height: 14px;
  background: var(--ui-accent);
  transform: rotate(-20deg);
  transform-origin: top;
}
.open-screen .ground {
  position: absolute;
  left: -60px;
  right: -60px;
  bottom: -6px;
  height: 20px;
}
.open-screen .ground svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
/* card */
.open-screen .paper {
  position: relative;
  background: var(--ui-surface);
  border-radius: var(--ui-radius);
  padding: 20px 20px 24px;
}
.open-screen .paper::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid var(--ui-accent);
  border-radius: var(--ui-radius);
  filter: url(#gift-wob);
  pointer-events: none;
}
.open-screen .card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.open-screen .card-day {
  font-family: var(--hand);
  font-size: 22px;
  font-weight: 700;
  color: var(--ui-accent);
  display: flex;
  align-items: center;
  gap: 10px;
}
.open-screen .card-day .ring {
  position: relative;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  font-variant-numeric: tabular-nums;
}
.open-screen .card-day .ring::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid var(--ui-accent);
  border-radius: 50%;
  filter: url(#gift-wob);
}
.open-screen .card-body {
  display: grid;
  grid-template-columns: 236px 1fr;
  gap: 20px;
  align-items: stretch;
}
.open-screen .photo {
  position: relative;
  height: 300px;
  padding: 8px 8px 28px;
  background: #fff;
  transform: rotate(-2deg);
}
.open-screen .photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1.5px solid var(--ui-accent);
  filter: url(#gift-wob);
}
.open-screen .photo .ph {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #e9eef1;
}
.open-screen .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}
.open-screen .note {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding-right: 4px;
}
.open-screen .note p {
  margin: 0;
  font-family: var(--hand);
  font-size: 30px;
  line-height: 38px;
  font-weight: 700;
  color: var(--ui-accent);
  transform: rotate(-3deg);
}
.open-screen .note .doodles {
  display: flex;
  gap: 10px;
  color: var(--ui-accent);
  font-size: 22px;
}
.open-screen .open-btn {
  position: relative;
  margin-top: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 60px;
  border-radius: 999px;
  font-family: var(--hand);
  font-size: 24px;
  font-weight: 700;
  background: var(--ui-accent);
  color: var(--ui-on-accent);
  border: 0;
  cursor: pointer;
}
.open-screen .open-btn::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 2px solid var(--ui-accent);
  border-radius: 999px;
  filter: url(#gift-wob);
}
.open-screen .open-btn i {
  font-size: 22px;
}
.open-screen .btn-hint {
  margin-top: 16px;
  text-align: center;
  font-family: var(--hand);
  font-size: 16px;
  color: var(--ui-muted);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
}
.open-screen .btn-hint i {
  font-size: 14px;
  color: var(--ui-accent);
}

.code {
  --hand:
    "Caveat", "Bradley Hand", "Segoe Print", "Chalkboard SE", "Comic Sans MS",
    cursive;
  width: 1440px;
  height: 900px;
  min-height: 900px;
  position: relative;
  overflow: hidden;
  background: var(--ui-background);
}
.code .defs {
  position: absolute;
  width: 0;
  height: 0;
}
.code .decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.code .topbar-slot {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 88px;
}
.code .topbar {
  height: 88px;
  padding: 0 48px;
  justify-content: space-between;
  background: transparent;
  border: 0;
}
.code .wordmark {
  font-family: var(--hand);
  font-size: 28px;
  line-height: 32px;
  font-weight: 700;
  color: var(--ui-accent);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.code .wordmark i {
  font-size: 22px;
}
.code .navlink {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 4px 14px;
  font: 700 21px/24px var(--hand);
  color: var(--ui-accent);
  text-decoration: none;
  background: transparent;
}
.code .navlink i {
  font-size: 18px;
}
.code .navlink svg.u {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  width: calc(100% - 24px);
  height: 8px;
  overflow: visible;
}
.code .stage-slot {
  position: absolute;
  left: 110px;
  top: 112px;
  width: 620px;
  height: 740px;
}
.code .panel-slot {
  position: absolute;
  left: 790px;
  top: 176px;
  width: 520px;
  height: 580px;
}
/* stage */
.code .stage {
  position: relative;
  width: 100%;
  height: 100%;
}
.code .house {
  position: absolute;
  left: 50px;
  top: 40px;
  width: 520px;
  height: 640px;
  background: transparent;
}
.code .house img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: 50% 70%;
  mix-blend-mode: multiply;
  display: block;
}
.code .snow {
  position: absolute;
  left: 0;
  top: 0;
  width: 620px;
  height: 240px;
  opacity: 0.6;
  background: transparent;
}
.code .snow img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
  mix-blend-mode: multiply;
  display: block;
}
.code .tag {
  position: absolute;
  left: 420px;
  top: 250px;
  width: 170px;
  height: 220px;
  transform: rotate(7deg);
  transform-origin: 40px 0;
}
.code .tag svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: url(#cwob);
}
.code .tag svg path,
.code .tag svg circle {
  fill: none;
  stroke: var(--ui-accent);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.code .tag svg .paper {
  fill: var(--ui-surface);
}
.code .tag .q {
  position: absolute;
  left: 44px;
  top: 108px;
  width: 110px;
  text-align: center;
  font: 700 22px/24px var(--hand);
  color: var(--ui-accent);
  transform: rotate(-4deg);
}
.code .tag .q b {
  display: block;
  font-size: 30px;
  line-height: 32px;
  letter-spacing: 1px;
}
.code .ground {
  position: absolute;
  left: 0;
  top: 676px;
  width: 620px;
  height: 24px;
}
.code .ground path {
  fill: none;
  stroke: var(--ui-accent);
  stroke-width: 2;
  stroke-linecap: round;
}
/* panel */
.code .card {
  position: relative;
  height: 100%;
  padding: 40px 40px 36px;
  background: var(--ui-surface);
  border-radius: var(--ui-radius);
  display: grid;
  align-content: start;
  gap: var(--ui-section);
}
.code .card::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid var(--ui-accent);
  border-radius: inherit;
  filter: url(#cwob);
  pointer-events: none;
}
.code .card > * {
  position: relative;
  z-index: 1;
}
.code .kicker {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 700 20px/22px var(--hand);
  color: var(--ui-accent);
}
.code .kicker i {
  font-size: 18px;
}
.code .ttl {
  margin: -12px 0 0;
  font: 700 48px/52px var(--hand);
  color: var(--ui-ink);
}
.code .ttl em {
  font-style: normal;
  color: var(--ui-accent);
  position: relative;
  white-space: nowrap;
}
.code .ttl em svg {
  position: absolute;
  left: -4px;
  bottom: -6px;
  width: calc(100% + 8px);
  height: 12px;
  overflow: visible;
}
.code .fieldset {
  display: grid;
  gap: 8px;
}
.code .fieldset label {
  font: 700 20px/22px var(--hand);
  color: var(--ui-muted);
}
.code .inwrap {
  position: relative;
}
.code .inwrap::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1.8px solid var(--ui-accent);
  border-radius: var(--ui-radius);
  filter: url(#cwob);
  pointer-events: none;
  z-index: 2;
}
.code .inwrap i.key {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--ui-accent);
  z-index: 1;
}
.code .ui-field.cd {
  height: 68px;
  padding: 0 20px 0 54px;
  border: 0;
  background: #fff;
  font: 700 34px/40px var(--hand);
  letter-spacing: 4px;
  color: var(--ui-ink);
}
.code .hint {
  display: flex;
  align-items: center;
  gap: 8px;
  font: 500 18px/20px var(--hand);
  color: var(--ui-muted);
}
.code .hint i {
  font-size: 16px;
  color: var(--ui-accent);
}
.code .ui-button.go {
  position: relative;
  width: 100%;
  height: 62px;
  border-radius: 999px;
  background: transparent;
  color: var(--ui-on-accent);
  font: 700 28px/30px var(--hand);
  isolation: isolate;
}
.code .ui-button.go::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--ui-accent);
  border: 2px solid var(--ui-pressed);
  filter: url(#cwob);
  z-index: -1;
  transition: background-color var(--ui-fast) ease-out;
}
.code .ui-button.go:active::before {
  background: var(--ui-pressed);
}
.code .ui-button.go i {
  font-size: 22px;
}
.code .owner {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 8px;
  font: 700 21px/24px var(--hand);
  color: var(--ui-accent);
  text-decoration: none;
  position: relative;
}
.code .owner i {
  font-size: 18px;
}
.code .owner svg.u {
  position: absolute;
  left: 34px;
  right: 8px;
  bottom: 8px;
  width: calc(100% - 42px);
  height: 8px;
  overflow: visible;
}
.code .cat {
  position: absolute;
  right: 20px;
  bottom: 18px;
  width: 120px;
  height: 120px;
  z-index: 0;
  background: transparent;
  opacity: 0.9;
}
.code .cat img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: 50% 100%;
  mix-blend-mode: multiply;
  display: block;
}
@media (prefers-reduced-motion: reduce) {
  .code .ui-button.go::before {
    transition: none;
  }
}

/* Functional states and layout around the five source artboards. */
@font-face {
  font-family: "House Hand";
  src: url(caveat.ttf) format("truetype");
  font-weight: 400 700;
  font-display: swap;
}
.ui-screen {
  margin: auto;
  zoom: var(--board-scale, 1);
}
.ui-screen.home,
.ui-screen.open-screen,
.ui-screen.ed,
.ui-screen.share,
.ui-screen.code {
  --hand: "Bradley Hand", "Segoe Print", "House Hand", cursive;
}
.home .ui-button {
  text-decoration: none;
}
.sample-windows {
  position: absolute;
  height: 100%;
  aspect-ratio: 2/3;
  left: 50%;
  transform: translateX(-50%);
}
.sample-windows a {
  position: absolute;
  width: 6%;
  height: 6%;
  transform: translate(-50%, -50%);
  border-radius: 50% 50% 3px 3px;
}
.sample-windows a:hover,
.sample-windows a:focus-visible {
  background: #c8352e33;
}
.credit {
  text-align: center;
  padding: 12px;
  font:
    18px "House Hand",
    cursive;
}
.credit a,
.subtle,
.private {
  color: var(--ui-muted);
}
.subtle {
  background: none;
  border: 0;
  align-self: center;
  font: 19px/1.3 var(--hand);
  text-decoration: underline;
  text-underline-offset: 4px;
}
#status:not(:empty) {
  position: fixed;
  z-index: 5;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 94vw;
  background: var(--ui-surface);
  padding: 10px 20px;
  border: 1px solid var(--ui-error);
  color: var(--ui-error);
  border-radius: 5px;
  font: 16px system-ui;
}
.file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.drop:focus-within {
  outline: 2px solid var(--ui-focus);
}
#thumb {
  position: absolute;
  inset: 4px;
  width: calc(100% - 8px);
  height: calc(100% - 8px);
  object-fit: contain;
  background: var(--ui-surface);
}
.hs .sel .mo {
  display: none;
}
.hs .full.sel .n {
  left: 50%;
  bottom: auto;
}
.ec .delete {
  align-self: flex-end;
}
.share .card {
  min-height: 100%;
  height: auto;
}
.share .arches .empty {
  background: transparent;
}
.private,
.privacy-note,
#copied {
  font: 18px/1.3 var(--hand);
}
.private summary {
  cursor: pointer;
}
.private input {
  min-width: 0;
  margin-block: 6px;
}
.code .privacy-note {
  color: var(--ui-muted);
  max-width: 80%;
}
.open-screen .win {
  display: block;
  border: 0;
  background: none;
  padding: 0;
  text-align: inherit;
  cursor: pointer;
}
.open-screen .win.ready .pane {
  background:
    linear-gradient(90deg, transparent 49%, #c8352e80 50%, transparent 51%),
    #edf2f5;
}
.open-screen .win .lock {
  z-index: 2;
}
.open-screen .side-slot > .subtle {
  margin-top: 14px;
}
#wrapped-gift {
  display: block;
  width: min(75%, 420px);
  margin: 18% auto;
}
.open-screen .paper.unfold {
  animation: unfold 0.35s ease-out;
}
@keyframes unfold {
  from {
    transform: perspective(800px) rotateY(-12deg);
    opacity: 0.5;
  }
}
.ui-screen h1,
.roof-name,
#share-tag,
#tag-name,
.note p {
  overflow-wrap: anywhere;
}
.story-page {
  min-height: 100svh;
  color: var(--ui-ink);
  font-family: "Bradley Hand", "House Hand", cursive;
}
.story-page header {
  padding: 24px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.story-page a {
  color: var(--ui-accent);
}
.story-page header a {
  text-decoration: none;
  font-size: 24px;
}
.story-page .story {
  max-width: 1100px;
  margin: 32px auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  align-items: center;
  gap: 50px;
  padding: 0 5%;
}
.story img {
  width: 100%;
  mix-blend-mode: multiply;
}
.story h1 {
  font-size: 46px;
  color: var(--ui-accent);
  line-height: 1.1;
}
.story p {
  line-height: 1.6;
  font: 16px/1.6 system-ui;
  margin-block: 14px;
}
.story h2 {
  margin-top: 20px;
}
.story .button {
  font-size: 22px;
}
@media (max-width: 800px) {
  .ui-screen {
    zoom: 1 !important;
    width: 100% !important;
    height: auto !important;
    min-height: 100svh !important;
  }
  .home .top,
  .ed .top,
  .open-screen .topbar,
  .code .topbar,
  .share .topbar {
    padding: 0 4%;
    height: 64px;
  }
  .home .ui-nav {
    height: 64px;
  }
  .home .mark,
  .ed .brand,
  .share .wordmark,
  .code .wordmark,
  .open-screen .wordmark {
    font-size: clamp(17px, 4.4vw, 24px);
    gap: 4px;
  }
  .home .mark svg,
  .ed .brand svg {
    width: 24px;
  }
  .home .steps,
  .ed .steps,
  .share .steps {
    gap: 0;
  }
  .home .steps a,
  .ed .steps a,
  .share .steps a {
    font-size: 16px;
    padding: 5px;
  }
  .home {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 68px 12px 95px;
  }
  .home .hero {
    order: -1;
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: 100%;
    height: clamp(275px, 42svh, 480px);
  }
  .home .hero .tag {
    width: 63px;
    height: 84px;
    top: 18%;
    right: 4%;
  }
  .home .tag span {
    top: 60%;
    font-size: 13px;
    line-height: 1;
  }
  .home .cta {
    position: relative;
    inset: auto;
    height: auto;
    margin: 18px 0;
  }
  .home h1 {
    font-size: clamp(27px, 6.5vw, 42px);
    line-height: 1.25;
    white-space: normal;
  }
  .home .actions {
    margin-top: 24px;
    gap: 6px;
  }
  .home .ui-button {
    min-height: 48px;
    font-size: 20px;
    padding: 0 28px;
  }
  .home .snow {
    width: 100%;
    height: 100px;
  }
  .home .ill {
    display: none;
  }
  .home .corner {
    width: 23%;
    height: auto;
    bottom: 8px;
    top: auto;
  }
  .home .cat {
    left: 0;
  }
  .home .doodles {
    left: auto;
    right: 0;
  }
  .ed .body {
    padding: 0 4% 24px;
  }
  .ed .head {
    height: auto;
    padding: 8px 0 14px;
  }
  .ph-head .meta {
    gap: 8px;
  }
  .ph-head h1 {
    font-size: 24px;
    line-height: 1.2;
  }
  .ph-head .bar {
    display: none;
  }
  .ph-head .cnt {
    font-size: 17px;
  }
  .ph-head .ui-button {
    font-size: 16px;
    min-height: 36px;
    padding: 4px 12px;
  }
  .ed .grid,
  .open-screen .main {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .hs,
  .open-screen .house {
    position: relative;
    inset: auto;
    transform: none;
    width: 100%;
  }
  .hs .roof,
  .hs .ground {
    width: 100%;
    height: auto;
  }
  .hs .facade {
    width: 93%;
    padding: 10px;
  }
  .hs .wins {
    gap: 8px;
  }
  .hs .pane {
    height: auto;
    aspect-ratio: 1.05;
  }
  .hs .n {
    top: 6px;
    font-size: 15px;
  }
  .hs .mo {
    width: 45%;
    height: 45%;
    bottom: 4px;
  }
  .hs .deco,
  .hs .tag {
    display: none;
  }
  .ed .side {
    padding-top: 12px;
  }
  .ec {
    padding: 30px 18px 16px;
    gap: 12px;
  }
  .ec .drop {
    min-height: 130px;
  }
  .code,
  .share {
    padding: 64px 5% 28px;
  }
  .code .topbar-slot,
  .share .topbar-slot {
    height: 64px;
  }
  .code .stage-slot,
  .share .stage {
    position: relative;
    inset: auto;
    height: 200px;
    width: 100%;
  }
  .code .house,
  .share .house-frame {
    height: 100%;
    width: 100%;
    inset: 0;
  }
  .code .ground,
  .code .tag,
  .share .tag,
  .share .bow {
    display: none;
  }
  .code .snow {
    width: 100%;
    height: 70px;
  }
  .code .panel-slot,
  .share .panel-slot {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    margin-top: 12px;
  }
  .code .card,
  .share .card {
    height: auto;
    padding: 24px 20px;
    gap: 16px;
  }
  .code .cat {
    width: 55px;
    height: 55px;
  }
  .share .count {
    padding: 0;
  }
  .share .arches {
    grid-template-columns: repeat(13, 10px);
    gap: 4px;
  }
  .share .arches b {
    width: 10px;
    height: 14px;
  }
  .share .title,
  .code .ttl {
    font-size: 34px;
    line-height: 1.2;
  }
  .open-screen .main {
    height: auto;
    padding: 8px 5% 30px;
  }
  .open-screen .roof {
    height: auto;
    aspect-ratio: 640/150;
  }
  .open-screen .roof-name {
    top: 53%;
    font-size: clamp(16px, 4.5vw, 26px);
  }
  .open-screen .facade {
    margin: 0 2%;
    padding: 14px 3% 20px;
  }
  .open-screen .grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px 9px;
  }
  .open-screen .win {
    width: 100%;
    height: auto;
    aspect-ratio: 88/96;
  }
  .open-screen .side-slot {
    height: auto;
    padding: 0;
  }
  .open-screen .card-body {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 12px;
  }
  .open-screen .photo {
    height: 190px;
  }
  .open-screen .note p {
    font-size: 21px;
    line-height: 1.25;
  }
  .open-screen .num {
    height: 17px;
    font-size: 12px;
    min-width: 20px;
  }
  .open-screen .win.today .knob {
    top: 60%;
  }
  .open-screen .today-tag {
    font-size: 12px;
  }
  .story-page .story {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .story img {
    height: 180px;
    object-fit: contain;
  }
}
@media (prefers-reduced-motion: reduce) {
  .open-screen .paper.unfold {
    animation: none;
  }
}

@media (max-width: 800px) {
  .home .mark, .ed .brand, .share .wordmark, .code .wordmark {
    white-space: nowrap;
  }
  .home .ui-nav, .ed .top, .share .topbar {
    gap: 4px;
  }
}
@media (max-width: 380px) {
  .home .mark svg, .ed .brand svg, .share .wordmark i {
    display: none;
  }
  .home .steps a, .ed .steps a, .share .steps a {
    font-size: 15px;
    padding-inline: 2px;
  }
}

/* Extract the original warm ink from its cool paper at paint time. */
img:is([src$="/house-lineart.webp"], [src$="/snow-stars.webp"], [src$="/cat-windowsill.webp"], [src$="/doodle-set.webp"]) {
  filter: url("ink.svg#red-ink");
  mix-blend-mode: normal;
}
.code .house img, .code .snow img, .code .cat img {
  mix-blend-mode: normal;
}
