@tailwind base;@tailwind components;@tailwind utilities;:root{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-weight:400;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body{margin:0;min-height:100vh;background:radial-gradient(circle at 20% 20%,rgba(255,255,255,.08),transparent 25%),radial-gradient(circle at 80% 0%,rgba(255,255,255,.05),transparent 30%),#000;color:#fff}*{box-sizing:border-box}:root{--btn-red: #ef4444;--btn-blue: #3b82f6;--btn-green: #10b981;--btn-orange: #f97316;--btn-yellow: #fbbf24;--btn-grey: #6b7280;--btn-brown: #4ce5af;--cyan-primary: #06b6d4;--cyan-secondary: #0891b2}*{margin:0;padding:0;box-sizing:border-box}html{font-size:clamp(14px,1.6vw,18px)}body{background:linear-gradient(135deg,#1a1f36,#0f1419);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;color:#fff}#root{min-height:100vh}.app-container{display:flex;flex-direction:column;min-height:100vh;background:linear-gradient(135deg,#1a1f36,#0f1419)}.app-shell{min-height:calc(100vh - 60px);display:flex;flex-direction:column}.app-shell>section{flex:1 1 auto;display:flex;flex-direction:column;gap:1.5rem;min-height:0}.app-shell>section>.glass-panel{display:flex;flex-direction:column;flex:1 1 auto;overflow:hidden;min-height:0;max-height:calc(100vh - 350px);padding:1.5rem}.messages-list{flex:1 1 auto;overflow-y:auto;overflow-x:hidden;padding:.5rem .75rem .5rem .5rem;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.08) transparent;scroll-behavior:smooth;max-height:calc(100vh - 400px);min-height:200px}.messages-list::-webkit-scrollbar{width:10px;height:10px}.messages-list::-webkit-scrollbar-track{background:transparent}.messages-list::-webkit-scrollbar-thumb{background:#ffffff0f;border-radius:999px;border:2px solid transparent;background-clip:padding-box}.messages-list::-webkit-scrollbar-thumb:hover{background:#ffffff1f}footer{position:sticky;bottom:0;z-index:30;padding-top:1rem}footer .glass-panel{padding:1.5rem}.status-bar{background:#ffffff0d;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);padding:.5rem 1.5rem;border-bottom:1px solid rgba(255,255,255,.1)}.status-content{display:flex;justify-content:space-between;align-items:center;max-width:1400px;margin:0 auto}.app-name{font-size:1rem;font-weight:500;color:#fffc;letter-spacing:.5px}.app-title{font-size:clamp(1.5rem,3.4vw,2.6rem);font-weight:800;background:#fff;-webkit-background-clip:text;-webkit-text-fill-color:transparent;letter-spacing:-.02em;margin-top:.25rem;margin-bottom:.25rem;text-shadow:0 6px 20px rgba(6,182,212,.06);text-align:center}.app-subtitle{color:#ffffffa6;font-size:.95rem}.header-top{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:.75rem}.header-left .app-title{text-align:left;margin:0}.header-center{justify-self:center;text-align:center}.header-right{justify-self:end}.status-right{display:flex;align-items:center;gap:.75rem}.last-message-time{font-size:.85rem;font-weight:400;color:#fff9;font-family:Courier New,monospace}.status-indicator{font-size:1.25rem;transition:all .3s ease}.status-indicator.connected{color:#10b981;animation:pulse-glow 2s ease-in-out infinite}.status-indicator.disconnected{color:#ef4444;opacity:.5}@keyframes pulse-glow{0%,to{opacity:1;text-shadow:0 0 10px currentColor}50%{opacity:.7;text-shadow:0 0 5px currentColor}}.copy-link-button{background:transparent;border:1px solid rgba(255,255,255,.2);color:#fffc;padding:.4rem;border-radius:.5rem;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center}.copy-link-button:hover{background:#ffffff0d;border-color:#ffffff4d;color:#fff}.copy-link-button:disabled{opacity:.3;cursor:not-allowed}.room-id{font-weight:700;font-size:.95rem;color:#ffffffe6}.quick-actions-container{overflow:visible;position:relative;padding:.5rem 0 1.5rem;margin-bottom:.5rem}.quick-actions-grid{display:flex;align-items:center;justify-content:center;gap:1rem;flex-wrap:wrap;overflow:visible;padding:.5rem}.quick-actions-grid>*{width:auto}.quick-actions-grid .action-button{width:auto;margin:0}@media(max-width:640px){.quick-actions-grid{gap:.6rem;padding:.15rem .5rem}.action-button{width:40px;height:40px;padding:.25rem}}.action-button{display:inline-flex;align-items:center;justify-content:center;width:50px;height:50px;padding:.35rem;border-radius:12px;color:#fff;text-align:center;min-width:50px;border:1px solid rgba(255,255,255,.1);box-shadow:0 4px 12px #0000004d,inset 0 1px #ffffff1a;transition:all .15s ease;cursor:pointer}.action-button:hover{transform:translateY(-2px);box-shadow:0 6px 20px #0006,inset 0 1px #ffffff26;filter:brightness(1.1)}.action-button:active{transform:translateY(0);box-shadow:0 2px 8px #0000004d,inset 0 1px #ffffff1a}.action-button svg{flex-shrink:0;width:1.3rem;height:1.3rem}.glass-panel{border-radius:1rem;border:1px solid rgba(255,255,255,.06);background:linear-gradient(145deg,#ffffff0a,#ffffff05);box-shadow:0 8px 20px #0000004d,inset 0 1px #ffffff0d;padding:1.5rem}.message-input{flex:1;min-width:0;padding:1rem;border-radius:.9rem;border:2px solid rgba(255,255,255,.15);background:#ffffff0d;color:#fff;font-size:1.5rem;box-shadow:inset 0 2px 8px #0000004d;transition:all .18s ease}footer .glass-panel .flex .message-input{flex:1 1 auto;min-width:0}footer .glass-panel .flex.items-center.gap-3{display:flex;align-items:center;gap:.75rem;flex-wrap:nowrap}textarea.message-input{min-height:16rem;max-height:40vh;resize:vertical;line-height:1.4;padding-top:.9rem;padding-bottom:.9rem;overflow:auto}@media(min-width:768px){textarea.message-input{min-height:4rem}}.message-input:focus{outline:none;border-color:#ffffff4d;box-shadow:0 0 0 3px #ffffff1a,inset 0 2px 8px #0000004d}.message-card{background:#ffffff0d;border:1px solid rgba(255,255,255,.1);border-radius:12px;padding:1rem 1.5rem;width:100%;animation:slideIn .4s ease-out;transition:all .3s ease}@keyframes slideIn{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.message-input::placeholder{color:#ffffff8c}.glass-panel{border-radius:1rem;border:1px solid rgba(255,255,255,.06);background:linear-gradient(145deg,#ffffff0d,#ffffff05);box-shadow:0 20px 40px #00000073,inset 0 1px #ffffff0f;padding:1.5rem}.tone-red{background:var(--btn-red)}.tone-blue{background:var(--btn-blue)}.tone-green{background:var(--btn-green)}.tone-cyan{background:linear-gradient(180deg,var(--cyan-secondary),var(--cyan-primary));border:1px solid rgba(6,182,212,.28)}.tone-cyan:hover{filter:brightness(1.03)}.tone-orange{background:var(--btn-orange)}.tone-yellow{background:var(--btn-yellow);border:1px solid rgba(0,0,0,.12)}.tone-grey{background:var(--btn-grey)}.tone-brown{background:var(--btn-brown)}@media(max-width:640px){.action-button{padding:.55rem .9rem;min-width:0;font-size:.85rem;gap:.35rem}.action- span{font-size:.75rem}.glass-panel{padding:1rem}.status-right{gap:.5rem}.last-message-time{font-size:.75rem}.status-indicator{font-size:1rem}.copy-link-button{padding:.3rem}}@media(max-width:640px){.grid.grid-cols-1{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,max-content);gap:.6rem;overflow-x:auto;padding-bottom:.25rem;-webkit-overflow-scrolling:touch}.app-title{font-size:1.4rem;line-height:1.05}.app-subtitle{font-size:.85rem}section>.glass-panel{max-height:calc(100vh - 500px);display:flex;flex-direction:column;padding:.9rem;overflow:hidden}.messages-list{max-height:calc(100vh - 550px)}.message-card{width:100%;box-sizing:border-box;word-break:break-word;padding:.9rem 1rem}footer{padding-bottom:env(safe-area-inset-bottom)}.glass-panel.flex{padding:.9rem}.glass-panel .flex.items-center.gap-3{gap:.6rem}.action-button{padding:.6rem .9rem;border-radius:10rem}}.relative{position:relative}.call-dropdown{position:absolute;top:calc(100% + .5rem);left:50%;transform:translate(-50%);min-width:160px;border-radius:.5rem;overflow:hidden;z-index:50;box-shadow:0 8px 30px #00000080;display:flex;flex-direction:column}.call-dropdown.dark{background:#000c;border:1px solid rgba(255,255,255,.06);color:#fff}.call-dropdown.light{background:#fff;border:1px solid rgba(0,0,0,.08);color:#0b1220}.call-option{display:block;width:100%;padding:.6rem .9rem;text-align:left;border:none;background:transparent;color:inherit;cursor:pointer;font-weight:600}.call-dropdown.dark .call-option:hover{background:#ffffff08}.call-dropdown.light .call-option:hover{background:#0000000a}.messages-list{min-width:0;display:flex;flex-direction:column;gap:1rem;justify-content:flex-end}.glass-panel,.messages-list,.message-card{min-width:0}.message-card{border-radius:.75rem;border:1px solid rgba(255,255,255,.1);padding:1rem 1.5rem;box-shadow:0 2px 8px #0003;box-sizing:border-box;width:100%;max-width:100%;background:#ffffff0d;margin-bottom:.5rem}.messages-list .latest-message{background:#ffffff14;border:2px solid rgba(255,255,255,.2);padding:1.25rem 1.75rem;box-shadow:0 4px 16px #0000004d;animation:slideIn .4s ease-out,gentle-pulse 2s ease-in-out infinite;margin-bottom:1rem}@keyframes gentle-pulse{0%,to{transform:scale(1)}50%{transform:scale(1.02)}}.messages-list .message-card:not(.latest-message){background:#ffffff0d;border:1px solid rgba(255,255,255,.1);opacity:.8;padding:.8rem 1.35rem}.messages-list .message-card:not(.latest-message) .message-text{color:#fff9;font-weight:500;font-size:1.5rem}.messages-list .latest-message .message-text{color:#fff;font-weight:600;font-size:2.75rem}.message-text{overflow-wrap:anywhere;word-break:break-word;white-space:pre-wrap;-webkit-hyphens:auto;hyphens:auto}.live-message-text{font-weight:800;font-size:clamp(1.75rem,4.5vw,3.2rem);line-height:1.02;margin-top:.5rem;color:#fff;text-shadow:0 8px 30px rgba(0,0,0,.6)}@media(max-width:640px){.live-message-text{font-size:1.4rem}}.message-text{font-size:1.85rem;font-weight:500;margin:0;line-height:1.35;color:#ffffffd9}.message-card:hover{transform:none;box-shadow:none}.message-status{display:inline-block;font-size:.7rem;padding:.18rem .5rem;border-radius:999px;text-transform:capitalize;letter-spacing:.02em;border:1px solid rgba(255,255,255,.04)}.sent-message .message-sender{color:#ffffffe6}.sent-message .message-time{color:#ffffff73}.sent-message .message-text{color:#ffffffe6}@media(min-width:1024px){.action-button{padding:.8rem 1.3rem;font-size:1rem;min-width:140px}.glass-panel{padding:1.75rem}}@media(min-width:1600px){html{font-size:clamp(16px,1.2vw,20px)}.action-button{padding:1rem 1.6rem;font-size:1.05rem;min-width:180px}.glass-panel{padding:2.25rem}}
