@import"https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=JetBrains+Mono:wght@400;500&family=Permanent+Marker&display=swap";:root{--bg-color: #f4f4f5;--dots-color: #e4e4e7;--panel-bg: #ffffff;--border-color: #e4e4e7;--text-primary: #18181b;--text-secondary: #71717a;--accent: #3b82f6;--accent-hover: #2563eb;--danger: #ef4444;--success: #22c55e;--font-ui: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;--font-mono: "JetBrains Mono", monospace;--font-hand: "Permanent Marker", cursive}*{box-sizing:border-box;outline:none;-webkit-tap-highlight-color:transparent}body{margin:0;padding:0;background-color:var(--bg-color);background-image:radial-gradient(var(--dots-color) 1px,transparent 1px);background-size:24px 24px;height:100vh;width:100vw;font-family:var(--font-ui);color:var(--text-primary);overflow:hidden;display:flex;flex-direction:row;-webkit-user-select:none;user-select:none;touch-action:none}.camera-zone{flex:0 0 450px;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;position:relative;z-index:20;padding:40px;background:linear-gradient(to right,#fffc,#fff0);border-right:1px solid transparent}.camera-wrapper{position:relative;width:100%;max-width:400px;aspect-ratio:1 / 1}.camera-img{width:100%;height:auto;position:relative;z-index:20;pointer-events:none;filter:drop-shadow(0 20px 40px rgba(0,0,0,.2))}.lens-wrapper{position:absolute;bottom:35%;left:62%;transform:translate(-50%);width:26%;height:26%;border-radius:50%;overflow:hidden;z-index:25;background:#000;box-shadow:inset 0 0 20px #000;border:2px solid #333}video#cam-feed{width:100%;height:100%;object-fit:cover;transform:scaleX(-1);opacity:.9;filter:contrast(1.1) saturate(1.1)}.lens-shine{position:absolute;top:15%;left:15%;width:30%;height:20%;background:linear-gradient(135deg,#fff6,#ffffff1a);transform:rotate(-45deg);filter:blur(4px);z-index:26;pointer-events:none}.shutter-btn{position:absolute;bottom:40%;left:17.3%;width:11%;height:11%;border-radius:50%;z-index:30;cursor:pointer;background:#f000}.shutter-btn:after{content:"";position:absolute;top:-5px;right:-5px;bottom:-5px;left:-5px;border-radius:50%;border:2px solid var(--accent);opacity:0;transition:opacity .2s,transform .2s;transform:scale(.9)}.shutter-btn:hover:after{opacity:1;transform:scale(1)}.ejection-slot{position:absolute;z-index:15;top:-40%;left:50%;transform:translate(-50%);width:35%;height:100%;pointer-events:none;display:flex;align-items:flex-end;justify-content:center;padding-bottom:20%}.desk-zone{flex:1;position:relative;height:100%;background:radial-gradient(circle at center,rgba(59,130,246,.05) 0%,transparent 70%)}.btn-container{position:absolute;top:24px;right:24px;z-index:200;display:flex;gap:12px}.twitter-link{position:absolute;left:24px;z-index:200;background:var(--panel-bg);border:1px solid var(--border-color);color:var(--text-secondary);padding:8px 14px;border-radius:6px;font-family:var(--font-mono);font-size:12px;text-decoration:none;display:flex;align-items:center;gap:8px;transition:all .2s ease;box-shadow:0 2px 5px #0000000d}.twitter-link:hover{background:var(--border-color);color:var(--text-primary);border-color:var(--text-secondary)}.twitter-text-short{display:none}.twitter-text-full{display:inline}.action-btn{background:var(--panel-bg);border:1px solid var(--border-color);color:var(--text-primary);padding:8px 16px;border-radius:6px;font-family:var(--font-mono);font-size:12px;cursor:pointer;transition:all .2s ease;text-transform:uppercase;letter-spacing:.5px;box-shadow:0 2px 5px #0000000d}.action-btn:hover{background:var(--border-color);border-color:var(--text-secondary);transform:translateY(-1px)}.action-btn:active{transform:translateY(0)}.polaroid{width:180px;position:absolute;cursor:grab;pointer-events:auto;transform-origin:center center;touch-action:none;transition:opacity .5s ease-out,transform .2s;perspective:1000px}.polaroid-inner{position:relative;width:100%;height:100%;text-align:center;transition:transform .6s cubic-bezier(.4,0,.2,1);transform-style:preserve-3d}.polaroid.flipped .polaroid-inner{transform:rotateY(180deg)}.polaroid-front,.polaroid-back{position:relative;width:100%;height:100%;-webkit-backface-visibility:hidden;backface-visibility:hidden;background:#fbfbfb;padding:12px 12px 60px;box-shadow:0 10px 30px #00000026;border-radius:2px}.polaroid-back{position:absolute;top:0;left:0;transform:rotateY(180deg);display:flex;flex-direction:column;justify-content:center;align-items:center;padding:20px;background:#fbfbfb;border:none;color:#222}.polaroid:active .polaroid-front,.polaroid:active .polaroid-back{box-shadow:0 25px 50px #0003}.polaroid:active{z-index:10000!important}.polaroid img{width:100%;height:180px;object-fit:cover;background:#111;border:1px solid rgba(0,0,0,.1);pointer-events:none;display:block;filter:blur(0) grayscale(0) brightness(1);will-change:filter}.polaroid.developing-start img{filter:blur(20px) grayscale(1) brightness(.1)}.polaroid.developing-slow img{transition:filter 6s ease-in-out;filter:blur(0) grayscale(0) brightness(1)}.polaroid.developing-fast img{transition:filter 3s ease-out!important;filter:blur(0) grayscale(0) brightness(1)}.polaroid .caption-main{position:absolute;bottom:24px;left:12px;width:156px;text-align:center;color:#18181b;opacity:.9;cursor:text;font-family:var(--font-hand);font-size:16px;line-height:1.2;min-height:20px;background:transparent;border:none}.polaroid .caption-main:focus{background:#0000000d;border-radius:4px}.polaroid .caption-main:empty:before{content:"Write a caption...";opacity:.6}.polaroid .caption-date{position:absolute;bottom:8px;left:12px;width:156px;text-align:center;font-family:var(--font-hand);font-size:10px;color:#71717a;pointer-events:none;-webkit-user-select:none;user-select:none}.polaroid.ejecting{transform:translateY(100%);animation:riseOut 2s cubic-bezier(.23,1,.32,1) forwards}@keyframes riseOut{0%{transform:translateY(100%);opacity:1}to{transform:translateY(-60px);opacity:1}}.flip-btn{position:absolute;top:50%;right:-18px;transform:translateY(-50%);width:36px;height:36px;background:var(--panel-bg);border:1px solid var(--border-color);border-radius:50%;cursor:pointer;display:none;align-items:center;justify-content:center;font-size:16px;z-index:60;color:var(--text-primary);transition:all .2s;opacity:0;pointer-events:none;box-shadow:0 4px 12px #0000001a}.polaroid.can-share .flip-btn{display:flex}.polaroid.can-share:hover .flip-btn,.polaroid.can-share.flipped:hover .flip-btn{opacity:1;pointer-events:auto}.flip-btn:hover{background:var(--accent);color:#fff;border-color:var(--accent);transform:translateY(-50%) scale(1.1)}.polaroid-actions{position:absolute;top:-35px;left:50%;transform:translate(-50%);display:flex;flex-direction:column;gap:4px;align-items:center;z-index:50;pointer-events:none;opacity:0;transition:opacity .2s;padding-top:15px;padding-bottom:5px;margin-top:-10px}.polaroid.can-share:hover .polaroid-actions,.polaroid.can-share .polaroid-actions:hover{opacity:1;pointer-events:auto}.polaroid-email-btn{background:var(--accent);color:#fff;border:none;padding:6px 12px;border-radius:20px;font-family:var(--font-ui);font-weight:500;font-size:11px;cursor:pointer;box-shadow:0 4px 12px #3b82f666;white-space:nowrap;transition:all .2s}.polaroid-email-btn:hover{background:var(--accent-hover);transform:translateY(-2px)}.polaroid-email-btn.uploading{background:var(--panel-bg);color:var(--text-secondary);border:1px solid var(--border-color);cursor:not-allowed}.polaroid-email-btn.success{background:var(--success);color:#fff}.flip-tooltip{position:absolute;top:50%;left:calc(100% + 15px);transform:translateY(-50%);background:var(--panel-bg);color:var(--text-primary);border:1px solid var(--border-color);padding:6px 10px;border-radius:4px;font-family:var(--font-ui);font-size:11px;opacity:0;pointer-events:none;transition:opacity .2s;z-index:50;white-space:nowrap}.flip-tooltip:before{content:"";position:absolute;top:50%;left:-4px;transform:translateY(-50%) rotate(45deg);width:8px;height:8px;background:var(--panel-bg);border-left:1px solid var(--border-color);border-bottom:1px solid var(--border-color)}.polaroid.can-share:hover .flip-tooltip{opacity:1;transform:translateY(-50%) translate(5px)}.polaroid.flipped .flip-tooltip,.polaroid.flipped .polaroid-front .flip-btn{display:none!important}.polaroid:not(.flipped) .polaroid-back .flip-btn{display:none!important}.x-profile-section{display:flex;flex-direction:column;align-items:center;gap:8px;margin-top:20px}.x-profile-label{font-family:var(--font-hand);font-size:14px;color:var(--text-secondary);margin-bottom:4px}.x-handle-input{width:140px;padding:8px 12px;font-family:var(--font-mono);font-size:12px;border:1px solid var(--border-color);border-radius:6px;text-align:center;background:var(--bg-color);color:var(--text-primary);transition:all .2s}.x-handle-input:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px #3b82f61a}.x-handle-input::placeholder{color:var(--text-secondary);opacity:.6}.x-profile-link{display:flex;align-items:center;gap:6px;color:var(--text-primary);text-decoration:none;font-family:var(--font-mono);font-size:13px;padding:8px 14px;border:1px solid var(--border-color);border-radius:6px;background:var(--bg-color);transition:all .2s}.x-profile-link:hover{background:var(--border-color);color:var(--text-primary);border-color:var(--text-secondary)}.flash{position:fixed;top:0;left:0;right:0;bottom:0;background:#fff;opacity:0;pointer-events:none;z-index:10000;transition:opacity .1s}.flash-active{opacity:.8}.instruction-card{position:absolute;bottom:30px;right:30px;width:180px;background:var(--panel-bg);border:1px solid var(--border-color);padding:16px;border-radius:2px;box-shadow:0 4px 12px #00000014;z-index:10;transform:rotate(-2deg);pointer-events:none}.tape{position:absolute;top:-12px;left:50%;transform:translate(-50%) rotate(1deg);width:40px;height:20px;background:#fff6;border-left:1px solid rgba(0,0,0,.05);border-right:1px solid rgba(0,0,0,.05);box-shadow:0 1px 3px #0000001a;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);opacity:.6;z-index:11}.instruction-header{font-family:var(--font-mono);font-size:10px;color:var(--text-secondary);text-transform:uppercase;letter-spacing:1px;margin-bottom:12px;text-align:center;border-bottom:1px solid var(--dots-color);padding-bottom:8px}.instruction-list{display:flex;flex-direction:column;gap:8px}.instruction-step{display:flex;align-items:center;gap:10px}.step-num{font-family:var(--font-mono);font-size:10px;color:var(--accent);font-weight:500;width:16px}.step-text{font-family:var(--font-mono);font-size:11px;color:var(--text-primary);font-weight:500;letter-spacing:-.2px}.email-modal{position:fixed;top:0;left:0;right:0;bottom:0;background:#ffffff80;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:2000;display:none;align-items:center;justify-content:center;padding:20px}.email-modal.open{display:flex}.email-modal-content{background:#fff;border:1px solid var(--border-color);border-radius:12px;padding:30px;max-width:420px;width:100%;box-shadow:0 20px 40px #0000001a;text-align:center;color:var(--text-primary)}.email-modal-icon{font-size:40px;margin-bottom:16px}.email-modal-title{font-family:var(--font-ui);font-weight:600;font-size:18px;margin:0 0 12px;color:var(--text-primary)}.email-modal-message{font-family:var(--font-ui);font-size:14px;color:var(--text-secondary);line-height:1.5;margin-bottom:20px}.email-form{display:flex;flex-direction:column;gap:16px}.email-input{width:100%;padding:12px 16px;font-family:var(--font-ui);font-size:14px;border:1px solid var(--border-color);border-radius:8px;background:var(--bg-color);color:var(--text-primary);transition:all .2s;box-sizing:border-box}.email-input:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px #3b82f61a}.email-input::placeholder{color:var(--text-secondary);opacity:.6}.email-modal-buttons{display:flex;gap:12px;justify-content:center}.email-btn{font-family:var(--font-ui);font-weight:500;font-size:13px;padding:10px 24px;border-radius:6px;border:1px solid transparent;cursor:pointer;transition:all .2s;min-width:100px}.email-btn-send{background:var(--accent);color:#fff}.email-btn-send:hover:not(:disabled){background:var(--accent-hover)}.email-btn-send:disabled{background:var(--border-color);color:var(--text-secondary);cursor:not-allowed}.email-btn-cancel{background:transparent;border-color:var(--border-color);color:var(--text-primary)}.email-btn-cancel:hover{background:var(--border-color)}.email-status{margin-top:16px;font-family:var(--font-ui);font-size:13px;min-height:20px}.email-status.success{color:var(--success)}.email-status.error{color:var(--danger)}@media(max-width:768px){body{flex-direction:column}.camera-zone{flex:0 0 auto;width:100%;height:auto;padding:60px 20px 30px;background:linear-gradient(to bottom,#fff,#fff0)}.desk-zone{width:100%;height:100%}.twitter-link{top:10px;left:10px;padding:6px 10px}.github-link{top:10px;left:140px!important;padding:6px 10px}.btn-container{top:10px;right:10px}.polaroid{width:150px}.polaroid img{height:150px}.instruction-card{bottom:20px;right:20px;transform:scale(.9) rotate(-2deg)}}
