@import"https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&family=Space+Grotesk:wght@400;500;600;700&display=swap";*,*: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:#fff;border:1px solid #9aa3af;color:#0f172a;font-family:IBM Plex Mono,Fira Mono,ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;display:flex;flex-direction:column;box-shadow:8px 10px #0f172a;max-width:100%}.auth-controls{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap;justify-content:flex-end}.auth-user{font-size:.7rem;letter-spacing:.08em;text-transform:uppercase;color:#475569;margin-right:.3rem}.auth-link{background:none;border:none;padding:0;margin:0;color:#0f172a;font:inherit;letter-spacing:inherit;text-transform:inherit;cursor:pointer;text-decoration:underline;text-decoration-style:solid}.auth-link:hover{color:#0b1220}.auth-button{background:#0f172a;border:1px solid #0f172a;color:#fff;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:#0f172a;color:#fff}.auth-overlay{position:absolute;top:0;right:0;bottom:0;left:0;background:#0f172a40;display:flex;align-items:center;justify-content:center;padding:2rem;z-index:10}.auth-panel{width:min(360px,100%);background:#fff;border:1px solid #0f172a;display:flex;flex-direction:column;gap:.5rem;padding:1.75rem;box-shadow:0 18px 40px #00000073}.auth-panel h2{margin:0;font-size:1rem;letter-spacing:.12em;text-transform:uppercase;color:#0f172a}.auth-panel label{display:flex;flex-direction:column;gap:.5rem;font-size:.85rem;text-transform:uppercase;letter-spacing:.12em;color:#475569}.auth-panel input{background:#fff;border:1px solid #9aa3af;color:#0f172a;padding:.65rem .75rem;font-size:.95rem}.auth-panel input:focus{outline:none;border-color:#0f172a}.auth-panel input.error{border-color:#7f1d1d;box-shadow:0 0 0 1px #7f1d1d inset}.auth-actions{display:flex;justify-content:flex-end;gap:.5rem}.auth-error{background:#7f1d1d;border:1px solid #7f1d1d;color:#fff;font-size:.78rem;padding:.55rem .75rem}.terminal-header{border-bottom:1px solid #9aa3af;padding:1.25rem 1.5rem;background:#fff}.header-inner{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap;justify-content:space-between}.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:1rem;line-height:1.5;color:#0f172a;flex:1 1 220px;max-width:100%;overflow-x:auto}.header-title{font-weight:700}.header-dot{display:inline-block;width:.35em;height:.35em;border:1.5px solid currentColor;border-radius:50%;margin-left:.18em;vertical-align:baseline}.terminal-content{padding:1.25rem 1.5rem 1.5rem;display:flex;flex-direction:column;gap:.75rem;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:.75rem;align-items:stretch;flex:1;min-height:0}.terminal-column{flex:1;display:flex;flex-direction:column;gap:.75rem;min-height:0;padding-right:1rem}.terminal-column.narrow{flex:0 0 35%;max-width:35%;min-width:260px;border-left:1px solid #9aa3af;padding-left:1.5rem;padding-right:0;min-height:0;overflow-y:auto;display:flex;flex-direction:column}.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:.5rem;align-items:flex-start;color:#0f172a;width:100%}.terminal-message .prefix{color:#0f172a;min-width:80px;letter-spacing:.08em;text-transform:lowercase;white-space:nowrap;font-weight:700;font-size:.8rem}.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:#475569;font-style:italic}.alert{margin-top:1rem;padding:.75rem 1rem;border:1px solid #7f1d1d;color:#fff;background:#7f1d1d;font-size:.85rem}.command-bar{display:flex;align-items:center;gap:.5rem;padding:1rem 1.5rem 1.25rem;border-top:1px solid #475569;background:#030303}.prompt-label{color:#0f172a;font-size:.95rem;letter-spacing:.06em}.command-actions{display:flex;gap:.75rem}.text-button:not(:disabled):hover{border-color:#f97316;color:#f97316}@media (max-width: 900px){.terminal-columns{flex-direction:column;gap:.75rem;border-left:none;border-top:none;padding-left:0;padding-top:1.5rem;max-width:none}.command-bar{flex-direction:column;align-items:stretch;gap:.5rem;width:100%}.terminal-window{width:96%;height:auto;min-height:calc(100vh - 4rem);max-width:96%}.auth-controls{position:static;width:100%;justify-content:flex-end;flex-wrap:wrap;gap:.6rem;padding:0 1.25rem 1.25rem}.terminal-message{gap:.5rem;text-align:center}.auth-panel{width:min(100%,320px);padding:1.4rem}.auth-overlay{padding:1rem}}.strategy-header{display:flex;align-items:center;justify-content:space-between;gap:.75rem;flex-wrap:wrap}.strategy-form{display:flex;flex-direction:column;gap:.75rem;flex:1;min-height:0}.strategy-role{color:#fff;font-size:.85rem;letter-spacing:.08em;text-transform:uppercase}.strategy-input{width:100%;min-height:220px;flex:1;background:#fff;border:1px solid #9aa3af;color:#0f172a;padding:1rem 1.1rem;font-size:.9rem;font-family:IBM Plex Mono,Fira Mono,ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;resize:vertical}.strategy-input:focus{outline:none;border-color:#0f172a}.prompt-link{display:inline-flex;align-items:center;gap:.5rem;font-size:.85rem;color:#fff;letter-spacing:.08em;text-transform:uppercase;cursor:pointer}.prompt-link span{text-decoration:underline;text-decoration-style:solid}.prompt-popover{position:absolute;top:1.5rem;left:0;width:min(520px,85vw);background:#050505;border:1px solid #9aa3af;border-radius:12px;padding:.75rem;box-shadow:0 18px 40px #00000073;opacity:0;pointer-events:none;transform:translateY(-6px);transition:opacity .2s ease,transform .2s ease;z-index:5;max-height:420px;overflow:hidden}.prompt-popover pre{margin:0;font-family:IBM Plex Mono,Fira Mono,ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.78rem;color:#fff;white-space:pre-wrap;max-height:280px;overflow:auto}.prompt-link:hover .prompt-popover,.prompt-link:focus-within .prompt-popover{opacity:1;pointer-events:auto;transform:translateY(0)}.result-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:.5rem;margin-top:.25rem}.strategies-grid{display:grid;grid-template-columns:1fr;gap:.75rem}.result-grid div{display:flex;flex-direction:column;gap:.2rem}.result-label{font-size:.7rem;letter-spacing:.12em;text-transform:uppercase;color:#475569}.strategy-value{color:#475569;font-weight:400}.leaderboard-list{display:grid;gap:.5rem;width:100%}.leaderboard-row{display:grid;grid-template-columns:1.6fr 1fr;gap:.5rem;align-items:center;justify-items:start;padding:0;border:none;background:#fff;font-size:.8rem;color:#0f172a;width:100%;text-align:left}.leaderboard-row.header{color:#475569;text-transform:uppercase;letter-spacing:.12em;font-size:.7rem;background:#fff}.leaderboard-row span{justify-self:start;text-align:left}.leaderboard-row .player-name{color:#0f172a;font-weight:600}.leaderboard-doc{margin-top:auto;display:flex;flex-direction:column;gap:.5rem;font-size:.68rem;color:#64748b}.leaderboard-doc .terminal-block{font-size:inherit;line-height:1.5;color:inherit}.prompt-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a40;display:flex;align-items:center;justify-content:center;padding:2rem;z-index:12}.prompt-modal{width:min(880px,100%);background:#fff;border:1px solid #0f172a;border-radius:12px;box-shadow:none;display:flex;flex-direction:column;max-height:88vh}.prompt-modal-body{padding:1rem 1.25rem;overflow:auto;color:#0f172a}.prompt-modal-body pre{margin:0;font-family:IBM Plex Mono,Fira Mono,ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.85rem;color:#0f172a;white-space:pre-wrap}.terminal-column.narrow .terminal-block{color:#0f172a}.terminal-column.narrow .leaderboard-doc .terminal-block{color:inherit}.role-button{border:1px solid #0f172a;color:#0f172a}.role-button:not(.primary){border:1px solid #9aa3af;color:#9aa3af}.prompt-close{margin-left:auto}.auth-button:visited,.auth-button:active{color:#fff}.strategy-title{color:#0f172a;font-size:.85rem;letter-spacing:.04em;text-transform:none}.modal-transcript{max-height:420px;overflow:auto;border:1px solid #9aa3af;padding:.75rem;margin-top:.75rem}.result-header-row{display:flex;align-items:flex-start;justify-content:flex-start;gap:2rem;margin-bottom:.75rem;flex-wrap:wrap}.result-actions{margin-left:auto;display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.result-actions .prompt-close{margin-left:0}.share-link-group{display:inline-flex;align-items:center;gap:.35rem;font-size:.85rem;color:#475569}.share-link{display:inline-flex;align-items:center;gap:.35rem;color:inherit;font-size:inherit;text-decoration:underline;text-decoration-style:solid;cursor:pointer;max-width:320px;flex-wrap:wrap}.share-link:visited,.share-link:active{color:#475569}.share-link:hover{color:#0b1220}.share-link.is-loading{cursor:progress;opacity:.7}.share-link-label{white-space:nowrap}.share-link-url{word-break:break-all;font-size:inherit;font-family:inherit;font-weight:inherit}.share-link-icon{display:inline-flex;align-items:center}.share-link-icon svg{width:.9rem;height:.9rem}.modal-header-row{display:flex;justify-content:flex-end;margin-bottom:.75rem}.result-divider{height:2px;background:#0f172a;margin:.75rem 0 1rem}.result-stack{display:flex;flex-direction:column;gap:.2rem}.tournament-list{display:grid;gap:2rem;top:0;right:0;z-index:20;color:#0f172a}.github-corner svg{fill:#0f172a}.github-corner:hover .octo-arm{animation:octo-wave .56s ease-in-out}@keyframes octo-wave{0%,to{transform:rotate(0)}20%,60%{transform:rotate(-25deg)}40%,80%{transform:rotate(10deg)}}.text-button{background:transparent;border:1px solid #0f172a;color:#0f172a;text-transform:uppercase;letter-spacing:.08em;padding:.55rem 1rem;font-size:.85rem;cursor:pointer;transition:color .2s ease,border-color .2s ease}.text-button.primary{border-color:#0f172a;color:#0f172a}.text-button:disabled{opacity:1;color:#0f172a;border-color:#0f172a;cursor:not-allowed}.github-corner{position:fixed;top:0;right:0;z-index:20;color:#fff}.repo-footer{position:fixed;bottom:1rem;left:1rem;z-index:5;max-width:min(520px,90vw);font-size:.68rem;line-height:1.4;color:#475569;display:flex;flex-direction:column;gap:.15rem}.repo-footer-link{color:#475569;text-decoration:underline;text-decoration-style:solid}.repo-footer-link:visited,.repo-footer-link:active{color:#475569}.repo-footer-link:hover{color:#0b1220}.repo-footer-line{display:block}.repo-footer:visited,.repo-footer:active{color:#475569}.text-button:focus{outline:none;box-shadow:none}.rate-limit-toast{position:fixed;bottom:1.5rem;right:1.5rem;z-index:30;background:#0f172a;color:#fff;padding:.6rem .9rem;border:1px solid #0f172a;font-size:.85rem;max-width:260px}: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:#f5f4ef;color:#0f172a}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:#f5f4ef;color:inherit}#root{min-height:100vh}a{color:inherit}
