/* MyLinkList app: the "wow" layer for signed-in screens and shared lists (Oct 2026).
   Loaded after the main styles. Each list takes its colors from its occasion (app.js sets data-occ),
   motion is gentle and transform/opacity only, and it all switches off for people who prefer less motion. */

/* ---------- occasion colors ---------- */
#app,#guestView{
  position:relative; isolation:isolate;
  --occ1:#2349D6; --occ2:#7A5CFF;
  --occ-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='8' width='17' height='4' rx='1'/%3E%3Cpath d='M5 12v8h14v-8M12 8v12M12 8c-1.8 0-4.5-.6-4.5-2.6 0-1.5 1.6-2.2 3-1.3 1 .7 1.5 2.4 1.5 3.9 0-1.5.5-3.2 1.5-3.9 1.4-.9 3 .2 3 1.3 0 2-2.7 2.6-4.5 2.6z'/%3E%3C/svg%3E");
}
#app[data-occ="bday"],#guestView[data-occ="bday"]{--occ1:#F2553F;--occ2:#FF9F43;
  --occ-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cellipse cx='12' cy='9' rx='5.5' ry='6.5'/%3E%3Cpath d='M12 15.5l-1.1 1.6h2.2zM12 17.1c-1.2 2 1.2 3 0 5'/%3E%3C/svg%3E")}
#app[data-occ="xmas"],#guestView[data-occ="xmas"]{--occ1:#D62B35;--occ2:#1F8A5B;
  --occ-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l5 6h-3l4 5h-3l4 5H5l4-5H6l4-5H7z'/%3E%3Cpath d='M12 19v3'/%3E%3C/svg%3E")}
#app[data-occ="anniv"],#guestView[data-occ="anniv"]{--occ1:#E0457B;--occ2:#FF8FB1;
  --occ-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20s-7.5-4.4-7.5-10A4.3 4.3 0 0 1 12 7.4 4.3 4.3 0 0 1 19.5 10c0 5.6-7.5 10-7.5 10z'/%3E%3C/svg%3E")}
#app[data-occ="mom"],#guestView[data-occ="mom"]{--occ1:#A35CFF;--occ2:#FF7EB6;
  --occ-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20s-7.5-4.4-7.5-10A4.3 4.3 0 0 1 12 7.4 4.3 4.3 0 0 1 19.5 10c0 5.6-7.5 10-7.5 10z'/%3E%3C/svg%3E")}
#app[data-occ="dad"],#guestView[data-occ="dad"]{--occ1:#2349D6;--occ2:#14B8D9;
  --occ-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1-5.4-2.9-5.4 2.9 1-6.1L3.2 9.5l6.1-.9z'/%3E%3C/svg%3E")}

/* soft glow in the list's colors behind the top of the screen */
#app::before,#guestView::before{content:"";position:absolute;z-index:-1;top:-170px;left:50%;width:100vw;height:640px;transform:translateX(-50%);pointer-events:none;
  background:
    radial-gradient(520px 300px at 18% 32%,color-mix(in srgb,var(--occ1) 20%,transparent),transparent 70%),
    radial-gradient(560px 320px at 86% 18%,color-mix(in srgb,var(--occ2) 18%,transparent),transparent 70%);
  -webkit-mask-image:linear-gradient(#000 45%,transparent);mask-image:linear-gradient(#000 45%,transparent);
  transition:opacity .6s}
@media (prefers-color-scheme: dark){ #app::before,#guestView::before{opacity:.6} }
body:has(#app:not([hidden])),body:has(#guestView:not([hidden])){overflow-x:clip}

/* ---------- frosted top bar that stays with you ---------- */
.top{position:sticky;top:8px;z-index:30;background:color-mix(in srgb,var(--bar) 84%,transparent);
  -webkit-backdrop-filter:blur(16px) saturate(1.4);backdrop-filter:blur(16px) saturate(1.4);box-shadow:0 10px 30px rgba(10,10,12,.16)}
.bell,.me{transition:border-color .2s,box-shadow .2s,transform .2s}
.bell:hover,.me:hover{box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 30%,transparent)}
.bell .count{animation:llPulse 2.4s ease-in-out infinite}
@keyframes llPulse{0%,100%{box-shadow:0 0 0 0 rgba(35,73,214,.5)}50%{box-shadow:0 0 0 6px rgba(35,73,214,0)}}

/* ---------- Wish lists / Secret Santa ---------- */
.modes{background:color-mix(in srgb,var(--surface-2) 85%,transparent);border-radius:16px}
.modes button{border-radius:12px;transition:color .25s,background .25s,box-shadow .25s}
#app .modes button[aria-selected="true"]{box-shadow:var(--shadow),inset 0 -3px 0 var(--occ1)}

/* ---------- list switcher ---------- */
.lcard{border-radius:16px;transition:transform .25s cubic-bezier(.2,.8,.2,1),box-shadow .25s,border-color .25s}
.lcard:hover{transform:translateY(-2px)}
#app .lcard[aria-current="true"],#guestView .lcard[aria-current="true"]{background:linear-gradient(135deg,var(--occ1),var(--occ2));color:#fff;border-color:transparent;
  box-shadow:0 10px 24px color-mix(in srgb,var(--occ1) 32%,transparent)}
#app .lcard[aria-current="true"] .avatar,#guestView .lcard[aria-current="true"] .avatar{border-color:rgba(255,255,255,.7)}

/* ---------- the list's banner ---------- */
#listView>.lhead,#guestView>.lhead{position:relative;overflow:hidden;align-items:flex-end;padding:26px 24px 24px;border-radius:24px;
  background:linear-gradient(135deg,color-mix(in srgb,var(--occ1) 15%,var(--surface)),color-mix(in srgb,var(--occ2) 11%,var(--surface)) 70%);
  border:1px solid color-mix(in srgb,var(--occ1) 22%,var(--line));
  box-shadow:0 18px 40px color-mix(in srgb,var(--occ1) 13%,transparent)}
#listView>.lhead::after,#guestView>.lhead::after{content:"";position:absolute;right:-18px;bottom:-34px;width:200px;height:200px;pointer-events:none;
  background:linear-gradient(135deg,var(--occ1),var(--occ2));
  -webkit-mask:var(--occ-icon) center/contain no-repeat;mask:var(--occ-icon) center/contain no-repeat;
  opacity:.2;transform:rotate(-10deg);animation:llDrift 9s ease-in-out infinite alternate}
@keyframes llDrift{to{transform:rotate(-4deg) translateY(-8px)}}
#listView>.lhead>*,#guestView>.lhead>*{position:relative;z-index:1}
#listView>.lhead h1,#guestView>.lhead h1{font-size:clamp(32px,7vw,48px);letter-spacing:-.02em}
#lvOcc,#gOcc{color:var(--occ1);letter-spacing:.12em}
#app .countdown,#guestView .countdown{background:linear-gradient(135deg,var(--occ1),var(--occ2));color:#fff;box-shadow:0 4px 12px color-mix(in srgb,var(--occ1) 30%,transparent)}

/* tips and "about" card */
#app .note-bar,#guestView .note-bar{background:color-mix(in srgb,var(--occ1) 6%,var(--surface));border:1px solid color-mix(in srgb,var(--occ1) 14%,var(--line));border-radius:14px}
#app .about,#guestView .about{border-radius:20px;border:1.5px solid transparent;
  background:linear-gradient(var(--surface),var(--surface)) padding-box,linear-gradient(135deg,var(--occ1),var(--occ2)) border-box}
#app .about.hint{background:linear-gradient(var(--surface),var(--surface)) padding-box,linear-gradient(135deg,var(--line),var(--line)) border-box}

/* ---------- add a link: a slowly turning color ring while you type ---------- */
@property --ll-a{syntax:"<angle>";inherits:false;initial-value:0deg}
.quick-row{position:relative;border-radius:16px;transition:border-color .3s,box-shadow .3s}
.quick-row:focus-within{border-color:transparent;box-shadow:0 10px 30px color-mix(in srgb,var(--occ1,#2349D6) 20%,transparent)}
.quick-row:focus-within::before{content:"";position:absolute;inset:-2px;border-radius:16px;padding:2px;pointer-events:none;
  background:conic-gradient(from var(--ll-a),var(--occ1,#2349D6),var(--occ2,#7A5CFF),#FFC24B,var(--occ1,#2349D6));
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;
  animation:llSpin 3.5s linear infinite}
@keyframes llSpin{to{--ll-a:360deg}}
.mode-tabs{border-radius:12px}
.mode-tabs button{transition:background .2s,color .2s,box-shadow .2s}

/* ---------- product cards ---------- */
.items{gap:18px}
.tag{border-radius:20px;transition:transform .3s cubic-bezier(.2,.8,.2,1),box-shadow .3s,border-color .3s}
.tag:hover{transform:translateY(-4px);box-shadow:0 18px 36px rgba(10,10,12,.12);border-color:color-mix(in srgb,var(--occ1,#2349D6) 30%,var(--line))}
.tag .pic{border-radius:20px 20px 0 0;background:radial-gradient(120% 90% at 50% 0%,color-mix(in srgb,var(--occ1,#2349D6) 9%,#FFFFFF),#FFFFFF 72%)}
.tag .pic img{transition:transform .5s cubic-bezier(.2,.8,.2,1)}
.tag:hover .pic img{transform:scale(1.05)}
.tag .pic.add{border-radius:20px 20px 0 0}
.tag .price{font-size:22px}
.tag .mono{border-radius:8px}
#app .prio.p3,#guestView .prio.p3{background:linear-gradient(135deg,var(--occ1),var(--occ2));color:#fff}
.stamp{border:none;background:rgba(255,255,255,.9);color:#B7791F;box-shadow:0 4px 14px rgba(10,10,12,.15),inset 0 0 0 1.5px #E2B04A;
  -webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);border-radius:8px;padding:3px 10px}
@media (prefers-color-scheme: dark){ .stamp{background:rgba(30,32,41,.9);color:#F2C266} }
.drop{background:linear-gradient(90deg,rgba(31,122,77,.12),rgba(31,122,77,.24),rgba(31,122,77,.12));background-size:200% 100%;animation:llShimmer 2.8s linear infinite}
@keyframes llShimmer{to{background-position:-200% 0}}

/* chip-in progress fills with the list's colors, with a soft moving sheen */
#app .chipin .bar i,#guestView .chipin .bar i{background:linear-gradient(90deg,var(--occ1),var(--occ2));position:relative;overflow:hidden;transition:width .8s cubic-bezier(.2,.8,.2,1)}
#app .chipin .bar i::after,#guestView .chipin .bar i::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent,rgba(255,255,255,.45),transparent);transform:translateX(-100%);animation:llSheen 2.6s ease-in-out infinite}
@keyframes llSheen{60%,100%{transform:translateX(100%)}}

/* cards float in when you switch lists (app.js adds .enter briefly) */
.items.enter>*{animation:llRise .55s cubic-bezier(.2,.8,.2,1) both}
.items.enter>*:nth-child(2){animation-delay:.05s}.items.enter>*:nth-child(3){animation-delay:.1s}
.items.enter>*:nth-child(4){animation-delay:.15s}.items.enter>*:nth-child(5){animation-delay:.2s}
.items.enter>*:nth-child(6){animation-delay:.25s}.items.enter>*:nth-child(n+7){animation-delay:.3s}
@keyframes llRise{from{opacity:0;transform:translateY(18px) scale(.98)}}

/* ---------- buttons ---------- */
#app .btn:not(.ghost):not(.link),#guestView .btn:not(.ghost):not(.link){background:linear-gradient(135deg,var(--accent),color-mix(in srgb,var(--accent) 55%,#7A5CFF));transition:transform .2s,box-shadow .2s,filter .2s}
#app .btn:not(.ghost):not(.link):hover,#guestView .btn:not(.ghost):not(.link):hover{transform:translateY(-1px);box-shadow:0 8px 18px rgba(35,73,214,.28)}
#app .btn:not(.ghost):not(.link):active,#guestView .btn:not(.ghost):not(.link):active{transform:translateY(0) scale(.98)}
.panel{border-radius:20px}
.empty{border-radius:22px;background:color-mix(in srgb,var(--occ1,#2349D6) 4%,transparent)}

/* ---------- celebrations (app-fx.js) ---------- */
.ll-burst{position:fixed;width:0;height:0;pointer-events:none;z-index:9999}
.ll-burst i{position:absolute;left:0;top:0;width:7px;height:11px;border-radius:2px;opacity:0;animation:llPop 1.1s cubic-bezier(.2,.7,.3,1) forwards}
.ll-burst i.spark{width:6px;height:6px;border-radius:50%;animation-duration:.75s}
@keyframes llPop{
  0%{opacity:1;transform:translate(-50%,-50%) scale(.5)}
  75%{opacity:1}
  100%{opacity:0;transform:translate(calc(var(--x) - 50%),calc(var(--y) - 50%)) rotate(var(--r)) scale(1)}
}

/* ---------- Secret Santa: a winter wonderland behind the whole screen ---------- */
/* Sky + snowy hills with pine trees (fixed, behind everything), then three layers of falling snow on top of the sky. */
#santaView::before,#santaView::after,#app[data-occ="xmas"] #listView>.ll-scene::before,#app[data-occ="xmas"] #listView>.ll-scene::after,#guestView[data-occ="xmas"]>.ll-scene::before,#guestView[data-occ="xmas"]>.ll-scene::after{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none}
#santaView::before,#app[data-occ="xmas"] #listView>.ll-scene::before,#guestView[data-occ="xmas"]>.ll-scene::before{
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320' preserveAspectRatio='none'%3E%3Cpath d='M0 140 L120 70 L210 120 L330 40 L470 130 L590 60 L720 125 L860 50 L1000 120 L1120 70 L1250 125 L1360 80 L1440 110 V320 H0Z' fill='%23BFD4EC'/%3E%3Cpath d='M330 40 l26 22 -14 -2 -12 10 -12 -8 -14 4z M860 50 l24 20 -12 -2 -12 9 -12 -7 -12 3z' fill='%23FFFFFF'/%3E%3Cpath d='M0 190 C 240 130 420 210 720 160 S 1200 110 1440 170 V320 H0Z' fill='%23DDE9F7'/%3E%3Cg fill='%236E8BAE'%3E%3Cpath d='M120 150 l22 46 h-12 l18 34 h-56 l18 -34 h-12z'/%3E%3Cpath d='M175 142 l16 34 h-9 l14 26 h-42 l14 -26 h-9z'/%3E%3Cpath d='M640 152 l18 38 h-10 l15 28 h-46 l15 -28 h-10z'/%3E%3Cpath d='M1180 120 l24 50 h-13 l20 38 h-62 l20 -38 h-13z'/%3E%3Cpath d='M1240 132 l17 36 h-9 l15 28 h-46 l15 -28 h-9z'/%3E%3C/g%3E%3Cpath d='M0 245 C 300 195 560 265 900 225 S 1300 205 1440 235 V320 H0Z' fill='%23EEF4FB'/%3E%3Cg fill='%234F6C8F'%3E%3Cpath d='M330 205 l28 58 h-15 l24 44 h-74 l24 -44 h-15z'/%3E%3Cpath d='M395 218 l20 42 h-11 l17 32 h-52 l17 -32 h-11z'/%3E%3Cpath d='M960 200 l22 46 h-12 l19 36 h-58 l19 -36 h-12z'/%3E%3Cpath d='M1320 210 l20 42 h-11 l17 32 h-52 l17 -32 h-11z'/%3E%3C/g%3E%3Cpath d='M0 290 C 360 262 760 302 1100 280 S 1360 274 1440 284 V320 H0Z' fill='%23FFFFFF'/%3E%3C/svg%3E") bottom center/100% 300px no-repeat,
    linear-gradient(180deg,#9FC3EA 0%,#C6DCF3 35%,#E4EEF9 70%,#F4F8FD 100%)}
#santaView::after,#app[data-occ="xmas"] #listView>.ll-scene::after,#guestView[data-occ="xmas"]>.ll-scene::after{
  background-image:
    radial-gradient(4px 4px at 20px 30px,#FFFFFF 50%,transparent 51%),
    radial-gradient(2px 2px at 140px 90px,#FFFFFF 50%,transparent 51%),
    radial-gradient(4px 4px at 90px 170px,#FFFFFF 50%,transparent 51%),
    radial-gradient(2px 2px at 60px 60px,rgba(255,255,255,.9) 50%,transparent 51%),
    radial-gradient(2px 2px at 220px 140px,rgba(255,255,255,.9) 50%,transparent 51%),
    radial-gradient(4px 4px at 160px 230px,#FFFFFF 50%,transparent 51%),
    radial-gradient(6px 6px at 280px 80px,#FFFFFF 50%,transparent 51%);
  background-size:200px 200px,200px 200px,200px 200px,260px 260px,260px 260px,340px 340px,340px 340px;
  filter:drop-shadow(0 0 1.5px rgba(70,110,170,.75));
  animation:llSnow 22s linear infinite}
@keyframes llSnow{to{background-position:40px 200px,40px 200px,40px 200px,-30px 260px,-30px 260px,60px 340px,60px 340px}}
/* hide the list-color glow while the winter scene shows */
#app:has(#santaView:not([hidden]))::before{opacity:0}
@media (prefers-color-scheme: dark){
  #santaView::before,#app[data-occ="xmas"] #listView>.ll-scene::before,#guestView[data-occ="xmas"]>.ll-scene::before{
    background:
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 260' preserveAspectRatio='none'%3E%3Cpath d='M0 150 C 240 90 420 170 720 120 S 1200 70 1440 130 V260 H0Z' fill='%231B2A45'/%3E%3Cg fill='%230F1A2E'%3E%3Cpath d='M150 128 l22 46 h-12 l18 34 h-56 l18 -34 h-12z'/%3E%3Cpath d='M205 120 l16 34 h-9 l14 26 h-42 l14 -26 h-9z'/%3E%3Cpath d='M1180 100 l24 50 h-13 l20 38 h-62 l20 -38 h-13z'/%3E%3Cpath d='M1240 112 l17 36 h-9 l15 28 h-46 l15 -28 h-9z'/%3E%3C/g%3E%3Cpath d='M0 200 C 300 150 560 220 900 180 S 1300 160 1440 190 V260 H0Z' fill='%23243656'/%3E%3Cg fill='%23101C31'%3E%3Cpath d='M380 168 l26 54 h-14 l22 40 h-68 l22 -40 h-14z'/%3E%3Cpath d='M960 160 l20 42 h-11 l17 32 h-52 l17 -32 h-11z'/%3E%3C/g%3E%3Cpath d='M0 236 C 360 210 760 250 1100 228 S 1360 222 1440 232 V260 H0Z' fill='%232D4266'/%3E%3C/svg%3E") bottom center/100% 260px no-repeat,
      radial-gradient(1.5px 1.5px at 12% 18%,#FFFFFF 50%,transparent 51%),radial-gradient(1px 1px at 34% 8%,#FFFFFF 50%,transparent 51%),
      radial-gradient(1.5px 1.5px at 58% 22%,#FFFFFF 50%,transparent 51%),radial-gradient(1px 1px at 76% 12%,#FFFFFF 50%,transparent 51%),
      radial-gradient(1.5px 1.5px at 90% 30%,#FFFFFF 50%,transparent 51%),radial-gradient(1px 1px at 22% 38%,#FFFFFF 50%,transparent 51%),
      linear-gradient(180deg,#0A1430 0%,#13254A 55%,#1B2E52 100%);
    animation:llTwinkle 5s ease-in-out infinite alternate}
  #santaView::after,#app[data-occ="xmas"] #listView>.ll-scene::after,#guestView[data-occ="xmas"]>.ll-scene::after{filter:none;opacity:.85}
}
@keyframes llTwinkle{to{filter:brightness(1.15)}}
/* Santa's sleigh flies across the top every ~30 seconds; two snowmen stand on the hills */
.ll-winter{position:absolute;width:0;height:0;overflow:visible}
/* takes off from the hills on the left and climbs out the top right */
.ll-sleigh{position:fixed;left:0;top:0;z-index:25;width:300px;pointer-events:none;transform:translate(-340px,70vh);animation:llFly 32s cubic-bezier(.45,.05,.55,.95) 1.5s infinite}
@keyframes llFly{
  0%{transform:translate(-340px,70vh) rotate(-4deg)}
  24%{transform:translate(44vw,34vh) rotate(-9deg)}
  48%{transform:translate(calc(100vw + 30px),2vh) rotate(-6deg)}
  48.01%,100%{transform:translate(calc(100vw + 60px),2vh)}
}
.ll-bob{animation:llBob 1.6s ease-in-out infinite}
@keyframes llBob{50%{transform:translateY(-6px) rotate(-1.5deg)}}
.ll-sleigh svg{display:block;width:100%;height:auto;overflow:visible;filter:drop-shadow(0 8px 12px rgba(10,20,40,.25))}
.ll-snowman{position:fixed;bottom:12px;z-index:-1;height:auto;pointer-events:none;filter:drop-shadow(0 6px 10px rgba(40,70,110,.18));overflow:visible}
.ll-sm-a{left:max(10px,calc(50% - 612px));width:86px}
.ll-sm-b{right:max(10px,calc(50% - 606px));width:74px;transform-origin:50% 100%;animation:llSway 4.5s ease-in-out infinite alternate}
@keyframes llSway{from{transform:rotate(-2.5deg)}to{transform:rotate(2.5deg)}}
@media (max-width:560px){
  .ll-sleigh{width:190px}
  .ll-sm-a{width:58px}.ll-sm-b{width:50px}
}
@media (prefers-reduced-motion: reduce){ .ll-sleigh{display:none} }

/* ---------- wish lists: a gentle scene for each occasion, behind the content ---------- */
/* Christmas lists get the winter wonderland (above, plus the sleigh and snowmen copied in by app-fx.js).
   Every other occasion gets shapes slowly floating up: balloons, hearts, stars or little gift boxes. */
.ll-scene{position:absolute;width:0;height:0;overflow:visible}
.ll-scene .ll-winter{display:none}
#app[data-occ="xmas"] #listView>.ll-scene .ll-winter,#guestView[data-occ="xmas"]>.ll-scene .ll-winter{display:block}
#app[data-occ="xmas"] #listView>.ll-scene .ll-rise,#guestView[data-occ="xmas"]>.ll-scene .ll-rise{display:none}
#app[data-occ="xmas"]:has(#listView:not([hidden]))::before,#guestView[data-occ="xmas"]::before{opacity:0}

#app,#guestView{
  --shape:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Crect x='5' y='15' width='30' height='22' rx='3'/%3E%3Crect x='3' y='10' width='34' height='7' rx='2'/%3E%3Cpath d='M20 10 C 14 2 6 4 10 9 Z M20 10 C 26 2 34 4 30 9 Z'/%3E%3C/svg%3E");
  --shape-ratio:1}
#app[data-occ="bday"],#guestView[data-occ="bday"]{
  --shape:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 64'%3E%3Cellipse cx='20' cy='18' rx='16' ry='18'/%3E%3Cpath d='M20 36 l-3 4 h6z'/%3E%3Cpath d='M20 40 C 14 47 26 53 19 63' stroke='black' stroke-width='1.4' fill='none'/%3E%3C/svg%3E");
  --shape-ratio:1.6}
#app[data-occ="anniv"],#guestView[data-occ="anniv"],#app[data-occ="mom"],#guestView[data-occ="mom"]{
  --shape:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 36'%3E%3Cpath d='M20 35 C 6 25 0 18 0 10 A 10 10 0 0 1 20 6 A 10 10 0 0 1 40 10 C 40 18 34 25 20 35z'/%3E%3C/svg%3E");
  --shape-ratio:.9}
#app[data-occ="dad"],#guestView[data-occ="dad"]{
  --shape:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M20 1 l5.6 11.6 12.8 1.8 -9.2 9 2.2 12.7 -11.4 -6 -11.4 6 2.2 -12.7 -9.2 -9 12.8 -1.8z'/%3E%3C/svg%3E");
  --shape-ratio:1}
.ll-rise i{position:fixed;z-index:-1;bottom:-120px;left:var(--x);width:var(--s);height:calc(var(--s) * var(--shape-ratio));pointer-events:none;
  background:var(--c);-webkit-mask:var(--shape) center/contain no-repeat;mask:var(--shape) center/contain no-repeat;
  opacity:.68;animation:llRiseUp var(--t) linear var(--d) infinite}
@keyframes llRiseUp{
  0%{transform:translate(0,0) rotate(-6deg)}
  25%{transform:translate(14px,-32vh) rotate(5deg)}
  50%{transform:translate(-12px,-64vh) rotate(-4deg)}
  75%{transform:translate(12px,-96vh) rotate(4deg)}
  100%{transform:translate(0,calc(-100vh - 260px)) rotate(-3deg)}
}
.ll-rise i:nth-child(1){--x:3%;--s:52px;--t:26s;--d:-3s;--c:var(--occ1)}
.ll-rise i:nth-child(2){--x:10%;--s:38px;--t:32s;--d:-17s;--c:#FFC24B}
.ll-rise i:nth-child(3){--x:24%;--s:46px;--t:29s;--d:-9s;--c:var(--occ2)}
.ll-rise i:nth-child(4){--x:41%;--s:34px;--t:35s;--d:-24s;--c:#7A5CFF}
.ll-rise i:nth-child(5){--x:58%;--s:44px;--t:30s;--d:-12s;--c:var(--occ1)}
.ll-rise i:nth-child(6){--x:73%;--s:38px;--t:33s;--d:-28s;--c:#2FBF8F}
.ll-rise i:nth-child(7){--x:87%;--s:56px;--t:27s;--d:-6s;--c:var(--occ2)}
.ll-rise i:nth-child(8){--x:95%;--s:34px;--t:31s;--d:-20s;--c:#FFC24B}
@media (prefers-color-scheme: dark){ .ll-rise i{opacity:.5} }
@media (max-width:560px){ .ll-rise i:nth-child(n){--s:30px} .ll-rise i:nth-child(n+6){display:none} }
@media (prefers-reduced-motion: reduce){ .ll-rise{display:none} }

/* cards read cleanly on top of the scene */
#santaView .panel,#santaView .santa-row{background:color-mix(in srgb,var(--surface) 92%,transparent);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}

/* ---------- phones ---------- */
@media (max-width:560px){
  /* keep the pinned bar to one slim row so it never eats the screen */
  .top{flex-wrap:nowrap;gap:8px;padding:8px 10px;top:6px}
  .top .brand{gap:8px;min-width:0}
  .top .brand img{width:32px;height:32px}
  .top .brand h1{font-size:18px;white-space:nowrap}
  .top .top-right{flex:none}
  #listView>.lhead,#guestView>.lhead{padding:20px 18px 18px;border-radius:20px}
  #listView>.lhead::after,#guestView>.lhead::after{width:130px;height:130px;right:-14px;bottom:-24px}
}

/* ---------- less motion, please ---------- */
@media (prefers-reduced-motion: reduce){
  #app *,#app *::before,#app *::after,#guestView *,#guestView *::before,#guestView *::after,.top *{animation:none!important;transition:none!important}
  #app::before,#guestView::before{transition:none}
  .items.enter>*{animation:none!important}
}
