/* Tonight's Menu and Anniversary Bingo, dressed for the evening garden.
   Layers on style.css, celebration.css and evening.css; class names and text are unchanged. */

/* =================== Tonight's Menu =================== */
/* An ivory printed menu set in an evening-green arched frame. */
.celebration-guest #menu-content.menu-card{
  position:relative;isolation:isolate;overflow:hidden;max-width:640px;margin:0 auto;padding:16px;
  border:1px solid #b79862;border-radius:150px 150px 24px 24px;text-align:center;
  background:
    radial-gradient(ellipse 70% 40% at 50% 0,#e9c57a30,transparent 70%),
    #1d382c url('evening-garden.svg') center top/cover no-repeat;
  box-shadow:0 30px 60px #19332838,0 6px 16px #19332820,inset 0 0 40px #0b1d1566;
}
/* A slow foil sheen across the green frame */
.celebration-guest #menu-content.menu-card::after{
  content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:linear-gradient(115deg,transparent 30%,#f6dfa61a 45%,#fff3d02e 50%,transparent 62%);background-size:260% 100%;background-position:150% 0}
.menu-sheet{position:relative;padding:2.6rem 2.4rem 2.2rem;border-radius:136px 136px 12px 12px;color:#2f3a30;
  background:
    radial-gradient(ellipse 80% 30% at 50% 0,#fffdf6,transparent 70%),
    radial-gradient(ellipse 120% 80% at 50% 120%,#efe2c4aa,transparent 70%),
    linear-gradient(170deg,#fdf9ef,#f7efdc);
  box-shadow:0 0 0 1px #dcc18a,0 10px 30px #0b1d1566,inset 0 0 30px #d9c39a33}
/* Gold hairline printed just inside the paper edge */
.menu-sheet::before{content:'';position:absolute;inset:9px;pointer-events:none;border:1px solid #c9a66399;border-radius:128px 128px 6px 6px;
  box-shadow:inset 0 0 0 3px #fbf6ea,inset 0 0 0 4px #c9a66340}
.menu-sheet>*{position:relative}
.menu-crest{display:flex;align-items:center;justify-content:center;gap:.9rem;margin:0 auto 1.4rem}
.menu-crest-rule{height:1px;width:min(70px,16vw);background:linear-gradient(90deg,transparent,#c9a663)}
.menu-crest-rule:last-child{background:linear-gradient(90deg,#c9a663,transparent)}
/* The monogram as a green wax seal on the paper */
.menu-monogram{display:flex;align-items:center;justify-content:center;flex:none;white-space:nowrap;width:80px;height:80px;border-radius:50%;font-family:Georgia,'Times New Roman',serif;font-size:1.55rem;letter-spacing:.04em;color:#fbf0d4;
  background:radial-gradient(circle at 35% 30%,#33594a,#173226 72%);border:1px solid #c9a663;box-shadow:0 0 0 4px #fbf6ea,0 0 0 5px #c9a66399,0 8px 18px #1933283a}
.menu-monogram em{color:#eac98e;font-style:italic;margin:0 .08em}

.celebration-guest .menu-card .menu-category{padding:0;margin:0;border:0}
.celebration-guest .menu-card .menu-category+.menu-category{margin-top:2.1rem;padding-top:0;border-top:0}
/* Hand-drawn course illustrations, printed in gold-brown ink */
.menu-course-icon{display:block;width:114px;height:76px;margin:0 auto .2rem;color:#a07a3a}
.menu-course-icon svg{display:block;width:100%;height:100%}
.celebration-guest .menu-card .menu-category h3{font-family:Georgia,'Times New Roman',serif;font-style:italic;font-weight:400;font-size:clamp(1.85rem,6vw,2.3rem);color:#8a6428;margin:0;letter-spacing:-.01em}
.celebration-guest .menu-card .menu-category h3::after{content:'';display:block;width:120px;height:9px;margin:.55rem auto 0;
  background:
    linear-gradient(#c9a663,#c9a663) left center/48px 1px no-repeat,
    linear-gradient(#c9a663,#c9a663) right center/48px 1px no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M5 0l5 5-5 5-5-5z' fill='%23b88f45'/%3E%3C/svg%3E") center/9px 9px no-repeat;}
.menu-items{padding-top:.7rem}
.celebration-guest .menu-card .menu-item{margin:0;padding:.38rem 0;border:0}
.celebration-guest .menu-card .menu-item h4{font-family:Georgia,'Times New Roman',serif;font-weight:400;font-size:clamp(1.25rem,4.4vw,1.45rem);line-height:1.3;color:#2b3a2f;margin:0;letter-spacing:-.005em}
/* Long courses sit in two columns with a gold rule between them */
.menu-items.two-col{display:grid;grid-template-columns:1fr 1fr;column-gap:1.4rem;align-items:center;max-width:470px;margin:0 auto;
  background:linear-gradient(#c9a66366,#c9a66366) center/1px calc(100% - 1.6rem) no-repeat;background-position:50% 1.1rem}
.celebration-guest .menu-card .menu-items.two-col .menu-item h4{font-size:clamp(1.08rem,3.9vw,1.3rem)}
.celebration-guest .menu-card .menu-item p{color:#5f5a4a;font-size:.98rem;margin:.3rem auto 0;max-width:420px}
.celebration-guest .menu-card .menu-item .dietary{display:inline-block;margin-top:.4rem;padding:.12rem .65rem;border:1px solid #c9a66399;border-radius:20px;color:#7a5a24;font-size:.8rem;letter-spacing:.04em}
.celebration-guest .menu-card .menu-item img{display:block;width:100%;max-width:420px;height:200px;margin:.8rem auto .2rem;object-fit:cover;border-radius:14px;border:1px solid #c9a663;box-shadow:0 8px 20px #4035202a}
.menu-flourish{margin-top:1.9rem;color:#b88f45}
.menu-flourish svg{display:block;margin:auto}

@media (prefers-reduced-motion:no-preference){
  .menu-card .menu-crest{animation:feast-rise .9s .05s cubic-bezier(.2,.8,.2,1) both}
  .menu-card .menu-course-icon,.menu-card .menu-category h3{animation:feast-rise .8s .15s cubic-bezier(.2,.8,.2,1) both}
  .menu-card .menu-course-icon path,.menu-card .menu-course-icon circle{stroke-dasharray:420;stroke-dashoffset:420;animation:feast-draw 2.2s .3s ease-out forwards}
  .menu-card .menu-item{animation:feast-rise .75s calc(.25s + var(--i,0) * .05s) cubic-bezier(.2,.8,.2,1) both}
  .menu-card .menu-flourish{animation:feast-rise .8s 1s ease-out both}
  .celebration-guest #menu-content.menu-card::after{animation:feast-sheen 7s 1.2s ease-in-out infinite}
  @keyframes feast-rise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
  @keyframes feast-draw{to{stroke-dashoffset:0}}
  @keyframes feast-sheen{0%{background-position:150% 0}40%,100%{background-position:-60% 0}}
}
@media (max-width:700px){
  .celebration-guest #menu-content.menu-card{padding:10px;border-radius:112px 112px 20px 20px}
  .menu-sheet{padding:2.2rem 1rem 1.7rem;border-radius:104px 104px 12px 12px}
  .menu-sheet::before{inset:7px;border-radius:98px 98px 7px 7px}
  .menu-monogram{width:68px;height:68px;font-size:1.25rem}
  .menu-items.two-col{column-gap:.8rem}
}

/* =================== Anniversary Bingo =================== */
/* Called now: a dark evening card with the call number on a gold ball. */
.celebration-guest .guest-main .current-clue.has-call{
  position:sticky;padding:1.3rem 1.4rem 1.3rem;border:1px solid #b79862;border-radius:20px;color:#fbf3e2;
  background:radial-gradient(ellipse 60% 80% at 100% 0,#e9c57a2e,transparent 70%),linear-gradient(150deg,#264536,#173226);
  box-shadow:0 16px 36px #19332833,inset 0 0 0 1px #dcc18a22}
.celebration-guest .guest-main .current-clue.has-call .eyebrow{color:#eccb8c;padding-right:64px;letter-spacing:.14em}
.celebration-guest .guest-main .current-clue.has-call h3{color:#fff8e9;padding-right:8px}
.celebration-guest .guest-main .current-clue.has-call p{color:#e8dcc0}
.celebration-guest .guest-main .current-clue.has-call .current-answer{color:#f6d796;font-family:Georgia,serif;font-size:1.35rem;font-weight:400;background:#0e231a80;border:1px solid #b7986266;border-radius:12px;padding:.6rem .9rem}
.celebration-guest .guest-main .current-clue.has-call .primary{border-radius:30px;color:#1f3a2e;font-weight:600;border:1px solid #ead5ac;background:linear-gradient(120deg,#fff0c9,#d9b87c 55%,#f0dca9);box-shadow:inset 0 1px #fff8e4,0 6px 18px #0005}
.clue-ball{position:absolute;top:-14px;right:16px;display:grid;place-items:center;width:60px;height:60px;border-radius:50%;
  background:radial-gradient(circle at 34% 28%,#fff8de 0,#f3d48f 22%,#c99a4c 62%,#8a6329 100%);
  box-shadow:0 8px 20px #0006,inset -4px -6px 10px #6b4a1c66,inset 3px 4px 6px #fff6}
.clue-ball span{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#fffaf0;color:#1f3a2e;font-family:Georgia,serif;font-size:1.25rem;font-weight:700;box-shadow:inset 0 1px 3px #0003}

/* Goal, count and progress */
.celebration-guest .guest-main .bingo-toolbar{border-radius:16px;border:1px solid #d8c49c;background:linear-gradient(120deg,#fffdf6,#f7efdc);box-shadow:0 6px 20px #4035200d;gap:.4rem 1rem}
.celebration-guest .guest-main .bingo-toolbar #bingo-goal{font-family:Georgia,serif;font-weight:400;font-size:1.15rem;color:#2f4a38}
.bingo-count{font-weight:600;color:#6b5330}
.bingo-progress{flex-basis:100%;height:8px;border-radius:8px;background:#e8dcc2;overflow:hidden;box-shadow:inset 0 1px 2px #0001}
.bingo-progress span{display:block;height:100%;width:var(--progress,0%);border-radius:inherit;background:linear-gradient(90deg,#b88a3e,#f0d391 60%,#c79b4f);box-shadow:0 0 10px #e9c57a99;transition:width .8s cubic-bezier(.2,.8,.2,1)}

/* The card: a gold-framed evening card holding the B I N G O balls and squares */
.celebration-guest .guest-main .bingo-letters{margin:0;padding:.85rem .6rem .55rem;gap:6px;border:1px solid #b79862;border-bottom:0;border-radius:22px 22px 0 0;
  background:linear-gradient(180deg,#2a4a3a,#1f3c2f)}
.celebration-guest .guest-main .bingo-letters span{display:grid;place-items:center;width:min(46px,100%);aspect-ratio:1;margin:auto;border-radius:50%;
  font-family:Georgia,serif;font-size:1.45rem;color:#1f3a2e;font-weight:700;
  background:radial-gradient(circle at 34% 28%,#fff8de 0,#f3d48f 24%,#c99a4c 66%,#8a6329 100%);
  box-shadow:0 5px 12px #0005,inset -3px -4px 8px #6b4a1c55,inset 2px 3px 5px #fff6}
.celebration-guest .guest-main .bingo-grid{padding:.6rem;gap:6px;border:1px solid #b79862;border-top:0;border-radius:0 0 22px 22px;
  background:linear-gradient(180deg,#1f3c2f,#183428);box-shadow:0 24px 48px #19332833,inset 0 0 40px #0b1d1566}

/* Squares */
.celebration-guest .guest-main .bingo-grid .square{border-radius:12px;border:1px solid #e1d3b3;color:#2c3a2a;
  background:linear-gradient(160deg,#fffdf7,#f5eedd);box-shadow:inset 0 1px #fff,0 2px 4px #0003;transition:transform .15s ease,box-shadow .2s ease}
.celebration-guest .guest-main .bingo-grid .square:active{transform:scale(.96)}
.celebration-guest .guest-main .bingo-grid .square.uncalled{background:linear-gradient(160deg,#eef0e8,#e2e6da);color:#4a5446;border-color:#c9d0bf;box-shadow:inset 0 1px #fff8}
.celebration-guest .guest-main .bingo-grid .square.uncalled .square-status{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.celebration-guest .guest-main .bingo-grid .square.reveal:not(.complete){background:linear-gradient(160deg,#fbf1dc,#ecdab5)}
/* Called and waiting for an answer: a warm gold glow */
.celebration-guest .guest-main .bingo-grid .square.called:not(.complete){border:2px solid #d2a752;box-shadow:0 0 0 2px #f3d48f55,0 0 16px #e9c57a88,inset 0 1px #fff}
.celebration-guest .guest-main .bingo-grid .square.called:not(.complete) .square-status{display:inline-block;padding:.12rem .55rem;border-radius:20px;background:#1f3a2e;color:#f6dfa6;font-size:.8rem}
/* Marked: a gold dauber stamp behind the words */
.celebration-guest .guest-main .bingo-grid .square.complete{background:linear-gradient(160deg,#fff7e4,#f1e0bb);border-color:#cfa95c;box-shadow:inset 0 0 0 1px #fff8,0 2px 4px #0003;color:#2a2414;overflow:hidden;isolation:isolate}
.celebration-guest .guest-main .bingo-grid .square.complete:not(.free)::before{content:'';position:absolute;left:50%;top:50%;width:82%;aspect-ratio:1;z-index:-1;border-radius:50%;transform:translate(-50%,-50%);
  background:radial-gradient(circle at 40% 38%,#f6d796d9,#e2b45fb3 55%,#d29c4466 72%,transparent 74%);opacity:.75}
.celebration-guest .guest-main .bingo-grid .square.complete:not(.free)::after{content:'✓';display:grid;place-items:center;position:absolute;top:4px;right:4px;width:18px;height:18px;border-radius:50%;
  background:#1f3a2e;color:#f6dfa6;font-size:.75rem;font-weight:700;line-height:1}
.celebration-guest .guest-main .bingo-grid .square.complete:not(.free) .square-status{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.celebration-guest .guest-main .bingo-grid .square.complete:not(.free){padding-top:1.35rem}
.celebration-guest .guest-main .bingo-grid .square.complete .square-answer{color:#2a2414}
/* Part of a finished line: richer gold */
.celebration-guest .guest-main .bingo-grid .square.in-line{background:linear-gradient(160deg,#fff1c8,#f0cf86);border-color:#b8873a;box-shadow:0 0 0 2px #f3d48f,0 0 18px #f0c96f99}
.celebration-guest .guest-main .bingo-grid .square.in-line::before{opacity:.95}
/* Called now */
.celebration-guest .guest-main .bingo-grid .square.current-square{border:3px solid #f3d48f;background:linear-gradient(160deg,#fffbe9,#fff0bf);color:#2a2414;box-shadow:0 0 0 3px #1f3a2e,0 0 0 5px #f3d48f,0 0 26px #f3d48fcc;z-index:1}
.celebration-guest .guest-main .bingo-grid .now-label{display:inline-block;padding:.1rem .55rem;border-radius:20px;background:#1f3a2e;color:#f6dfa6;font-size:.75rem;letter-spacing:.12em;font-weight:700}
/* Free centre: a gold-ringed medallion */
.celebration-guest .guest-main .bingo-grid .square.free{border:1px solid #dcc18a;color:#f6dfa6;
  background:radial-gradient(circle at 50% 42%,#3a6150 0,#24463a 55%,#183428 100%);box-shadow:inset 0 0 0 4px #183428,inset 0 0 0 5px #dcc18a88,0 2px 4px #0004}
.celebration-guest .guest-main .bingo-grid .square.free .square-wording{font-family:Georgia,serif;font-weight:400;letter-spacing:.12em;color:#f6dfa6;text-shadow:0 0 14px #e9c57a88}
.celebration-guest .guest-main .bingo-grid .square.free .square-wording::before{content:'✦';display:block;font-size:1rem;letter-spacing:0;margin-bottom:.15rem;color:#eac98e}
.celebration-guest .guest-main .bingo-grid .square.free .square-status{color:#dccca8}

/* Claim Bingo: lights up when a claim is possible */
.celebration-guest .guest-main .bingo-claim{border-radius:40px;min-height:56px;font-size:1.1rem}
.celebration-guest .guest-main .bingo-claim:disabled{background:#d9dccf;border-color:#c6cbb9;color:#5d6457;opacity:1}
.celebration-guest .guest-main .bingo-claim.is-ready{position:relative;overflow:hidden;color:#1f3a2e;font-weight:700;letter-spacing:.02em;border:1px solid #ead5ac;
  background:linear-gradient(120deg,#fff0c9,#d9b87c 55%,#f0dca9);box-shadow:inset 0 1px #fff8e4,0 10px 28px #b8873a66,0 0 0 4px #f3d48f44}

/* Previously called clues */
.celebration-guest .guest-main .called-list{margin-top:1.5rem;padding:1rem 1.2rem;border:1px solid #d8c49c;border-radius:16px;background:#fffdf6}
.celebration-guest .guest-main .called-list summary{cursor:pointer;font-weight:600;color:#2f4a38}
.celebration-guest .guest-main .called-list ol{counter-reset:call;list-style:none;padding:0;margin:.8rem 0 0}
.celebration-guest .guest-main .called-list li{counter-increment:call;position:relative;padding:.7rem 0 .7rem 2.6rem;border-top:1px solid #eee3cc}
.celebration-guest .guest-main .called-list li::before{content:counter(call);position:absolute;left:0;top:.6rem;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;font-family:Georgia,serif;font-weight:700;font-size:.9rem;color:#1f3a2e;
  background:radial-gradient(circle at 34% 28%,#fff8de 0,#f3d48f 30%,#c99a4c 80%)}

@media (prefers-reduced-motion:no-preference){
  .clue-ball{animation:ball-drop .7s cubic-bezier(.2,1.4,.4,1) both}
  .current-clue.has-call{animation:clue-in .6s ease-out both}
  .celebration-guest .guest-main .bingo-grid .square.current-square{animation:now-pulse 1.8s ease-in-out infinite}
  .celebration-guest .guest-main .bingo-grid .square.called:not(.complete):not(.current-square){animation:called-breathe 2.6s ease-in-out infinite}
  .celebration-guest .guest-main .bingo-grid .square.just-marked::before{animation:dauber .55s cubic-bezier(.2,1.5,.4,1) both}
  .celebration-guest .guest-main .bingo-grid .square.just-marked::after{animation:dauber-check .5s .25s cubic-bezier(.2,1.5,.4,1) both}
  .celebration-guest .guest-main .bingo-grid.line-made .square.in-line{animation:line-shine 1.2s ease-out both}
  .celebration-guest .guest-main .bingo-grid.line-made .square.in-line:nth-child(5n+2){animation-delay:.08s}
  .celebration-guest .guest-main .bingo-grid.line-made .square.in-line:nth-child(5n+3){animation-delay:.16s}
  .celebration-guest .guest-main .bingo-grid.line-made .square.in-line:nth-child(5n+4){animation-delay:.24s}
  .celebration-guest .guest-main .bingo-grid.line-made .square.in-line:nth-child(5n){animation-delay:.32s}
  .celebration-guest .guest-main .bingo-claim.is-ready{animation:claim-glow 1.8s ease-in-out infinite}
  .celebration-guest .guest-main .bingo-claim.is-ready::after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(105deg,transparent 30%,#fffbea 48%,transparent 66%);background-size:250% 100%;animation:garden-shimmer 2.8s ease-in-out infinite}
  .celebration-guest .guest-main .bingo-letters span{animation:letter-bounce .7s cubic-bezier(.2,1.5,.4,1) both}
  .celebration-guest .guest-main .bingo-letters span:nth-child(2){animation-delay:.06s}
  .celebration-guest .guest-main .bingo-letters span:nth-child(3){animation-delay:.12s}
  .celebration-guest .guest-main .bingo-letters span:nth-child(4){animation-delay:.18s}
  .celebration-guest .guest-main .bingo-letters span:nth-child(5){animation-delay:.24s}
  @keyframes ball-drop{from{opacity:0;transform:translateY(-24px) rotate(-90deg) scale(.6)}to{opacity:1;transform:none}}
  @keyframes clue-in{from{opacity:.4;transform:translateY(6px)}to{opacity:1;transform:none}}
  @keyframes now-pulse{50%{box-shadow:0 0 0 3px #1f3a2e,0 0 0 7px #f3d48f,0 0 36px #f3d48f}}
  @keyframes called-breathe{50%{box-shadow:0 0 0 3px #f3d48f77,0 0 22px #e9c57acc,inset 0 1px #fff}}
  @keyframes dauber{0%{transform:translate(-50%,-50%) scale(1.8);opacity:0}60%{opacity:1}100%{transform:translate(-50%,-50%) scale(1)}}
  @keyframes dauber-check{from{transform:scale(0) rotate(-45deg)}to{transform:none}}
  @keyframes line-shine{0%{filter:brightness(1)}35%{filter:brightness(1.25) saturate(1.2);transform:scale(1.05)}100%{filter:none;transform:none}}
  @keyframes claim-glow{50%{box-shadow:inset 0 1px #fff8e4,0 12px 34px #b8873a88,0 0 0 7px #f3d48f55}}
  @keyframes letter-bounce{from{opacity:0;transform:translateY(-14px) scale(.7)}to{opacity:1;transform:none}}
  @keyframes garden-shimmer{0%{background-position:150% 0}35%,100%{background-position:-60% 0}}
}
@media (max-width:700px){
  .celebration-guest .guest-main .bingo-grid{padding:.4rem;gap:4px;border-radius:0 0 18px 18px}
  .celebration-guest .guest-main .bingo-letters{padding:.6rem .4rem .45rem;gap:4px;border-radius:18px 18px 0 0}
  .celebration-guest .guest-main .bingo-letters span{width:min(40px,100%);font-size:1.25rem}
  .celebration-guest .guest-main .bingo-grid .square{border-radius:9px}
  .celebration-guest .guest-main .bingo-grid .square.called:not(.complete) .square-status{font-size:.75rem;padding:.1rem .4rem}
  .clue-ball{width:54px;height:54px;right:12px}
  .clue-ball span{width:34px;height:34px;font-size:1.1rem}
}
