/* A local, lightweight anniversary invitation. All ornament is decorative. */
.celebration-guest{background:radial-gradient(ellipse at 95% 14%,#e9dbc44d,transparent 42%),radial-gradient(ellipse at 0 40%,#dce5d447,transparent 38%),#faf7ef}
.celebration-guest .guest-header{background:#faf7eff5;border-bottom:1px solid #d8cbb5;box-shadow:0 4px 22px #594a2a09}
.celebration-guest .guest-header .guest-menu-toggle{border-radius:24px;background:#fffdf8;box-shadow:0 2px 6px #594a2a08}
.celebration-guest .guest-header #guest-navigation{border-radius:0 0 16px 16px;border-top:3px solid #b69b77;box-shadow:0 16px 35px #423e2f20}
.celebration-guest .welcome{gap:clamp(2rem,6vw,6rem);padding-top:3.5rem;padding-bottom:4rem}
.celebration-guest .arch{background:radial-gradient(ellipse at 50% 15%,#fffdf8b3,transparent 50%),linear-gradient(135deg,#e5ebde,#d4dfc9 65%,#e9dfc8);border-color:#9eae91;box-shadow:inset 0 0 0 12px #fffdf838,0 25px 60px #435a3d18;isolation:isolate}
.celebration-guest .arch:before{content:"";position:absolute;inset:22px;border:1px solid #9a885a70;border-radius:240px 240px 3px 3px;pointer-events:none;z-index:-1}
.celebration-guest .arch h1{color:#34472d;text-shadow:0 1px #fff8}.celebration-guest .arch .branches{opacity:.72}
.celebration-guest .welcome-form{position:relative}.celebration-guest .welcome-form>h2{letter-spacing:-.035em}.celebration-guest .welcome-form>.eyebrow{color:#786342}
.celebration-guest input,.celebration-guest textarea{background:#fffefa;box-shadow:inset 0 1px 3px #423e2f05;border-radius:6px}
.celebration-guest .recovery-pin-fields{background:#fffdf875;border-color:#ded8c9;border-radius:10px}
.celebration-guest .primary{background:linear-gradient(115deg,#435a3d,#344b30);border:1px solid #344b30;box-shadow:0 4px 12px #33492b16;border-radius:7px}
.celebration-guest .primary:hover{background:#31482c;box-shadow:0 6px 16px #33492b26}
.celebration-guest .personal-welcome{background:linear-gradient(100deg,#e9eee5,#f4f5eb);border:1px solid #cbd5c3;border-left:3px solid #82977a;border-radius:8px;margin-top:1.4rem;box-shadow:0 4px 16px #435a3d05}
.celebration-guest .home-heading{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,300px);gap:2rem;align-items:center;padding:2rem 2.5rem;margin:1.5rem 0 2rem;background:linear-gradient(115deg,#fffdf8,#f0eadb80);border:1px solid #d8ccb6;border-radius:10px;box-shadow:0 16px 40px #78634208;isolation:isolate}
.celebration-guest .home-heading:before{content:"";position:absolute;inset:7px;border:1px solid #b69b7740;border-radius:5px;pointer-events:none;z-index:-1}
.celebration-guest .home-heading h1{font-size:clamp(2.5rem,5.2vw,4.9rem);line-height:1.12;letter-spacing:-.045em;color:#384b31;margin:.75rem 0}
.celebration-guest .home-heading h1 em{color:#927346;font-weight:normal}.celebration-guest .home-heading .subtitle{font-size:clamp(1.2rem,2.1vw,1.65rem);color:#786342;margin:.6rem 0}
.celebration-guest .home-heading .eyebrow{font-size:.75rem;letter-spacing:.15em;line-height:1.8;margin:0}
.anniversary-emblem{display:block;width:100%;height:auto;filter:drop-shadow(0 4px 8px #92734612)}
.celebration-guest #guest-home:not([data-experience="home"]) .home-heading{display:none}
.celebration-guest #guest-home:not([data-experience="home"]) .personal-welcome{display:none}
.celebration-guest .game-order{position:relative;background:#fffdf8;border:1px solid #a8b69b;border-top:3px solid #82977a;border-radius:10px;padding:1.7rem 2rem;box-shadow:0 8px 28px #435a3d08}
.celebration-guest .game-order h2{color:#384b31}.celebration-guest .game-order .help-note{color:#625f55}
.celebration-guest .event-note{border-radius:8px;background:#e9eee580;border-color:#cbd5c3}
.celebration-guest .section-heading{position:relative;padding-top:1.3rem}.celebration-guest .section-heading:before{content:"";position:absolute;top:0;left:calc(50% - 35px);width:70px;height:1px;background:linear-gradient(90deg,transparent,#927346,transparent)}
.celebration-guest .section-heading h2{letter-spacing:-.025em;color:#384b31}.celebration-guest .section-heading .eyebrow{color:#786342}
.celebration-guest .experience-cards{gap:1.5rem}.celebration-guest .experience-card{overflow:hidden;border-color:#c8d1bf;background:linear-gradient(155deg,#f5f7ef,#e9eee5);box-shadow:0 10px 30px #435a3d09,inset 0 0 0 7px #fff8;border-radius:150px 150px 12px 12px;padding:2.4rem 1.5rem 1.7rem;transition:transform .2s,box-shadow .2s}
.celebration-guest .experience-card:before{content:"";position:absolute;inset:12px;border:1px solid #82977a35;border-radius:inherit;pointer-events:none}
.celebration-guest .experience-card h3{position:relative;color:#384b31;letter-spacing:-.025em}.celebration-guest .experience-card .eyebrow{position:relative;font-size:.7rem;letter-spacing:.14em}
.celebration-guest .experience-card .card-icon{display:grid;place-items:center;width:96px;height:96px;flex-shrink:0;border:1px solid #b6c2ac;border-radius:50%;background:#fffdf89c;color:#526b45;margin:0 auto 1.5rem}
.celebration-guest .card-icon svg{width:72px;height:72px;max-width:100%}
.celebration-guest .experience-card.bingo-card{border-color:#d5c3a4;background:linear-gradient(155deg,#fffaf0,#eddfc5)}.celebration-guest .bingo-card .card-icon{color:#81613b;border-color:#d0bb98}.celebration-guest .bingo-card:before{border-color:#b69b7740}
.celebration-guest .experience-card.menu-card{background:linear-gradient(155deg,#fffefa,#f2eee2);border-color:#d8ccb6}.celebration-guest .menu-card .card-icon{color:#81613b;border-color:#d8ccb6}
.celebration-guest .card-action{position:relative;display:flex;align-items:center;justify-content:space-between;gap:1rem;border-top-color:#b2bca4;font-weight:600}.celebration-guest .card-action:after{content:"\2192";font-size:1.4rem;font-weight:normal;flex-shrink:0}
.celebration-guest .menu-paper{position:relative;border-radius:120px 120px 10px 10px;padding-top:4rem;border-color:#d3c4a8;background:linear-gradient(160deg,#fffefa,#fbf7ed);box-shadow:0 18px 45px #7863420c,inset 0 0 0 8px #fffdf8}.celebration-guest .menu-paper:before{content:"";position:absolute;inset:12px;border:1px solid #d3c4a870;border-radius:inherit;pointer-events:none}.celebration-guest .menu-category h3{color:#526b45}.celebration-guest .menu-item{border-bottom-color:#ded8c980}
.celebration-guest .prompt-card,.celebration-guest .how-to-play{border-radius:10px;box-shadow:0 5px 20px #435a3d05}.celebration-guest .bingo-grid .square{border-radius:6px}.celebration-guest .bingo-grid .square.free{background:radial-gradient(circle at 50% 20%,#d8e4cb,#b5c8a9);box-shadow:inset 0 0 0 3px #e9eee580}
.celebration-guest .site-footer{margin-top:2rem;position:relative}.celebration-guest .site-footer:before{content:"";display:block;width:140px;height:1px;margin:0 auto 2rem;background:linear-gradient(90deg,transparent,#b69b77,transparent)}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.celebration-guest .experience-card:hover{transform:translateY(-5px);box-shadow:0 18px 35px #435a3d16}.celebration-guest .experience-card:hover .card-icon{background:#fffdf8}}
@media(prefers-reduced-motion:no-preference){.celebration-guest .welcome-art{animation:invitation-arrive .8s ease-out both}.celebration-guest .personal-welcome{animation:invitation-arrive .5s ease-out both}.celebration-guest .home-heading .anniversary-emblem{animation:emblem-arrive 1.1s ease-out both}@keyframes invitation-arrive{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes emblem-arrive{from{opacity:0;transform:scale(.94) rotate(-5deg)}to{opacity:1;transform:scale(1) rotate(0)}}}
@media(prefers-reduced-motion:reduce){.celebration-guest *, .celebration-guest *:before,.celebration-guest *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Celebration stays optional and sits alongside the main game guidance. */
.celebration-guest .celebrate-five {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 48px;
  max-width: 100%;
  padding: .35rem .95rem .35rem .45rem;
  border: 1px solid #8c7043;
  border-radius: 30px;
  background: linear-gradient(125deg, #fdf5db, #e8d0a3);
  color: #4e381b;
  font-weight: 700;
  font-size: .96rem;
  line-height: 1.3;
  box-shadow: inset 0 0 0 2px #fff6df, 0 4px 12px #92734626;
}

.celebration-guest .celebrate-five:hover { background: #f7e3b7; }
.celebration-guest .celebrate-five:active { background: #e6c88f; }
.celebrate-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  background: #725434;
  color: #fff0c7;
  font-size: 1.2rem;
}
.celebration-status {
  display: block;
  min-height: 1.5em;
  margin-top: .4rem;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.5;
  color: #435a3d;
}

/* The evening invitation holds its lit gold seal after the toast finishes. */
.celebration-guest .home-heading.is-toasting {
  background: linear-gradient(125deg, #1d3228, #354835 68%, #26382a);
  border-color: #ab864c;
  box-shadow: 0 12px 28px #25382332, inset 0 0 0 3px #dfb86b24;
  --toast-gold: #f5d992;
}
.celebration-guest .home-heading.is-toasting::before {
  border-color: #d1ab626e;
  box-shadow: inset 0 0 0 3px #dfb86b14;
}
.celebration-guest .home-heading.is-toasting::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 68% 20%, #f5d992bb 1px, transparent 2px),
    radial-gradient(circle at 83% 12%, #f5d992aa 1px, transparent 2px),
    radial-gradient(circle at 96% 35%, #f5d992bb 1.5px, transparent 3px),
    radial-gradient(circle at 62% 52%, #f5d992aa 1px, transparent 2px),
    radial-gradient(circle at 91% 68%, #f5d992bb 1.5px, transparent 3px),
    radial-gradient(circle at 77% 79%, #f5d992aa 1px, transparent 2px),
    radial-gradient(ellipse at 83% 42%, #dfbb6652, transparent 52%),
    repeating-linear-gradient(117deg, transparent 0 17px, #f5d9920b 18px 19px, transparent 20px 36px);
}
.celebration-guest .home-heading.is-toasting h1 { color: #fff5de; }
.celebration-guest .home-heading.is-toasting h1 em,
.celebration-guest .home-heading.is-toasting .subtitle,
.celebration-guest .home-heading.is-toasting .eyebrow,
.celebration-guest .home-heading.is-toasting .celebration-status { color: var(--toast-gold); }
.celebration-guest .celebrate-five[aria-pressed="true"] {
  box-shadow: inset 0 0 0 2px #fff6df, 0 0 16px #f5d99238;
}
.celebration-guest .home-heading.is-toasting :focus-visible { outline-color: #fff2be; }

.anniversary-crest {
  position: relative;
  isolation: isolate;
  min-width: 0;
}
.is-toasting .anniversary-crest::before {
  content: "";
  position: absolute;
  inset: 4%;
  z-index: -1;
  border-radius: 50%;
  background:
    radial-gradient(circle, #fff9e1 0 20%, #dfc48c 45%, #ba8d4e 63%, #f5d992 65%, #806438 68%, transparent 70%);
  box-shadow: 0 0 24px #eec36e56;
}
.is-toasting .anniversary-crest::after {
  content: "\2726";
  position: absolute;
  right: 0;
  top: 3%;
  color: #ffe9ad;
  font-size: clamp(.9rem, 3vw, 1.7rem);
  text-shadow: 0 0 10px #f5d992;
}
.celebration-guest .home-heading.is-toasting .anniversary-emblem {
  animation: none;
  filter: drop-shadow(0 1px 1px #fff6ca80);
}
@media (prefers-reduced-motion: no-preference) {
  .celebration-guest .home-heading.is-toasting::after { animation: toast-light .55s ease-out both; }
  @keyframes toast-light {
    from { opacity: .1; }
    to { opacity: 1; }
  }
}

.toast-halo {
  display: none;
  position: absolute;
  inset: 9%;
  border-radius: 50%;
  pointer-events: none;
}
.toast-confetti {
  position: fixed;
  z-index: 39;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.toast-confetti > span {
  position: absolute;
  left: var(--start-x);
  top: var(--start-y);
  background: linear-gradient(135deg, var(--shine), var(--foil) 63%, var(--shine));
  animation: toast-flight var(--flight) var(--delay) both;
}
.toast-ribbon { width: 7px; height: 14px; border-radius: 2px; }
.toast-ribbon:nth-child(3n) { width: 12px; height: 7px; }
.toast-ribbon:nth-child(7n) { width: 5px; height: 17px; }
.toast-spark {
  width: 21px;
  height: 21px;
  clip-path: polygon(50% 0, 61% 37%, 100% 50%, 61% 63%, 50% 100%, 39% 63%, 0 50%, 39% 37%);
}
@keyframes toast-flight {
  0% { opacity: 0; transform: translate(0, 0) rotate(0) scale(.25); animation-timing-function: ease-out; }
  12% { opacity: 1; }
  41% { opacity: 1; transform: translate(var(--arc-x), var(--arc-y)) rotate(var(--turn)) scale(1); animation-timing-function: ease-in; }
  78% { opacity: .92; }
  100% { opacity: 0; transform: translate(var(--fall-x), var(--fall-y)) rotate(var(--end-turn)) scale(.75); }
}
@media (prefers-reduced-motion: no-preference) {
  .celebration-guest .home-heading.toast-in-motion .anniversary-emblem {
    animation: toast-crest .85s cubic-bezier(.2,.7,.3,1) both;
  }
  .toast-in-motion .toast-halo {
    display: block;
  }
  .toast-halo::before,
  .toast-halo::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 2px solid #ffe3a0;
    border-radius: inherit;
    box-shadow: 0 0 14px #ffe3a0a0;
    animation: toast-ring 1s ease-out both;
  }
  .toast-halo::after { animation-delay: .17s; }
}
@media (prefers-reduced-motion: reduce) {
  .toast-confetti { display: none; }
}
@keyframes toast-crest {
  0% { transform: scale(.96); }
  33% { transform: scale(1.13) rotate(-5deg); filter: drop-shadow(0 0 7px #fff6cade); }
  65% { transform: scale(1.025) rotate(1deg); }
  100% { transform: scale(1); }
}
@keyframes toast-ring {
  0% { opacity: 0; transform: scale(.94); }
  20% { opacity: 1; }
  100% { opacity: 0; transform: scale(1.65); }
}

/* Give the invitation a clear reading order at phone and tablet widths. */
.celebration-guest .arch {
  min-height: 0;
  padding: 3rem 1.35rem 2rem;
}

.invitation-title { position: relative; }
.celebration-guest .arch h1 {
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  line-height: 1.12;
}

.check-in-emblem {
  order: -1;
  width: min(68%, 240px);
  height: auto;
  position: relative;
}

.celebration-guest .home-heading { row-gap: .5rem; }
.celebration-guest .home-heading .anniversary-crest {
  grid-column: 2;
  grid-row: 1 / 3;
}
.hero-actions { min-width: 0; }
.celebration-guest .celebrate-five { margin-top: 0; }

@media (max-width: 900px) {
  .celebration-guest .guest-main .welcome {
    max-width: 640px;
    margin: 0 auto;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.4rem;
    padding: 1rem 0 2.5rem;
  }
  .celebration-guest .guest-main .welcome-art {
    display: block;
    max-width: none;
    width: 100%;
    padding: 0;
  }
  .celebration-guest .arch {
    display: grid;
    grid-template-columns: minmax(0, 1fr) min(27%, 130px);
    gap: .45rem;
    text-align: left;
    border-radius: 14px;
    outline: 0;
    padding: .95rem 1rem;
  }
  .celebration-guest .arch::before { inset: 5px; border-radius: 9px; }
  .celebration-guest .arch .branches { opacity: .28; }
  .celebration-guest .arch .eyebrow { font-size: .65rem; margin: 0; }
  .celebration-guest .arch h1 { font-size: clamp(1.7rem, 7vw, 3.1rem); margin: .3rem 0; }
  .celebration-guest .arch h1 em { font-size: .85em; padding: 0; }
  .celebration-guest .arch .anniversary { font-size: 1rem; margin: 0; }
  .check-in-emblem { order: 0; width: 100%; }
  .celebration-guest .welcome-form > h2 { font-size: clamp(1.6rem, 5vw, 2.35rem); margin-bottom: .35rem; }
  .celebration-guest .welcome-form > p { margin-top: .35rem; }
  .celebration-guest .welcome-form .segmented {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .35rem;
    margin: .9rem 0 1rem;
  }
  .celebration-guest .welcome-form .segmented button { white-space: normal; }
  .celebration-guest .welcome-form .form-row {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 9em), 1fr));
  }
}

@media (min-width: 701px) and (max-width: 1024px) {
  .celebration-guest .home-heading { grid-template-columns: minmax(0, 1fr) minmax(150px, 28%); }
  .celebration-guest .experience-cards { gap: 1rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .celebration-guest .experience-card { padding-inline: 1rem; min-height: 340px; }
  .celebration-guest .experience-card h3 { font-size: clamp(1.5rem, 2.7vw, 1.9rem); }
  .celebration-guest .experience-card h3 br { display: none; }
  .celebration-guest .card-action { width: 100%; text-align: left; gap: .45rem; }
}

@media (max-width: 700px) {
  .celebration-guest .personal-welcome { margin: .85rem 0; padding: .7rem .85rem; font-size: 1rem; }
  .celebration-guest .home-heading {
    grid-template-columns: minmax(0, 1fr) min(30%, 125px);
    gap: .4rem .55rem;
    padding: .95rem 1rem .65rem;
    margin: .85rem 0 1rem;
  }
  .celebration-guest .home-heading .anniversary-crest { grid-row: 1; }
  .celebration-guest .home-heading h1 { font-size: clamp(1.65rem, 7vw, 2.75rem); margin: .35rem 0; }
  .celebration-guest .home-heading .eyebrow { font-size: .65rem; letter-spacing: .1em; }
  .celebration-guest .home-heading .subtitle { font-size: 1.05rem; margin: .3rem 0; }
  .hero-actions {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: .4rem;
  }
  .celebration-guest .celebrate-five { flex: 0 1 auto; min-width: 0; margin: 0; }
  .celebration-status {
    flex: 1 0 27%;
    margin: 0;
    font-size: .8rem;
    line-height: 1.25;
  }
  .celebration-guest .game-order { padding: 1rem; }
  .celebration-guest .game-order h2 { margin: 0 0 .4rem; font-size: 1.45rem; }
  .celebration-guest .game-order p { margin: .45rem 0 .75rem; }
  .celebration-guest .game-order .help-note { margin: .65rem 0 0; }
  .celebration-guest .section-heading { margin: 1.35rem auto 1rem; padding-top: .85rem; }
  .celebration-guest .experience-cards { gap: .85rem; }
  .celebration-guest .experience-card {
    border-radius: 12px;
    padding: 1rem;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 0 .75rem;
  }
  .celebration-guest .experience-card .card-icon { width: 48px; height: 48px; margin: 0; grid-row: 1 / 4; }
  .celebration-guest .card-icon svg { width: 42px; height: 42px; }
  .celebration-guest .experience-card h3 { font-size: 1.55rem; margin-bottom: .35rem; }
  .celebration-guest .experience-card p { margin-bottom: .35rem; }
  .celebration-guest .experience-card .eyebrow { font-size: .65rem; letter-spacing: .1em; }
  .celebration-guest .card-action { grid-column: 2; padding-top: .4rem; font-size: .88rem; gap: .45rem; }
  .celebration-guest .experience-card::before { inset: 5px; }
  .celebration-guest .menu-paper { border-radius: 55px 55px 10px 10px; padding: 2.3rem 1.3rem 1.5rem; }
}

@media (max-width: 359px) {
  .celebration-guest .home-heading {
    grid-template-columns: minmax(0, 1fr) min(24%, 72px);
    padding: .75rem;
    margin-block: .65rem;
  }
  .celebration-guest .home-heading .eyebrow { letter-spacing: .06em; }
  .celebration-guest .home-heading .subtitle { font-size: 1rem; line-height: 1.3; }
  .celebration-guest .personal-welcome { margin-block: .65rem; }
  .celebration-guest .game-order { padding: .75rem; }
  .celebration-guest .game-order h2 { font-size: 1.25rem; }
  .celebration-guest .game-order p { margin-block: .25rem .6rem; }
}
