html:has(.screen-page),.screen-page{height:100%;overflow:hidden}.screen-page{background:radial-gradient(ellipse at center,var(--surface) 0%,var(--bg) 70%)}.screen{position:relative;height:100vh;height:100dvh;padding:2.4vh 2vw;box-sizing:border-box;display:grid;gap:2vh 1.6vw;grid-template-columns:1fr 1fr 1.7fr 1fr 1fr;grid-template-rows:repeat(4,1fr);grid-template-areas:"s1 s2 s3 s4 s5" "s6 s7 m s8 s9" "s10 s11 m s12 s13" "s14 s15 s16 s17 s18"}.screen.idle,.screen.idle *{cursor:none}.slot{display:flex;min-height:0;min-width:0}.screen-center{grid-area:m;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:0;gap:1.2vh}.screen-photo{display:block;flex:1 1 0;width:100%;min-height:0;object-fit:cover;object-position:var(--cover-focus, 50% 30%);border-radius:1.2vw;border:.7vw solid var(--surface);box-shadow:0 2vh 5vh #0000002e;background:var(--accent)}.screen-names{margin:0;font-family:var(--f-script, var(--font-display));font-size:5.2vh;line-height:1;color:var(--primary)}.screen-qr{display:flex;align-items:center;gap:1vw}.screen-qr-code{width:9vh;height:9vh;padding:.6vh;background:#fff;border-radius:.8vh}.screen-qr-code svg{display:block;width:100%;height:100%}.screen-qr p{margin:0;display:flex;flex-direction:column;font-size:1.6vh;color:var(--muted);text-align:left}.screen-qr strong{color:var(--ink);font-size:2.3vh}.screen-wish{display:flex;gap:1vw;align-items:center;width:100%;height:100%;box-sizing:border-box;overflow:hidden;padding:1.5vh 1vw;border-radius:.9vw;background:var(--bg);border:1px solid var(--line);box-shadow:0 1vh 3vh #0000001a;opacity:0;transform:translateY(1.5vh) scale(.97);transition:opacity .9s ease,transform .9s ease}.screen-wish.in{opacity:1;transform:none}.screen-wish>div{flex:1;min-width:0}.slot:nth-child(3n+1) .screen-wish:not(.screen-wish--photo,.screen-wish--empty){background:color-mix(in srgb,var(--accent) 45%,var(--bg))}.slot:nth-child(3n+2) .screen-wish:not(.screen-wish--photo,.screen-wish--empty){background:color-mix(in srgb,var(--primary) 9%,var(--bg))}.screen-wish--photo{background:#fffdf8;border-color:transparent;box-shadow:0 1.2vh 3.5vh #00000029;padding:1.2vh}.screen-wish--photo .screen-msg{color:#2f2a25}.slot:nth-child(odd) .screen-wish.in{transform:rotate(-.8deg)}.slot:nth-child(2n) .screen-wish.in{transform:rotate(.8deg)}.screen-wish img{flex:none;height:100%;width:auto;aspect-ratio:1;max-width:38%;object-fit:cover;border-radius:2px}.screen-msg{margin:0;font-size:1.75vh;line-height:1.4;color:var(--ink)}.clamp .screen-msg{display:-webkit-box;-webkit-line-clamp:6;-webkit-box-orient:vertical;overflow:hidden}.screen-wish--empty{justify-content:center;text-align:center;background:transparent;border:2px dashed var(--line);box-shadow:none}.screen-wish--empty .screen-msg{font-family:var(--font-display);color:var(--muted)}.screen-wish--empty .screen-name{text-align:center}.screen-name{margin:.8vh 0 0;font-family:var(--f-script, var(--font-display));font-weight:600;font-size:2.1vh;color:var(--primary);text-align:right;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.slot{transition:opacity .5s}.slot.lifted{opacity:0}.spot{position:fixed;inset:0;z-index:5;display:grid;place-items:center;background:#14100c8c;backdrop-filter:blur(4px);opacity:0;transition:opacity .8s ease}.spot.on{opacity:1}.spot-card{display:flex;align-items:center;gap:3.5vw;width:min(66vw,1200px);box-sizing:border-box;padding:5vh 4vw;background:var(--bg);border-radius:1.6vw;box-shadow:0 4vh 12vh #00000059;transition:transform .8s cubic-bezier(.2,.8,.2,1),opacity .8s ease}.spot-card img{flex:none;width:36vh;height:36vh;object-fit:cover;background:#fffdf8;padding:1.2vh 1.2vh 4vh;border-radius:.3vh;box-shadow:0 1.5vh 4vh #00000040;transform:rotate(-2.5deg)}.spot-text{flex:1;min-width:0}.spot-label{margin:0 0 2vh;font-size:1.7vh;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:var(--primary)}.spot-msg{margin:0;font-family:var(--font-display);font-size:4.6vh;line-height:1.3;color:var(--ink)}.spot-name{margin:3vh 0 0;font-family:var(--f-script, var(--font-display));font-size:4.6vh;line-height:1;color:var(--primary);text-align:right}.t-birthday-milestone .spot-msg{font-family:var(--f-body);font-size:4vh}.t-birthday-milestone .screen-wish:not(.screen-wish--empty),.t-birthday-milestone .spot-card{border:1px solid color-mix(in srgb,var(--primary) 40%,transparent)}@media(max-aspect-ratio:1/1){.spot-card{flex-direction:column;width:90vw}.spot-card img{width:26vh;height:26vh}.spot-msg{font-size:2.8vh}.spot-name{font-size:3vh}}.screen-new{position:absolute;top:2vh;left:50%;transform:translate(-50%);margin:0;padding:.8vh 1.6vw;border-radius:99px;background:var(--primary);color:var(--on-primary, #fff);font-weight:700;font-size:2vh;animation:pop .4s ease}@keyframes pop{0%{transform:translate(-50%) scale(.6);opacity:0}}.screen-full{position:absolute;right:1.2vw;bottom:1.2vh;opacity:.75}.screen.idle .screen-full{opacity:0}@media(max-aspect-ratio:1/1){.screen{grid-template-columns:1fr 1fr;grid-template-rows:1.6fr 1fr 1fr 1fr;grid-template-areas:"m m" "s1 s2" "s3 s4" "s5 s6"}.slot:nth-child(n+7){display:none}.screen-msg{font-size:1.5vh}.screen-wish img{display:none}.screen-name{font-size:1.4vh}}
