*,*:before,*:after{box-sizing:border-box}:root,body{margin:0;width:100%;overflow-x:hidden}.app-shell{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:clamp(1.5rem,5vw,3rem);width:100%}.terminal-window{width:min(960px,100%);height:clamp(520px,80vh,680px);background:#050505;border:1px solid #1f2937;color:#e5e7eb;font-family:IBM Plex Mono,Fira Mono,ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;display:flex;flex-direction:column;box-shadow:0 32px 60px #0009;position:relative;max-width:100%}.auth-controls{position:absolute;top:1rem;right:1.5rem;display:flex;align-items:center;gap:.75rem;z-index:2}.auth-user{font-size:.7rem;letter-spacing:.08em;text-transform:uppercase;color:#94a3b8}.auth-button{background:transparent;border:1px solid #1f2937;color:#e5e7eb;text-transform:uppercase;letter-spacing:.08em;padding:.45rem .85rem;font-size:.7rem;cursor:pointer;transition:color .2s ease,border-color .2s ease}.auth-button:hover{border-color:#38bdf8;color:#38bdf8}.auth-overlay{position:absolute;top:0;right:0;bottom:0;left:0;background:#000000e6;display:flex;align-items:center;justify-content:center;padding:2rem;z-index:10}.auth-panel{width:min(360px,100%);background:#050505;border:1px solid #1f2937;display:flex;flex-direction:column;gap:1rem;padding:1.75rem;box-shadow:0 18px 40px #00000073}.auth-panel h2{margin:0;font-size:1rem;letter-spacing:.12em;text-transform:uppercase;color:#38bdf8}.auth-panel label{display:flex;flex-direction:column;gap:.45rem;font-size:.75rem;text-transform:uppercase;letter-spacing:.12em;color:#9ca3af}.auth-panel input{background:#0f172a;border:1px solid #1f2937;color:#e5e7eb;padding:.65rem .75rem;font-size:.95rem}.auth-panel input:focus{outline:none;border-color:#38bdf8}.auth-actions{display:flex;justify-content:flex-end;gap:.75rem}.auth-actions button{background:transparent;border:1px solid #1f2937;color:#e5e7eb;text-transform:uppercase;letter-spacing:.08em;padding:.45rem .9rem;font-size:.7rem;cursor:pointer;transition:color .2s ease,border-color .2s ease}.auth-actions button.primary{border-color:#38bdf8;color:#38bdf8}.auth-actions button:disabled{opacity:.35;cursor:not-allowed}.auth-actions button:not(:disabled):hover{border-color:#f97316;color:#f97316}.auth-error{background:#7f1d1d73;border:1px solid #f87171;color:#fca5a5;font-size:.78rem;padding:.55rem .75rem}.terminal-header{border-bottom:1px solid #111827;padding:1.25rem 1.5rem;background:#030303}.header-inner{display:flex;align-items:flex-start;gap:1rem;flex-wrap:wrap}.header-logo{width:clamp(42px,6vw,56px);height:auto;filter:invert(1) drop-shadow(0 6px 14px rgba(0,0,0,.45))}.terminal-header pre{margin:0;font-size:.9rem;line-height:1.5;color:#38bdf8;flex:1 1 220px;max-width:100%;overflow-x:auto}.terminal-content{padding:1.25rem 1.5rem 1.5rem;display:flex;flex-direction:column;gap:1.5rem;flex:1;min-height:0;overflow:hidden}.terminal-block{margin:0;font-size:.9rem;line-height:1.55;white-space:pre-wrap;background:none;color:inherit}.terminal-columns{display:flex;gap:2.5rem;align-items:stretch;flex:1;min-height:0}.terminal-column{flex:1;display:flex;flex-direction:column;gap:1.25rem;min-height:0}.terminal-column.narrow{flex:0 0 35%;max-width:35%;min-width:260px;border-left:1px solid #1f2937;padding-left:1.5rem;min-height:0;overflow-y:auto}.leaderboard-mobile{display:none}.terminal-messages{display:flex;flex-direction:column;gap:.75rem;flex:1;min-height:0;overflow-y:auto;padding-right:.5rem}.terminal-message{display:flex;gap:.75rem;align-items:flex-start;color:#e5e7eb;width:100%}.terminal-message .prefix{color:#22d3ee;min-width:80px;letter-spacing:.08em;text-transform:lowercase;white-space:nowrap}.terminal-message.assistant .prefix{color:#f97316}.terminal-message.system .prefix{color:#facc15}.terminal-message pre{margin:0;font-family:inherit;white-space:pre-wrap;word-break:break-word;overflow-wrap:anywhere;color:inherit;flex:1 1 auto}.terminal-empty{color:#6b7280;font-style:italic}.alert{margin-top:1rem;padding:.75rem 1rem;border:1px solid #f87171;color:#fca5a5;background:#7f1d1d59;font-size:.85rem}.share-banner{border:1px solid #38bdf8;background:#082f4973;color:#bae6fd;padding:.75rem 1rem;font-size:.85rem;display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}.share-banner span{flex:1 1 220px}.share-cta{margin-top:1rem;display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.share-cta-button{border:none;background:none;color:#38bdf8;text-transform:uppercase;letter-spacing:.08em;padding:.55rem 0;font-size:.75rem;cursor:pointer;transition:color .2s ease}.share-cta-button:hover:not(:disabled){color:#f97316}.share-cta-button:disabled{opacity:.5;cursor:not-allowed}.share-feedback{color:#bbf7d0;font-size:.7rem;letter-spacing:.12em;text-transform:uppercase;align-self:center}.command-bar{display:flex;align-items:center;gap:1rem;padding:1rem 1.5rem 1.25rem;border-top:1px solid #1f2937;background:#030303}.prompt-label{color:#38bdf8;font-size:.95rem;letter-spacing:.06em}.command-bar input{flex:1;background:transparent;border:none;border-bottom:1px solid #1f2937;color:#f8fafc;font-size:.95rem;padding:.6rem 0}.command-bar input:focus{outline:none;border-color:#38bdf8}.command-actions{display:flex;gap:.75rem}.text-button{background:transparent;border:1px solid #1f2937;color:#e5e7eb;text-transform:uppercase;letter-spacing:.08em;padding:.55rem 1rem;font-size:.75rem;cursor:pointer;transition:color .2s ease,border-color .2s ease}.text-button.primary{border-color:#38bdf8;color:#38bdf8}.text-button:disabled{opacity:.35;cursor:not-allowed}.text-button:not(:disabled):hover{border-color:#f97316;color:#f97316}.guess-overlay{position:absolute;top:0;right:0;bottom:0;left:0;background:#000000e0;display:flex;align-items:center;justify-content:center;padding:2rem}.guess-panel{width:min(460px,100%);background:#050505;border:1px solid #1f2937;display:flex;flex-direction:column;gap:.75rem;padding:1.5rem}.guess-panel input{background:transparent;border:1px solid #1f2937;color:#e5e7eb;padding:.6rem;font-family:inherit;font-size:.9rem}.guess-panel input:focus{outline:none;border-color:#38bdf8}.guess-list{display:flex;flex-direction:column;max-height:220px;overflow-y:auto}.guess-option{background:transparent;border:none;color:#d1d5db;padding:.4rem .3rem;text-align:left;cursor:pointer;font-family:inherit;font-size:.9rem}.guess-option:hover,.guess-option.active{background:#1f2937;color:#38bdf8}.guess-list .empty{color:#6b7280;font-style:italic;padding:.75rem 0}@media (max-width: 900px){.terminal-columns{flex-direction:column;gap:1.5rem}.terminal-column.narrow{flex:1 1 100%;border-left:none;border-top:1px solid #1f2937;padding-left:0;padding-top:1.5rem;max-width:none}.command-bar{flex-direction:column;align-items:stretch;gap:.75rem}.command-actions,.command-actions button{width:100%}.prompt-label{display:none}}@media (max-width: 600px){.app-shell{padding:.75rem;width:100%}.terminal-window{width:96%;height:auto;min-height:calc(100vh - 4rem);max-width:96%}.auth-controls{position:static;padding:.75rem 1.25rem 0;width:100%;justify-content:flex-end;flex-wrap:wrap;gap:.5rem}.auth-button,.auth-user{font-size:.65rem}.terminal-header{padding:1rem 1.25rem}.header-inner{align-items:center;gap:.75rem}.terminal-content{padding:1rem 1.25rem 1.25rem;gap:1rem}.terminal-block{font-size:.85rem}.terminal-columns{gap:1rem}.terminal-column.narrow{display:none}.leaderboard-mobile{display:block;padding:0 1.25rem 1.25rem}.terminal-message{gap:.5rem}.terminal-message .prefix{min-width:60px}.command-bar{padding:.9rem 1.25rem 1.1rem}.text-button{flex:1;text-align:center}.guess-panel{width:min(100%,340px);padding:1.25rem}.guess-list{max-height:200px}.auth-panel{width:min(100%,320px);padding:1.4rem}.guess-overlay,.auth-overlay{padding:1rem}}:root{color-scheme:dark;font-family:Space Grotesk,Segoe UI,system-ui,-apple-system,BlinkMacSystemFont,sans-serif;line-height:1.4;font-weight:400;background:#000;color:#e5e7eb}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:#000;color:inherit}#root{min-height:100vh}a{color:inherit}
