:root{color-scheme:dark;--navy:#040f27;--cyan:#8deaff;--ink:#f7fbff;--muted:#9db1cb;--line:rgba(150,206,241,.18);font-family:Inter,"Segoe UI",Arial,sans-serif;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:var(--navy);color:var(--ink);min-width:320px}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:default}button, input{-webkit-tap-highlight-color:transparent}button:focus-visible,input:focus-visible{outline:2px solid var(--cyan);outline-offset:5px}button svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}[hidden]{display:none!important}
.atmosphere{position:fixed;inset:0;pointer-events:none;overflow:hidden;z-index:-1;background:#030d24}.atmosphere video{width:100%;height:100%;object-fit:cover;opacity:.38;filter:saturate(.9)}.atmosphere:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(3,12,32,.7),rgba(3,12,32,.2),rgba(3,12,32,.7)),linear-gradient(0deg,#040e25,transparent 50%,rgba(3,12,32,.55))}body[data-screen=room] .atmosphere{opacity:0}.screen{min-height:100svh;animation:enter .55s ease both}.welcome{display:flex;align-items:center;justify-content:center;text-align:center;position:relative;padding:70px 24px 100px}.welcome-content{width:min(780px,100%)}.brand-hero{width:min(470px,76vw);height:auto;display:block;margin:0 auto 65px}.welcome h1{font-size:clamp(38px,4.4vw,68px);font-weight:350;letter-spacing:-.045em;line-height:1.12;margin:0}.welcome-copy p{color:#c0cde0;font-size:19px;line-height:1.6;margin:23px 0 37px}.welcome-foot{position:absolute;bottom:30px;color:var(--muted);font-size:13px;letter-spacing:.015em;left:24px;right:24px}.button{min-height:54px;padding:0 28px;border-radius:8px;display:inline-flex;justify-content:center;align-items:center;gap:13px;font-weight:600;font-size:15px;border:1px solid transparent;transition:background .2s,transform .2s,box-shadow .2s}.button:hover{transform:translateY(-2px)}.button:active{transform:translateY(0)}.primary{background:#98e9ff;color:#05233e;box-shadow:0 6px 28px rgba(38,186,235,.12)}.primary:hover{background:#b5f0ff;box-shadow:0 8px 35px rgba(38,186,235,.2)}.primary:disabled{background:#20354d;color:#7e97af;box-shadow:none;transform:none}.secondary{background:rgba(16,37,62,.6);color:#d8e8f7;border-color:var(--line)}.secondary:hover{background:#1b3651}.start-button{min-width:220px;height:60px;font-size:17px}
.topbar{max-width:1440px;padding:30px 52px;display:flex;align-items:center;justify-content:space-between;margin:auto;min-height:96px}.brand-small{width:175px;height:auto}.text-button{background:none;border:0;color:#c9d7e8;display:inline-flex;gap:8px;align-items:center;padding:10px 0;font-size:14px}.text-button:hover{color:white}.entry{padding-bottom:28px}.entry-content{width:min(920px,calc(100% - 48px));margin:36px auto 0;text-align:center}.entry h1{font-size:clamp(30px,3.3vw,46px);font-weight:400;letter-spacing:-.035em;line-height:1.2;margin:0}.intro{color:#bbcae0;font-size:17px;margin:16px 0 43px}.wish-fields{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;text-align:left}.wish-field{display:block;min-width:0;position:relative}.wish-field span{display:flex;gap:9px;align-items:center;color:#bdcce0;font-size:13px;margin:0 0 13px}.wish-field b{color:#70ceec;font-size:11px;font-weight:500;letter-spacing:.05em}.wish-field input{height:66px;width:100%;border:1px solid rgba(156,205,237,.3);border-radius:7px;background:rgba(5,21,47,.8);color:#fff;padding:0 17px;font-size:21px;letter-spacing:-.025em;transition:border-color .2s,background .2s}.wish-field input::placeholder{color:#7d92b0;font-size:16px;letter-spacing:0}.wish-field input:focus{background:rgba(8,32,58,.95);border-color:#8deaff;outline:none;box-shadow:0 0 0 3px rgba(104,220,255,.1)}.wish-field input[aria-invalid=true]{border-color:#ff9fae}.wish-field.has-value input{border-color:rgba(141,234,255,.6)}.form-meta{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#90a7c3;margin:13px 0 27px}.form-meta p{margin:0}.keyboard{max-width:800px;margin:0 auto;padding:20px 22px;border:1px solid rgba(157,207,241,.1);border-radius:12px;background:rgba(4,17,39,.75);backdrop-filter:blur(12px)}.keyboard-row{display:flex;justify-content:center;gap:7px;margin-bottom:7px}.keyboard-row:last-child{margin-bottom:0}.key{min-width:0;width:60px;height:46px;border-radius:6px;border:1px solid rgba(149,185,222,.17);background:#132941;color:#dceafb;font-size:16px;font-weight:450;box-shadow:0 2px 0 #081629;transition:background .12s}.key:hover,.key:active{background:#31536f}.key.wide{width:123px;font-size:12px}.keyboard-row.accents .key{height:32px;width:41px;font-size:13px;background:#0d2039;color:#9bb5d0}.key svg{height:18px;width:21px}.form-error{min-height:19px;color:#ffb1bf;font-size:13px;margin:15px 0 11px}.send-button{min-width:248px}.keyboard .key:focus-visible{outline-offset:2px}
.room{background:#080f19;display:flex;flex-direction:column;position:relative;overflow:hidden;min-height:100svh}.room-topbar{width:100%;padding-top:22px;padding-bottom:10px;min-height:76px}.room-heading{text-align:center;padding:8px 20px 0;z-index:1}.room-heading h1{font-size:clamp(25px,2.6vw,38px);font-weight:350;letter-spacing:-.035em;margin:0}.room-heading p{color:#9fb0c8;font-size:14px;margin:10px 0 0}.room-view{width:min(1060px,calc(100vw - 48px),calc((100svh - 270px)*1.359));aspect-ratio:1060/780;margin:8px auto 0;position:relative;isolation:isolate;min-height:200px}.room-view video,.room-view canvas{position:absolute;inset:0;width:100%;height:100%;display:block}.room-view canvas{pointer-events:none}.room-loading{position:absolute;inset:0;display:grid;place-items:center;background:rgba(7,15,25,.84);color:#c2eafb;font-size:15px;backdrop-filter:blur(5px)}.room-bottom{width:min(1000px,calc(100% - 64px));margin:0 auto 24px;display:flex;align-items:center;justify-content:space-between;gap:24px}.wish-summary{display:flex;flex-direction:column;gap:9px;min-width:0}.loop-label{color:#92aec5;font-size:11px;display:flex;align-items:center;gap:7px}.loop-label i{width:5px;height:5px;background:#78ddf8;border-radius:50%;box-shadow:0 0 9px #65daff}#submitted-words{display:flex;flex-wrap:wrap;gap:7px 12px;color:#e1f5ff;font-size:16px}#submitted-words span+span:before{content:'·';margin-right:12px;color:#5a7790}.room-actions{display:flex;gap:10px;flex-shrink:0}.room-actions .button{font-size:13px;min-height:46px;padding:0 20px}.media-error{color:#ffb7c2;text-align:center;font-size:14px}.media-error button{background:none;color:white;border:0;text-decoration:underline}.room:fullscreen{overflow-y:auto}.room:fullscreen .room-view{width:min(1400px,calc(100vw - 40px),calc((100svh - 230px)*1.359))}.room:fullscreen .room-topbar{max-width:none}
@keyframes enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@media(min-width:1600px){.entry-content{margin-top:6vh}.keyboard{margin-top:32px}.key{height:50px}}@media(max-height:760px) and (min-width:700px){.brand-hero{margin-bottom:38px;width:370px}.welcome h1{font-size:48px}.welcome-copy p{margin:20px 0 26px}.entry-content{margin-top:8px}.intro{margin-bottom:27px}.keyboard{padding:13px}.key{height:39px}.room-view{width:min(960px,calc((100svh - 230px)*1.359))}.room-topbar{min-height:65px;padding-top:15px}.room-heading h1{font-size:27px}.room-heading p{margin-top:6px}.room-bottom{margin-bottom:15px}}
@media(max-width:700px){.topbar{padding:21px 24px;min-height:76px}.brand-small{width:146px}.entry-content{width:calc(100% - 40px);margin-top:20px}.intro{font-size:15px;margin:13px 0 27px}.wish-fields{gap:15px;grid-template-columns:1fr}.wish-field span{margin-bottom:6px;font-size:12px}.wish-field input{height:53px;font-size:20px}.wish-field input::placeholder{font-size:15px}.form-meta{margin-bottom:18px;font-size:11px}.keyboard{padding:11px 7px}.keyboard-row{gap:4px;margin-bottom:5px}.key{height:38px;font-size:13px;border-radius:4px}.key.wide{font-size:10px;width:88px}.keyboard-row.accents .key{height:28px;font-size:11px}.send-button{width:100%;min-height:55px}.welcome{padding:70px 24px 110px}.brand-hero{margin-bottom:55px;width:90%;max-width:360px}.welcome h1{font-size:40px}.welcome-copy p{font-size:16px;max-width:260px;margin:24px auto 33px}.welcome-foot{bottom:26px;font-size:12px}.room-heading{margin-top:28px}.room-heading h1{font-size:28px;max-width:300px;margin:auto}.room-view,.room:fullscreen .room-view{width:100%;min-height:0;margin:30px auto 0}.room-bottom{width:calc(100% - 40px);flex-direction:column;gap:28px;margin-top:15px;margin-bottom:30px;align-items:center;text-align:center}.wish-summary{align-items:center}#submitted-words{justify-content:center;font-size:17px}.room-actions{width:100%;flex-direction:column-reverse;gap:10px}.room-actions .button{min-height:49px;font-size:14px}.room-topbar .text-button span{display:none}.room-topbar .text-button{padding:8px}.room-heading p{font-size:13px}.room{min-height:100svh}.room:fullscreen .room-view{width:100%}}
@media(prefers-reduced-motion:reduce){.screen{animation:none}.button{transition:none}.button:hover{transform:none}}

#room-video{opacity:0;pointer-events:none}.room-view canvas{filter:drop-shadow(0 0 18px rgba(21,127,204,.1))}
