[data-edition="deco"]{--plate:url("../editions/deco.svg");--night:#123d3e;--jewel:#57a79b}
[data-edition="sixties"]{--plate:url("../editions/sixties.svg");--night:#4e2447;--jewel:#f8a8ac}
[data-edition="seventies"]{--plate:url("../editions/seventies.svg");--night:#432c31;--jewel:#de764c}
[data-edition="eighties"]{--plate:url("../editions/eighties.svg");--night:#252044;--jewel:#ff889d}
[data-edition="nineties"]{--plate:url("../editions/nineties.svg");--night:#2b3455;--jewel:#f99c4f}
[data-edition="pixel"]{--plate:url("../editions/pixel.svg");--night:#18283e;--jewel:#a5e597}
[data-edition="gothic"]{--plate:url("../editions/gothic.svg");--night:#241c38;--jewel:#98597d}
[data-edition="lava"]{--plate:url("../editions/lava.svg");--night:#341f2b;--jewel:#ff954c}
[data-edition="ice"]{--plate:url("../editions/ice.svg");--night:#153c52;--jewel:#a1ebf7}
[data-edition="vines"]{--plate:url("../editions/vines.svg");--night:#123d34;--jewel:#81b277}
[data-edition="flowers"]{--plate:url("../editions/flowers.svg");--night:#4f2b43;--jewel:#e59caf}
[data-edition="garden"]{--plate:url("../editions/garden.svg");--night:#153b3d;--jewel:#77a883}
[data-edition="zombie"]{--plate:url("../editions/zombie.svg");--night:#263637;--jewel:#b2c989}
[data-edition="celestial"]{--plate:url("../editions/celestial.svg");--night:#162747;--jewel:#779dd1}
[data-edition="vinyl"]{--plate:url("../editions/vinyl.svg");--night:#35293e;--jewel:#cf8b7d}
.moment{min-height:100vh;background:radial-gradient(ellipse at 8% 5%,#ffffff0f,transparent 55%),var(--night);background-attachment:fixed}
.moment[data-edition]{background-color:var(--night)}
.moment-wrap{width:min(94%,108rem);margin:clamp(12px,2vw,36px) auto;display:grid;gap:clamp(12px,1.3vw,24px);align-content:start}
.gift,.activity,.letter,.mu-finale{border:1px solid #bda784;border-radius:14px;box-shadow:0 10px 40px #0002;margin:0}
.gift-band{background:var(--night);color:#fff3d6;border-bottom:3px double #ddc494}
.cover{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.96fr);gap:1rem;min-height:0;background:linear-gradient(128deg,var(--paper) 76%,color-mix(in srgb,var(--art) 22%,var(--paper)) 76%)}
.cover-type{max-width:none}.cover h1{font-size:clamp(2.4rem,5.1vw,6.35rem);line-height:.98}.mu-card-art{width:100%;height:auto;align-self:center;transform:rotate(2deg);box-shadow:3px 7px 12px #11202533;border-radius:4px}
.activity,.mission,.mu-finale,.letter{padding:clamp(16px,2.2vw,36px)}.mu-finale{background:var(--paper)}.mu-finale p{max-width:46ch;margin:.55rem 0}
.mu-fx-controls{display:flex;flex-wrap:wrap;gap:8px}.mu-fx-controls button{font-size:.875rem}.mu-fx-controls button[aria-pressed=true]{background:var(--night);color:#fff4da}.mu-fx-controls button[aria-pressed=true]::before{content:'✓ '}
.mu-sky{position:fixed;inset:0;width:100%;height:100%;pointer-events:none;z-index:99}.mu-care-links{position:relative}
.moment .activity button:not(.zone):not(.lit),.moment .primary,.moment .finale{position:relative;border:3px double #c4a46b;background-color:var(--night);color:#fff3d9;border-radius:9px;font-weight:650;isolation:isolate}
.moment .activity button:not(.zone):not(.lit)::after,.moment .primary::after,.moment .finale::after{content:'';position:absolute;inset:3px;pointer-events:none;background:linear-gradient(135deg,#ebcc89 3px,transparent 3px) top left/12px 12px no-repeat,linear-gradient(-45deg,#ebcc89 3px,transparent 3px) bottom right/12px 12px no-repeat;border-radius:3px}
.tiles{gap:clamp(5px,.85vw,14px)}.moment .tiles .mu-memory-tile{margin:0;min-height:84px;aspect-ratio:1.45;width:100%;padding:3px;display:flex;align-items:flex-end;justify-content:center;overflow:hidden;font-size:0;background-image:var(--plate);background-size:cover;background-position:center}
.moment .tiles .mu-memory-tile[aria-pressed=true]{font-size:clamp(.75rem,1.45vw,1.05rem);padding-bottom:.35em;background:var(--night);color:#fff4da}
.mu-memory-tile[aria-pressed=true]::before{content:'';position:absolute;inset:6% 18% 34%;background:center/contain no-repeat var(--face);pointer-events:none}
.mu-memory-tile[data-face="0"]{--face:url('../editions/face-record.svg')}.mu-memory-tile[data-face="1"]{--face:url('../editions/face-tape.svg')}.mu-memory-tile[data-face="2"]{--face:url('../editions/face-phones.svg')}.mu-memory-tile[data-face="3"]{--face:url('../editions/face-star.svg')}
.moment .tiles .mu-memory-tile:disabled{border-color:var(--jewel);box-shadow:inset 0 0 0 3px var(--jewel)}
.moment[data-edition="vines"] .activity button:not(.zone):hover::after,.moment[data-edition="garden"] .activity button:not(.zone):focus-visible::after{background:radial-gradient(ellipse at 0 100%,#81b277 20%,transparent 23%) 0 100%/12px 12px repeat-x}
@media(min-width:900px){.moment-wrap{grid-template-columns:minmax(0,1.27fr) minmax(0,1fr);align-items:start}.gift{grid-column:1;grid-row:1}.activity{grid-column:2;grid-row:1}.letter{grid-column:1}.mu-finale{grid-column:2}.moment[data-tier=simple] .letter{grid-column:2;grid-row:1}.moment[data-tier=simple] .mu-finale{grid-column:1/-1}.decision-inner{width:min(94%,76rem)}}
@media(max-width:600px){.moment-wrap{width:calc(100% - 18px)}.cover{grid-template-columns:1fr;padding:18px}.mu-card-art{width:min(90%,340px);justify-self:center}.tiles button{min-width:0}.moment .tiles .mu-memory-tile{min-height:66px}}
@media(prefers-reduced-motion:no-preference){.mu-memory-tile,.mu-fx-controls button{transition:transform .16s}.mu-memory-tile:hover:enabled{transform:translateY(-2px)}.mu-memory-tile:active:enabled{transform:scale(.96)}}

.mu-memory-tile[data-face=ornament]{--face:var(--plate)}
.moment .activity button:not(.zone):not(.lit):not(.mu-memory-tile):not(.mu-jigsaw button){padding-inline-start:2.8em}
.moment .activity button:not(.zone):not(.lit):not(.mu-memory-tile):not(.mu-jigsaw button)::before,.moment .primary::before{content:'';display:inline-block;background:var(--plate) center/200%;width:1.52em;height:1.52em;border:1px solid #d6b47d;border-radius:50%;vertical-align:middle}
.moment .primary::before{margin-inline-end:.55em}
.moment .activity button:not(.zone):not(.lit):not(.mu-memory-tile):not(.mu-jigsaw button)::before{position:absolute;inset-inline-start:.5em;top:50%;transform:translateY(-50%)}
.moment[data-edition=vines] .activity button:not(.zone):not(.lit)::after,.moment[data-edition=garden] .activity button:not(.zone):not(.lit)::after{background:radial-gradient(ellipse at 20% 80%,#86bd81 0 18%,transparent 22%) 0 100%/11px 10px repeat-x;transform:scaleX(.34);transform-origin:bottom left}
@media(prefers-reduced-motion:no-preference){.moment[data-edition=vines] .activity button::after,.moment[data-edition=garden] .activity button::after{transition:transform .45s}.moment[data-edition=vines] .activity button:is(:hover,:focus-visible)::after,.moment[data-edition=garden] .activity button:is(:hover,:focus-visible)::after{transform:scaleX(1)}}
.mu-lanterns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem}.moment .mu-lanterns button{height:72px}.moment .mu-lanterns .alight{color:#172629;background:#ffe39d;outline:3px solid #a26d2f}
.sample-cta a{background:var(--paper);color:var(--ink);display:inline-flex;align-items:center;min-height:44px;border:1px solid #c6a775}.moment-wrap>*{min-width:0}.mu-finale button[hidden]{display:none}
@media(min-width:900px){.moment-wrap:not(:has(.gift:only-child)) .activity{align-self:stretch}.moment-wrap .letter{align-self:stretch}}

[data-edition="sushi"]{--plate:url("../editions/sushi.svg");--night:#123a40;--jewel:#ff8675;--highlight:#9cd595}
[data-edition="ramen"]{--plate:url("../editions/ramen.svg");--night:#3c2635;--jewel:#ffb649;--highlight:#f1897b}
[data-edition="boba"]{--plate:url("../editions/boba.svg");--night:#3b2549;--jewel:#ce94e8;--highlight:#ffc490}
[data-edition="matcha"]{--plate:url("../editions/matcha.svg");--night:#243f39;--jewel:#b6d473;--highlight:#e8b4a2}
[data-edition="coffee"]{--plate:url("../editions/coffee.svg");--night:#3e2b2c;--jewel:#db9a64;--highlight:#f5d6a9}
[data-edition="tacos"]{--plate:url("../editions/tacos.svg");--night:#273f37;--jewel:#ffc354;--highlight:#fc8365}
[data-edition="pizza"]{--plate:url("../editions/pizza.svg");--night:#432431;--jewel:#ffbd60;--highlight:#ee7062}
[data-edition="gummy"]{--plate:url("../editions/gummy.svg");--night:#392751;--jewel:#b6a4ff;--highlight:#ffa5b8}
[data-edition="bake"]{--plate:url("../editions/bake.svg");--night:#503438;--jewel:#e9a272;--highlight:#b9d8c0}
[data-edition="gelato"]{--plate:url("../editions/gelato.svg");--night:#42354d;--jewel:#ffacc1;--highlight:#9edcc7}
[data-edition="anime"]{--plate:url("../editions/anime.svg");--night:#232b51;--jewel:#ffa58c;--highlight:#85cbde}
[data-edition="manga"]{--plate:url("../editions/manga.svg");--night:#242535;--jewel:#cee0e7;--highlight:#ffa55d}
[data-edition="mecha"]{--plate:url("../editions/mecha.svg");--night:#20374a;--jewel:#9bd4cf;--highlight:#ff8866}
[data-edition="familiar"]{--plate:url("../editions/familiar.svg");--night:#30294e;--jewel:#d3b5ee;--highlight:#efcd80}
[data-edition="farm"]{--plate:url("../editions/farm.svg");--night:#25423d;--jewel:#bace82;--highlight:#ffa67f}
[data-edition="dragon"]{--plate:url("../editions/dragon.svg");--night:#302c48;--jewel:#ae9ada;--highlight:#edc179}
[data-edition="kart"]{--plate:url("../editions/kart.svg");--night:#263954;--jewel:#f4b44d;--highlight:#9edee2}
[data-edition="cyber"]{--plate:url("../editions/cyber.svg");--night:#29234b;--jewel:#67d9dc;--highlight:#ff87b9}
[data-edition="rhythm"]{--plate:url("../editions/rhythm.svg");--night:#2c2147;--jewel:#aa9fff;--highlight:#74e2d4}
[data-edition="monster"]{--plate:url("../editions/monster.svg");--night:#254349;--jewel:#8bd4ae;--highlight:#ffc680}
[data-edition="kpop"]{--plate:url("../editions/kpop.svg");--night:#3b2753;--jewel:#eea3d4;--highlight:#a8ceff}
[data-edition="bass"]{--plate:url("../editions/bass.svg");--night:#202642;--jewel:#91eeab;--highlight:#c18bea}
[data-edition="guitar"]{--plate:url("../editions/guitar.svg");--night:#382e3a;--jewel:#e29175;--highlight:#e6c887}
[data-edition="beats"]{--plate:url("../editions/beats.svg");--night:#352a41;--jewel:#afa2ff;--highlight:#f5a76f}
[data-edition="festival"]{--plate:url("../editions/festival.svg");--night:#472e45;--jewel:#ffab79;--highlight:#df93be}
[data-edition="y2k"]{--plate:url("../editions/y2k.svg");--night:#2f354c;--jewel:#b8ddff;--highlight:#f3a5d1}
[data-edition="cottage"]{--plate:url("../editions/cottage.svg");--night:#2c3e36;--jewel:#f6a277;--highlight:#c3d69b}
[data-edition="academy"]{--plate:url("../editions/academy.svg");--night:#352d32;--jewel:#d6a771;--highlight:#aebca3}
[data-edition="poet"]{--plate:url("../editions/poet.svg");--night:#393749;--jewel:#dbb6a9;--highlight:#bfcbe5}
[data-edition="circus"]{--plate:url("../editions/circus.svg");--night:#492739;--jewel:#f19d8c;--highlight:#f4cc7d}
[data-edition="denim"]{--plate:url("../editions/denim.svg");--night:#203b50;--jewel:#8bbfdd;--highlight:#f5b27b}
[data-edition="pearl"]{--plate:url("../editions/pearl.svg");--night:#1e3d4a;--jewel:#95e2cf;--highlight:#f5b2cc}
[data-edition="skate"]{--plate:url("../editions/skate.svg");--night:#313449;--jewel:#f0a37d;--highlight:#9fd4c4}
[data-edition="surf"]{--plate:url("../editions/surf.svg");--night:#183e50;--jewel:#70d6cc;--highlight:#f8bf85}
[data-edition="climb"]{--plate:url("../editions/climb.svg");--night:#38324a;--jewel:#e3947b;--highlight:#a6d4bf}
[data-edition="run"]{--plate:url("../editions/run.svg");--night:#232d49;--jewel:#b8eb81;--highlight:#a39fe2}
[data-edition="hoops"]{--plate:url("../editions/hoops.svg");--night:#3a2a38;--jewel:#f89e66;--highlight:#88c4dc}
[data-edition="camp"]{--plate:url("../editions/camp.svg");--night:#213d3e;--jewel:#e9aa69;--highlight:#b3d29f}
[data-edition="pool"]{--plate:url("../editions/pool.svg");--night:#173d38;--jewel:#8ac8a0;--highlight:#edbf7d}
[data-edition="cinema"]{--plate:url("../editions/cinema.svg");--night:#382b3f;--jewel:#eda5a4;--highlight:#e6c785}
[data-edition="photo"]{--plate:url("../editions/photo.svg");--night:#293740;--jewel:#d9be91;--highlight:#8dd0c4}
[data-edition="rail"]{--plate:url("../editions/rail.svg");--night:#283b4a;--jewel:#8ebedb;--highlight:#f7b782}
[data-edition="sea"]{--plate:url("../editions/sea.svg");--night:#153642;--jewel:#74e1d0;--highlight:#9ab3fc}
[data-edition="dino"]{--plate:url("../editions/dino.svg");--night:#364137;--jewel:#d7b788;--highlight:#a6cc99}
[data-edition="beer"]{--plate:url("../editions/beer.svg");--night:#343a28;--jewel:#f1b94f;--highlight:#a8c988}
[data-edition="whiskey"]{--plate:url("../editions/whiskey.svg");--night:#3f2a24;--jewel:#e4a05e;--highlight:#f2cf91}
[data-edition="wine"]{--plate:url("../editions/wine.svg");--night:#412638;--jewel:#dc91af;--highlight:#a6bd8c}
[data-edition="agave"]{--plate:url("../editions/agave.svg");--night:#1a3b39;--jewel:#88c5ad;--highlight:#e8b075}
[data-edition="gin"]{--plate:url("../editions/gin.svg");--night:#243c41;--jewel:#a3cdbe;--highlight:#d5b3e4}
[data-edition="cocktail"]{--plate:url("../editions/cocktail.svg");--night:#482d44;--jewel:#f3a489;--highlight:#e9d36c}
.moment[data-illustrated][data-palette=""]{--paper:color-mix(in srgb,var(--jewel) 16%,#fffaf0);--ink:var(--night);--accent:var(--night);--art:var(--highlight)}

[data-edition="rink"]{--plate:url("../editions/rink.svg");--night:#183442;--jewel:#84c5d4;--highlight:#f1b387}
[data-edition="pitch"]{--plate:url("../editions/pitch.svg");--night:#243b35;--jewel:#9bc398;--highlight:#edc480}

.moment .mu-memory-tile[data-face=glyph][aria-pressed=true]::before{content:attr(data-glyph);display:grid;place-content:center;inset:3% 10% 30%;background:none;color:#ffeab4;font:700 clamp(20px,3.8vw,36px)/1 Georgia,serif}
.mu-match-tally{font-variant-numeric:tabular-nums;font-weight:650}
