/* Games inherit the invitation's local fonts and green/pink colour palette. */
.wedding-games{background:var(--blush);border-top:1px solid #ead9de;border-bottom:1px solid #ead9de}
.game-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:18px}
.game-tab{display:flex;align-items:center;gap:15px;min-height:95px;text-align:left;padding:19px 22px;background:#fbfaf680;border:1px solid #deced3;border-radius:15px;color:var(--forest);transition:background .2s,transform .2s}
.game-tab[aria-selected=true]{background:var(--forest);border-color:var(--forest);color:var(--cream)}
.game-tab:hover{transform:translateY(-2px)}.game-tab>span:nth-child(2){flex:1;font:22px/1.15 var(--serif)}.game-tab-number{font:italic 24px var(--serif);color:var(--rose)}.game-tab[aria-selected=true] .game-tab-number{color:var(--pink)}.game-tab small{display:block;font:10px/1.5 var(--sans);margin-top:9px;opacity:.8}.game-tab>span:last-child{font-size:21px}.game-tab:focus-visible{outline:3px solid var(--rose);outline-offset:3px}
.game-stage{background:var(--cream);border:1px solid #dfd7ce;border-radius:20px;overflow:hidden;box-shadow:0 12px 30px #173e3208}
.game-panel{display:grid;grid-template-columns:.83fr 1.17fr;min-height:480px}.game-panel:focus-visible{outline-offset:-5px}.game-intro{position:relative;padding:44px 38px;background:var(--sage);border-right:1px solid var(--line)}.game-intro .eyebrow{font-size:8px;letter-spacing:1.4px;margin:28px 0 18px}.game-intro h3{font-size:39px;letter-spacing:-1px;max-width:260px}.game-intro>p:not(.eyebrow){font-size:13px;line-height:1.9;color:#526b59;margin-top:20px;max-width:290px}.game-intro>p.game-small{font-size:11px;line-height:1.8;margin-top:24px;color:#526b59}.game-stamp{display:flex;align-items:center;justify-content:center;width:76px;height:76px;font:28px var(--serif);border:1px solid #b9c9af;border-radius:50%;gap:7px;color:var(--forest);background:#fbfaf64d}.game-stamp i{color:var(--rose);font-size:21px}.game-stamp.flower-stamp{padding:15px;color:var(--rose)}.game-stamp.letter-stamp{font-size:24px}.game-play{padding:35px 38px;min-width:0}.game-topline{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:44px;margin-bottom:19px;font-size:11px;color:var(--muted)}.game-reset{background:none;padding:10px 0;min-height:44px;font-size:11px;color:var(--rose);text-decoration:underline;text-underline-offset:4px}.game-reset:disabled{opacity:.4;cursor:default;text-decoration:none}.game-play .button{font-size:11px;min-height:46px;padding:12px 21px;gap:12px}.game-play .button:disabled{opacity:.4;cursor:default;transform:none}.game-dots{display:flex;gap:7px;margin-bottom:24px}.game-dots>span{height:5px;flex:1;border-radius:4px;background:var(--line)}.game-dots .is-current{background:var(--rose)}.game-dots .is-done{background:var(--forest)}.game-play h4{font:32px/1.25 var(--serif);letter-spacing:-.5px;margin:0 0 26px;max-width:440px}.couple-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.couple-options button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:13px;background:var(--cream);border:1px solid var(--line);padding:19px 7px;min-height:117px;border-radius:12px;font-size:11px;line-height:1.3;transition:background .2s,border-color .2s}.choice-monogram{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:var(--sage);font:23px var(--serif);color:var(--forest)}.couple-options button[aria-pressed=true]{border:2px solid var(--rose);background:var(--blush);padding:18px 6px}.couple-options button[aria-pressed=true] .choice-monogram{background:var(--pink)}.couple-options button:hover{background:var(--blush)}.game-feedback{font-size:12px;line-height:1.7;color:var(--rose);min-height:41px;margin-top:19px}.game-actions{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:15px}.game-result h4{font-size:34px;margin-bottom:15px}.game-result>p:not(.eyebrow){font-size:12px;line-height:1.8;color:var(--muted);margin-bottom:22px}.game-result .eyebrow{font-size:8px;letter-spacing:1.5px;margin:13px 0 17px}.game-result-flower{width:42px;height:42px;color:var(--rose)}.couple-summary{list-style:none;margin:0 0 25px;padding:0}.couple-summary li{display:flex;align-items:start;justify-content:space-between;gap:20px;padding:10px 0;border-bottom:1px solid var(--line);font-size:11px;line-height:1.6}.couple-summary span{max-width:70%;color:var(--muted)}.couple-summary strong{font-weight:400;color:var(--rose);text-align:right}.game-stats{display:flex;gap:23px}.game-stats span{display:flex;flex-direction:column;font-size:9px;text-transform:uppercase;letter-spacing:1px}.game-stats strong{font:23px/1.2 var(--serif);color:var(--forest);letter-spacing:0;margin-top:5px}.memory-board{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.memory-card{position:relative;aspect-ratio:.9;border:1px solid #c6d3c1;border-radius:12px;background:var(--forest);color:var(--pink);display:grid;place-items:center;padding:4px;transition:background .2s,transform .2s}.memory-card:hover:not(.is-matched){transform:translateY(-2px)}.memory-card:focus-visible{outline-width:3px;outline-offset:2px}.memory-back{font:20px var(--serif);letter-spacing:2px}.memory-back:after{content:'✦';display:block;text-align:center;font:14px var(--serif);color:var(--pink);margin-top:5px}.memory-face{display:none;flex-direction:column;align-items:center;justify-content:center;gap:2px;width:100%}.memory-face>svg{width:55px;height:55px;max-width:85%}.memory-face>span{font-size:9px;line-height:1.2;color:var(--forest)}.memory-card.is-revealed{background:#f8f0e5;border-color:#ddc5a7}.memory-card.is-revealed .memory-back{display:none}.memory-card.is-revealed .memory-face{display:flex}.memory-card.is-matched{background:var(--sage);border:2px solid #74916b;cursor:default}.memory-result{padding:16px 20px;margin-top:16px;background:var(--blush);border-radius:12px}.memory-result strong{font:25px var(--serif);color:var(--rose)}.memory-result p{font-size:11px;line-height:1.7;margin-top:7px;color:var(--muted)}.game-play .scramble-heading{font-size:29px;margin-bottom:21px}.scramble-letters{font:32px/1.8 var(--serif);letter-spacing:3px;color:var(--rose);padding:10px 15px;text-align:center;background:var(--blush);border-radius:12px;overflow-wrap:anywhere;word-spacing:4px}.scramble-hint{font-size:12px;color:var(--muted);line-height:1.7;margin-top:18px;margin-bottom:23px}.scramble-input-row{display:flex;align-items:center;gap:10px}.scramble-input-row input#scramble-answer{margin-top:7px;min-width:0;font-size:16px;letter-spacing:1px;min-height:48px;text-transform:uppercase}.scramble-input-row .button{margin-top:7px;flex-shrink:0}.scramble-input-row input:disabled{background:var(--sage);opacity:1;color:var(--forest)}.games-footnote{text-align:center;font-size:10px;color:#667266;line-height:1.7;margin-top:24px}
@media(max-width:1050px){.game-tab{padding:17px 16px;gap:10px}.game-tab>span:nth-child(2){font-size:20px}.game-tab small{font-size:9px}.game-intro{padding:35px 27px}.game-intro h3{font-size:35px}.game-play{padding:28px}.game-play h4{font-size:29px}.game-tab-number{font-size:21px}.memory-board{gap:8px}.memory-face>svg{width:47px;height:47px}.memory-back{font-size:17px}}
@media(max-width:760px){.game-tabs{gap:9px}.game-tab{flex-wrap:wrap;padding:15px 14px;gap:8px;min-height:115px}.game-tab-number{width:100%;font-size:17px}.game-tab>span:nth-child(2){font-size:20px}.game-tab>span:last-child{display:none}.game-tab small{font-size:8px}.game-panel{grid-template-columns:1fr}.game-intro{display:block;border-right:0;border-bottom:1px solid var(--line);padding:28px}.game-stamp{float:right;margin-left:20px;width:66px;height:66px}.game-intro .eyebrow{margin:0 0 15px;font-size:7px}.game-intro h3{font-size:35px;max-width:none}.game-intro>p:not(.eyebrow){max-width:85%;font-size:12px;margin-top:15px}.game-intro>p.game-small{max-width:none;font-size:10px;margin-top:15px}.game-play{padding:27px}.game-play h4{max-width:none}.memory-board{grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}.memory-card{aspect-ratio:1.1}.memory-face>svg{width:55px;height:55px}.memory-face>span{font-size:10px}.game-topline{margin-bottom:20px}}
@media(max-width:540px){.game-tabs{gap:7px}.game-tab{padding:13px 9px;min-height:122px;align-content:start}.game-tab>span:nth-child(2){font-size:17px}.game-tab-number{font-size:16px}.game-tab small{font-size:8px;line-height:1.4;margin-top:7px}.game-stage{border-radius:15px}.game-intro{padding:25px 21px}.game-intro h3{font-size:30px;letter-spacing:-.5px}.game-stamp{width:53px;height:53px;font-size:22px;gap:3px}.game-stamp.flower-stamp{padding:11px}.game-stamp.letter-stamp{font-size:20px}.game-stamp i{font-size:16px}.game-intro>p:not(.eyebrow){max-width:100%;clear:both;padding-top:4px;font-size:12px}.game-play{padding:21px 18px}.game-play h4{font-size:28px}.couple-options{gap:7px}.couple-options button{padding:15px 5px;font-size:10px;min-height:106px;overflow-wrap:anywhere}.couple-options button[aria-pressed=true]{padding:14px 4px}.choice-monogram{width:33px;height:33px;font-size:21px}.game-topline{gap:10px;font-size:10px}.game-reset{font-size:10px}.game-play .button{font-size:10px;padding:12px 16px;min-height:46px}.game-actions{gap:9px}.game-dots{margin-bottom:21px}.game-feedback{font-size:11px;margin-top:16px}.memory-board{gap:8px}.memory-card{aspect-ratio:.78;border-radius:9px;min-height:62px}.memory-back{font-size:15px;letter-spacing:1px}.memory-face>svg{width:43px;height:43px;max-width:95%}.memory-face>span{font-size:8px}.memory-back:after{font-size:12px}.game-stats{gap:20px}.game-stats strong{font-size:23px}.scramble-letters{font-size:25px;letter-spacing:1px;padding:12px 9px;word-spacing:2px}.scramble-input-row{gap:8px}.game-play .scramble-heading{font-size:26px}.scramble-hint{font-size:11px}.games-footnote{font-size:9px;padding:0 10px}.couple-summary li{font-size:10px;gap:14px}.game-result h4{font-size:30px}}
@media(prefers-reduced-motion:reduce){.game-tab,.memory-card,.couple-options button{transition:none}.game-tab:hover,.memory-card:hover:not(.is-matched){transform:none}}
