.game-illustration{display:block;width:200px;max-width:80%;height:160px;color:#373d32;margin:auto;filter:drop-shadow(0 9px 6px #353c3210)}
.card-art .game-illustration{transition:transform .3s ease;position:relative;z-index:1}
.game-card:hover .game-illustration{transform:rotate(-3deg) translateY(-4px)}
.intro-icon:has(.game-illustration){width:168px;height:140px;border-radius:32px;display:grid;place-items:center}
.intro-icon .game-illustration{width:160px;height:128px;max-width:100%}
.game-content{position:relative;isolation:isolate}
.game-content .prompt-card,.game-content .handoff,.game-content .date-summary{animation:soft-arrive .23s ease-out both}
.game-content .memory-card:not(.hidden-card){animation:card-reveal .22s ease-out both}
.game-content .cell.win{box-shadow:0 0 0 3px #a9bd8b inset}
.timer-panel{--remaining:1;max-width:320px;margin:18px auto 22px;padding:12px 18px 15px;border-radius:20px;border:1px solid #dedfd2;background:#fafbf5}
.timer-panel .timer{margin:0;font-size:36px;line-height:1.25}
.timer-caption{display:block;font-size:10px;font-weight:700;letter-spacing:1.5px;text-transform:uppercase;margin:5px 0 11px;color:#626957}
.timer-track{height:7px;overflow:hidden;border-radius:99px;background:#e5e8dd}
.timer-fill{height:100%;width:100%;transform:scaleX(var(--remaining));transform-origin:left;background:#768f57;border-radius:99px;will-change:transform}
.timer-panel.urgent{background:#fff5f7;border-color:#ebc3ce}
.timer-panel.urgent .timer,.timer-panel.urgent .timer-caption{color:#923d5b}
.timer-panel.urgent .timer-fill{background:#ad4569}
.celebration{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:-1;max-height:400px}
.celebration i{position:absolute;left:calc(7% + var(--piece)*7.5%);top:10px;color:#bf6c89;font-size:22px;font-style:normal;opacity:0;animation:little-confetti 1.6s ease-out both;animation-delay:calc(var(--piece)*35ms)}
.celebration i:nth-child(even){color:#7d915b}
.game-content .reaction-pad.go{box-shadow:0 0 0 7px #aac38d45}
@keyframes soft-arrive{from{opacity:.4;transform:translateY(6px)}to{opacity:1;transform:none}}
@keyframes card-reveal{from{transform:scale(.93);opacity:.6}to{transform:none;opacity:1}}
@keyframes little-confetti{0%{opacity:0;transform:translateY(-10px) rotate(0)}18%{opacity:.65}100%{opacity:0;transform:translateY(270px) rotate(140deg)}}
@media(max-width:600px){.card-art .game-illustration{height:140px}.timer-panel{margin:14px auto 18px}.timer-panel .timer{font-size:32px}}
@media(prefers-reduced-motion:reduce){.game-content .prompt-card,.game-content .handoff,.game-content .date-summary,.game-content .memory-card:not(.hidden-card),.celebration i{animation:none}.card-art .game-illustration{transition:none}.game-card:hover .game-illustration{transform:none}}
