@font-face {
  font-family: "Anek Local";
  src: url("./anek-600.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}
* { box-sizing: border-box; }
body { margin: 0; background: #d6bca6; color: #3f3966; font: 19px/1.45 "Helvetica Neue",Arial,sans-serif; }
main { position: relative; width: 100%; height: 100vh; height: 100dvh; overflow: hidden; }
.scene {
  position: absolute;
  inset: 0;
  background: url("./desk-lights.svg") center / cover no-repeat,
              url("./desk-setting.webp") center / cover no-repeat;
}
/* Frame and doors share the source artwork’s 1536 × 1024 coordinate space.
   Centre the visible cabinet inside its asymmetric transparent margins. */
.calendar-frame { position: absolute; left: 50%; top: 50%; width: min(134vw,145.6vh); width: min(134vw,145.6dvh); aspect-ratio: 3 / 2; transform: translate(-50.59%, -50.49%); background: radial-gradient(ellipse 39% 2.2% at 50.5% 88.2%, #48204470 12%, transparent 100%); }
.calendar-frame::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: url("./desk.webp") center / 100% 100% no-repeat; clip-path: polygon(13.997% 87.793%, 14.062% 14.844%, 14.258% 13.281%, 14.779% 13.086%, 86.328% 12.891%, 87.174% 14.258%, 87.240% 84.277%, 86.914% 85.645%, 86.393% 86.426%, 85.482% 87.109%, 84.831% 88.086%, 14.453% 88.086%); }
#board { position: absolute; left: 15.625%; top: 14.6484375%; width: 69.7916667%; height: 71.875%; container-type: inline-size; }
.slot { position: absolute; perspective: 60cqw; border-radius: 3%; background: linear-gradient(155deg,#35264a,#614b81 65%,#937cbd); box-shadow: inset 0 0 0 1px #64538d,inset 0.3cqw 0.6cqw 1.15cqw #271a3d99; }
.slot.open { z-index: 1; pointer-events: none; }
.leaf { position: absolute; inset: 0; transform-origin: left center; transform-style: preserve-3d; }
.open .leaf { transform: rotateY(-102deg); }
.swing .leaf { transition: transform 860ms cubic-bezier(.24,.66,.22,1); }
.face { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 3%; backface-visibility: hidden; -webkit-backface-visibility: hidden; mask-image: radial-gradient(circle at right center,transparent 0 9%,black 9.8%); }
.front { color: #391344; font: 700 3.45cqw/1 Arial,sans-serif; background-image: url("./print.webp"); box-shadow: inset 0 0 0 max(1px,.12cqw) #68539a,inset .22cqw .22cqw .18cqw #e3daff9c; }
.back { transform: rotateY(180deg); background: linear-gradient(100deg,#9b86e7,#7964bd); mask-image: radial-gradient(circle at left center,transparent 0 9%,black 9.8%); box-shadow: inset 0 0 .3cqw #c2aff5; }
.slot.open::after { content: ""; position: absolute; left: 0; top: 12%; width: 3.4%; height: 77%; background: linear-gradient(90deg,#695d5e,#e2d7cc,#887979); clip-path: polygon(0 0,100% 0,100% 17%,0 17%,0 83%,100% 83%,100% 100%,0 100%); }
.trigger { position: absolute; inset: 0; border: 0; border-radius: 3%; background: transparent; cursor: pointer; }
.slot:not(.open):is(:hover, :focus-within) .front { color: white; text-shadow: 0 1px 3px #391344; }
.trigger:focus-visible { outline: 3px solid white; outline-offset: 3px; }
#status { position: fixed; bottom: max(8px,env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); width: max-content; max-width: 95vw; margin: 0; padding: 4px 13px; border-radius: 20px; background: #fffcfff0; font-size: 14px; text-align: center; }
dialog { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 18px; border: 0; background: transparent; color: #3f3966; overflow: auto; }
dialog[open] { display: grid; place-items: safe center; }
dialog::backdrop { background: rgb(32 29 51 / 50%); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); }
article { position: relative; width: min(455px,100%); padding: 36px clamp(24px,5vw,42px) 28px; text-align: center; background: #fffcff; border: 1px solid #e6ddf6; border-radius: 17px; box-shadow: 0 14px 45px #31195630; outline: none; animation: pop 460ms cubic-bezier(.2,.75,.32,1.12) both; }
article::before { content: ""; position: absolute; inset: 7px; border: 1px solid #dcd4f4; border-radius: 11px; pointer-events: none; }
.logo { width: 112px; }
h1 { font: 600 clamp(36px,6vw,46px)/1.04 "Anek Bangla","Anek Local",sans-serif; letter-spacing: -1.9px; margin: 24px 0 14px; }
p { margin: 0; }
section { margin: 24px 0 15px; padding: 16px 20px; border-radius: 9px; background: #f1edff; font-size: 17px; }
.channel-mention { display: inline-block; white-space: nowrap; padding: 0 .24em; border-radius: .2em; background: #d5d5f1; color: #303e88; font-weight: 600; line-height: 1.32; }
strong { display: block; margin-bottom: 4px; }
.signature { width: 178px; display: block; margin: auto; }
.snow,.confetti { position: fixed; inset: 0; pointer-events: none; overflow: hidden; }
.snow i { position: absolute; top: -10px; background: white; border-radius: 50%; animation: snow linear infinite; opacity: .55; }
.confetti i { position: absolute; left: 50%; top: 50%; animation: burst 1.2s cubic-bezier(.12,.6,.31,1) both; }
@keyframes pop { from { opacity: 0; transform: scale(.94); } }
@keyframes snow { to { transform: translate(var(--drift),105vh); } }
@keyframes burst { 0% { opacity: 0; } 8% { opacity: 1; } 65% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--x),var(--y)) rotate(var(--spin)); } }
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { animation: none !important; transition: none !important; } .snow,.confetti { display: none; } }
#clock-panel { position: fixed; z-index: 5; top: 10px; right: 10px; max-width: calc(100vw - 20px); padding: 8px 12px; border: 1px solid #dcd4f4; border-radius: 10px; background: #fffcff; color: #3f3966; font: 14px/1.45 Arial,sans-serif; box-shadow: 0 3px 14px #201d3326; }
#clock-panel summary, #clock-panel button { cursor: pointer; }
#clock-panel label, #clock-panel input { display: block; margin: 8px 0; }
#clock-panel input, #clock-panel button { color: inherit; background: #f5f1ff; border: 1px solid #dcd4f4; border-radius: 5px; padding: 5px; }
