:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;display:flex;place-items:center;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media (prefers-color-scheme: light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}.chat-container{border:1px solid #000;padding:8px;min-height:400px;width:100%;display:flex;flex-direction:column;align-items:center;margin:0;height:100%;background:#2e5875;color:#fff}.chat-messages{flex:1;overflow-y:auto;width:100%;padding-bottom:8px}.chat-message{margin-bottom:8px;display:flex;flex-direction:row;align-items:flex-start}.chat-avatar{margin-right:8px;flex-shrink:0}.chat-message-content{margin-left:8px;max-width:calc(100% - 46px);word-break:break-word}.chat-message-name{font-size:14px;font-weight:700;margin-bottom:2px;color:#fff}.chat-message-text{font-size:14px;line-height:1.4;color:#fff}.chat-input-form{display:flex;width:100%;gap:8px;margin-top:8px;padding-top:8px;border-top:1px solid rgba(255,255,255,.2)}.chat-input{flex:1;border:1px solid #000;padding:8px;font-size:14px;border-radius:4px;background:#fff;color:#000}.chat-send-button{border:1px solid #000;padding:4px;font-size:14px;cursor:pointer;display:flex;align-items:center;justify-content:center;height:36px;width:36px;border-radius:4px;background:#fff;color:#000}.chat-send-button:disabled{cursor:not-allowed;opacity:.6}@media (max-width: 768px){.chat-container{border:none;border-radius:0;padding:12px 8px 80px;min-height:280px;height:100%;box-sizing:border-box}.chat-messages{padding-bottom:20px;margin-bottom:8px;overflow-y:auto;scroll-behavior:smooth}.chat-message{margin-bottom:12px}.chat-message-content{max-width:calc(100% - 50px)}.chat-avatar{width:64px;height:64px;margin-right:12px}.chat-avatar img{width:64px;height:64px;border-radius:50%;object-fit:cover}.chat-message-name{font-size:13px;margin-bottom:4px;color:#fff}.chat-message-text{font-size:13px;line-height:1.5;color:#fff}.chat-input-form{gap:12px;margin-top:12px;padding-top:12px}.chat-input{padding:12px;font-size:16px;border-radius:8px}.chat-send-button{height:44px;width:44px;border-radius:8px;touch-action:manipulation}.chat-loading,.chat-empty{text-align:center;padding:20px;color:#fff;font-size:14px}}@media (max-width: 480px){.chat-container{padding:8px 6px 70px}.chat-messages{padding-bottom:8px}.chat-message{margin-bottom:10px}.chat-avatar{width:28px;height:28px;margin-right:8px}.chat-avatar img{width:28px;height:28px}.chat-message-content{max-width:calc(100% - 40px)}.chat-message-name{font-size:12px;color:#fff}.chat-message-text{font-size:12px;line-height:1.4;color:#fff}.chat-input-form{gap:8px}.chat-input{padding:10px;font-size:16px}.chat-send-button{height:40px;width:40px}}.resize-handle{display:none;width:100%;height:12px;background:linear-gradient(to bottom,#e5e7eb,#d1d5db,#9ca3af,#d1d5db,#e5e7eb);border-top:1px solid #f3f4f6;border-bottom:1px solid #6b7280;cursor:ns-resize;-webkit-user-select:none;user-select:none;touch-action:none;position:relative;flex-shrink:0;z-index:10;transition:background-color .2s ease;padding:16px 0;margin:-16px 0}.resize-handle:hover{background:linear-gradient(to bottom,#f3f4f6,#e5e7eb,#6b7280,#e5e7eb,#f3f4f6)}.resize-handle:active,.resize-handle.resizing{background:linear-gradient(to bottom,#d1d5db,#9ca3af,#4b5563,#9ca3af,#d1d5db);box-shadow:0 1px 3px #0000004d}.resize-handle-visual{display:flex;align-items:center;justify-content:center;height:12px;gap:3px;opacity:.6;transition:opacity .2s ease}.resize-handle:hover .resize-handle-visual,.resize-handle.resizing .resize-handle-visual{opacity:.8}.resize-handle-line{width:20px;height:1px;background:#6b7280;border-radius:.5px;box-shadow:0 1px #ffffff4d}.resize-handle-dots{display:flex;gap:2px;align-items:center}.resize-handle-dots span{width:2px;height:2px;background:#6b7280;border-radius:50%;display:block;box-shadow:0 .5px #fff6}@media (max-width: 768px){.resize-handle{display:block}@media (max-width: 480px){.resize-handle{padding:20px 0;margin:-20px 0}}}.resize-handle:focus-visible{outline:2px solid #fbbf24;outline-offset:2px}.resize-handle.resizing{box-shadow:0 2px 4px #0006}.resize-handle *{pointer-events:none;-webkit-user-select:none;user-select:none}@tailwind base;@tailwind components;@tailwind utilities;html,body,#root{height:100%;margin:0;padding:0}.app-root{min-height:100vh;height:100vh;background:#18181b;display:flex;flex-direction:column;flex:1 1 0%}.main-flex-simple{display:flex;flex-direction:row;flex:1 1 0%;width:100%;max-width:1200px;margin:0 auto;min-height:0;height:100%;padding:0}.meme-col{flex:1;display:flex;justify-content:center;align-items:flex-start;min-width:0;height:100%}.meme-img-simple{max-width:400px;max-height:350px;width:100%;object-fit:contain;border-radius:12px;background:#23232b;box-shadow:0 2px 16px #0000002e}.chat-col{width:350px;min-width:300px;max-width:400px;height:100%;background:#23232b;border:1.5px solid #2563eb;border-radius:12px;margin-left:32px;display:flex;flex-direction:column;box-shadow:0 2px 16px #0000002e;overflow:hidden}.mobile-app-container{display:flex;flex-direction:column;height:100vh;height:100dvh;width:100vw;overflow:hidden;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom);overscroll-behavior:none}.mobile-header{flex-shrink:0;z-index:10}.mobile-main-content{display:flex;flex-direction:column;flex:1;overflow:hidden;min-height:0}.mobile-image-section{display:flex;flex-direction:column;overflow:hidden;flex-shrink:0}.mobile-chat-section{display:flex;flex-direction:column;border-top:2px solid #2563eb;padding-bottom:calc(80px + env(safe-area-inset-bottom,0px));overflow:hidden;flex-shrink:0}.mobile-sidebar{position:fixed;bottom:0;left:0;right:0;background:#23232b;border-top:2px solid #2563eb;z-index:1000;padding:8px 16px;padding-bottom:calc(8px + env(safe-area-inset-bottom,0px));display:flex;justify-content:center;align-items:center;min-height:60px;gap:16px}.mobile-sidebar-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#000c;z-index:999;display:flex;justify-content:center;align-items:center}.mobile-sidebar-panel{background:#23232b;border:2px solid #2563eb;border-radius:12px;padding:24px;max-width:90vw;max-height:80vh;overflow-y:auto}@media (min-width: 769px) and (max-width: 1024px){.main-flex-simple{max-width:100%;padding:16px}.chat-col{width:300px;min-width:280px;margin-left:24px}.meme-img-simple{max-width:350px;max-height:300px}}@media (max-width: 768px){.main-flex-simple{flex-direction:column;max-width:100%;padding:0;height:100%}.meme-col{flex:1;height:auto;min-height:45vh;max-height:55vh;padding:16px}.meme-img-simple{max-width:100%;max-height:50vh;width:auto}.chat-col{width:100%;min-width:unset;max-width:unset;margin-left:0;margin-top:0;border-radius:0;border-left:none;border-right:none;border-bottom:none;height:40vh;min-height:300px;flex:0 0 auto}.desktop-sidebar{display:none}}@media (max-width: 480px){.meme-col{padding:8px;min-height:40vh;max-height:50vh}.meme-img-simple{max-height:45vh}.chat-col{height:50vh;min-height:280px}.mobile-chat-section{padding-bottom:70px}.mobile-sidebar{padding:6px 12px;min-height:50px}}.app-root-min{height:100vh;display:flex;flex-direction:column}.main-flex-min{display:flex;flex-direction:row;flex:1 1 0%;width:100%;height:100%}.meme-img-min{max-width:400px;max-height:350px;width:100%;object-fit:contain}@media (max-width: 768px){button{min-height:44px;min-width:44px;font-size:16px;padding:12px 16px}input[type=text],select,textarea{min-height:44px;padding:12px;font-size:16px}}@keyframes wiggle{0%{transform:scale(1.05) rotate(0)}25%{transform:scale(1.05) rotate(-2deg)}50%{transform:scale(1.05) rotate(2deg)}75%{transform:scale(1.05) rotate(-1deg)}to{transform:scale(1.05) rotate(0)}}.image-window-root{display:flex;flex-direction:column;flex:1 1 auto;height:100%;overflow-y:auto;border:1px solid #000;background-color:#0f5761;position:relative}.image-content{flex:1 1 0;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;overflow-y:auto;padding:10px 10px 60px}.clickable-image-container{position:relative;cursor:default}.clickable-image-container img{max-width:100%;max-height:62vh;object-fit:contain;display:block;margin:10px auto;border-radius:8px;flex-shrink:0}.mobile-expand-hint{display:none;position:absolute;top:8px;right:8px;background:#000000b3;color:#fff;border-radius:50%;width:32px;height:32px;align-items:center;justify-content:center;opacity:.8;transition:opacity .2s ease;pointer-events:none}.image-content img{max-width:100%;max-height:62vh;object-fit:contain;display:block;margin:10px auto;border-radius:8px;flex-shrink:0}.image-caption{font-size:16px;margin:10px 0;text-align:center;max-width:90%;word-wrap:break-word;color:#fff}.image-caption a{color:#08d9f5f5;text-decoration:none}.image-caption a:hover{text-decoration:underline}.share-buttons-container{width:100%;display:flex;justify-content:center;align-items:center;margin-top:15px;padding:10px;background-color:#0000000d;border-radius:8px;flex-shrink:0;gap:12px}.image-window-footer{position:absolute;bottom:0;left:0;right:0;background-color:#0f5761f2;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-top:1px solid rgba(255,255,255,.1);padding:8px 16px;display:flex;align-items:center;justify-content:center;gap:8px;font-size:12px;color:#888;z-index:10}.footer-link{color:#888!important;text-decoration:none!important;transition:color .2s ease;padding:4px 8px;border-radius:4px}.footer-link:hover{color:#ccc!important;background-color:#ffffff1a}.footer-separator{color:#666;margin:0 4px}.bottom-controls{flex-shrink:0;display:flex;gap:16px;justify-content:center;align-items:center;padding:16px 0;border-top:1px solid #000;background:#222}.image-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#000000e6;display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.image-modal-content{position:relative;max-width:95vw;max-height:95vh;display:flex;flex-direction:column;align-items:center;justify-content:center}.image-modal-close{position:absolute;top:-50px;right:0;background:#fff3;border:none;border-radius:50%;width:40px;height:40px;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#fff;transition:background-color .2s ease;z-index:1001}.image-modal-close:hover{background:#ffffff4d}.modal-image{max-width:100%;max-height:85vh;object-fit:contain;border-radius:8px;box-shadow:0 8px 32px #00000080}.modal-caption{color:#fff;font-size:16px;margin-top:15px;text-align:center;max-width:80%;line-height:1.4;background:#000000b3;padding:10px 15px;border-radius:8px}@media (max-width: 768px){.image-window-root{border:none;border-radius:0;padding-bottom:16px}.image-content{padding:8px;justify-content:flex-start;padding-top:env(safe-area-inset-top,16px);padding-bottom:50px}.clickable-image-container.mobile-clickable{cursor:pointer}.mobile-expand-hint{display:flex}.clickable-image-container.mobile-clickable:active .mobile-expand-hint{opacity:1;transform:scale(1.1)}.image-window-footer{padding:6px 12px;font-size:11px;gap:6px}.footer-link{padding:3px 6px}.clickable-image-container img,.image-content img{max-height:calc(100% - 80px);width:100%;height:auto;object-fit:contain}.image-caption{font-size:14px;margin:8px 0;max-width:95%;line-height:1.4;color:#fff}.share-buttons-container{margin-top:8px;padding:8px;flex-wrap:wrap;gap:8px}.bottom-controls{padding:12px 8px;gap:12px;flex-wrap:wrap}.image-modal-overlay{padding:10px}.image-modal-close{top:-45px;width:36px;height:36px}.modal-image{max-height:80vh}.modal-caption{font-size:14px;margin-top:12px;max-width:90%;padding:8px 12px}.nav-arrow{width:44px;height:44px;background:#000c}.nav-arrow-left{left:12px}.nav-arrow-right{right:12px}.nav-button{width:20px;height:20px}.nav-button svg{width:14px;height:14px}}@media (max-width: 480px){.image-content{padding:4px;padding-top:env(safe-area-inset-top,12px);padding-bottom:45px}.image-window-footer{padding:5px 8px;font-size:10px;gap:4px}.footer-link{padding:2px 4px}.footer-separator{margin:0 2px}.clickable-image-container img,.image-content img{max-height:calc(100% - 60px)}.image-caption{font-size:13px;margin:6px 0;color:#fff}.share-buttons-container{padding:6px;gap:6px}.bottom-controls{padding:8px 4px;gap:8px}.image-modal-close{top:-40px;width:32px;height:32px}.modal-image{max-height:75vh}.modal-caption{font-size:13px;margin-top:10px;padding:6px 10px}}.nav-button{display:flex;align-items:center;justify-content:center;background:#16a34a;border:none;border-radius:50%;color:#fff;width:32px;height:32px;cursor:pointer;transition:all .2s ease}.nav-button:hover:not(.disabled){background:#15803d;transform:scale(1.1)}.nav-button:active:not(.disabled){transform:scale(.95)}.nav-button.disabled{background:#666;cursor:not-allowed;opacity:.5}.nav-button svg{flex-shrink:0;width:16px;height:16px}.nav-arrow{position:absolute;top:50%;transform:translateY(-50%);background:#000000b3;border:none;border-radius:50%;width:48px;height:48px;display:flex;align-items:center;justify-content:center;color:#fff;cursor:pointer;transition:all .2s ease;z-index:10;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.nav-arrow:hover{background:#000000e6;transform:translateY(-50%) scale(1.1)}.nav-arrow:active{transform:translateY(-50%) scale(.95)}.nav-arrow-left{left:16px}.nav-arrow-right{right:16px}.purchase-button-container{max-width:400px;margin:2rem auto;padding:2rem;background:#0f5761;border-radius:12px;border:1px solid #404040;box-shadow:0 4px 12px #0000004d}.github-username-input{margin-bottom:1.5rem;text-align:center}.github-username-input label{display:block;margin-bottom:.5rem;color:#b0f2c2;font-weight:600;text-align:center}.github-username-input input{width:100%;max-width:300px;margin:0 auto;padding:.75rem;border:1px solid #2a2a2a;border-radius:6px;background:#111;color:#fff;font-size:1rem;text-align:center}.github-username-input input:focus{outline:none;border-color:#b0f2c2;box-shadow:0 0 0 2px #b0f2c240}.github-username-input input::placeholder{color:#666}.github-username-input small{display:block;margin-top:.25rem;color:#d0d0d0;font-size:.875rem;text-align:center}.purchase-button{width:100%;padding:1rem 2rem;background:linear-gradient(135deg,#b0f2c2,#7dd3fc);border:none;border-radius:8px;color:#0f5761;font-size:1.1rem;font-weight:700;cursor:pointer;transition:all .3s ease;display:flex;align-items:center;justify-content:center;gap:.5rem;box-shadow:0 4px 16px #b0f2c266,0 0 20px #7dd3fc33;text-transform:uppercase;letter-spacing:.5px}.purchase-button:hover:not(:disabled){background:linear-gradient(135deg,#7dd3fc,#b0f2c2);transform:translateY(-3px) scale(1.02);box-shadow:0 12px 32px #b0f2c299,0 0 30px #7dd3fc66}.purchase-button:disabled{background:#555;cursor:not-allowed;transform:none;box-shadow:none;color:#999}.purchase-button.disabled{background:#555;color:#999}.purchase-button.loading{background:#555;cursor:not-allowed;transform:none;box-shadow:none;color:#fff}.loading-spinner{width:20px;height:20px;border:2px solid #ffffff30;border-top:2px solid #b0f2c2;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.purchase-error{margin-top:1rem;padding:.75rem;background:#dc35451a;border:1px solid rgba(220,53,69,.3);border-radius:6px;color:#ff6b6b;font-size:.9rem}.purchase-button-note{margin-top:.5rem;color:#d0d0d0;font-size:.9rem;text-align:center}.purchase-details{margin-top:1.5rem;padding-top:1.5rem;border-top:1px solid #404040}.purchase-details p{margin:0 0 1rem;color:#fff;font-weight:500}.purchase-details ul{margin:0;padding-left:1.5rem;color:#d0d0d0}.purchase-details li{margin-bottom:.5rem;line-height:1.4}@media (max-width: 768px){.purchase-button-container{margin:1rem;padding:1.5rem}.purchase-button{font-size:1rem;padding:.875rem 1.5rem}}.purchase-success-container{min-height:100vh;width:100vw;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#0f5761,#1a8a99);padding:2rem}.purchase-success-card{background:#fff;border-radius:16px;padding:3rem;max-width:600px;width:100%;box-shadow:0 20px 40px #0000001a;text-align:center}.success-icon{display:flex;justify-content:center;margin-bottom:2rem}.success-title{color:#0f5761;font-size:2.5rem;font-weight:700;margin-bottom:1rem}.success-message{color:#666;font-size:1.125rem;margin-bottom:2rem;line-height:1.6}.next-steps{background:#f8fffe;border:1px solid #e0f2f1;border-radius:12px;padding:1.5rem;margin-bottom:2rem;text-align:left}.next-steps h3{color:#0f5761;font-size:1.25rem;font-weight:600;margin-bottom:1rem}.next-steps ol{color:#555;line-height:1.6;padding-left:1rem}.next-steps li{margin-bottom:.5rem}.important-note{background:#fff3cd;border:1px solid #ffeaa7;border-radius:8px;padding:1.5rem;margin-bottom:2rem;text-align:left}.important-note h4{color:#856404;margin-bottom:.5rem;font-size:1rem}.important-note p{color:#856404;margin:0;line-height:1.5}.important-note a{color:#0f5761;text-decoration:none;font-weight:500}.important-note a:hover{text-decoration:underline}.action-buttons{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap}.button-primary{background:linear-gradient(135deg,#0f5761,#1a8a99);color:#fff;padding:.875rem 2rem;border-radius:8px;text-decoration:none;font-weight:600;transition:all .3s ease;border:none;cursor:pointer}.button-primary:hover{transform:translateY(-2px);box-shadow:0 8px 25px #0f57614d}.button-secondary{background:transparent;color:#0f5761;padding:.875rem 2rem;border-radius:8px;text-decoration:none;font-weight:600;border:2px solid #0f5761;transition:all .3s ease;cursor:pointer}.button-secondary:hover{background:#0f5761;color:#fff;transform:translateY(-2px)}@media (max-width: 768px){.purchase-success-container{padding:1rem}.purchase-success-card{padding:2rem}.success-title{font-size:2rem}.action-buttons{flex-direction:column}.button-primary,.button-secondary{width:100%;text-align:center}}
