/**
 * Copyright (c) 2014 The xterm.js authors. All rights reserved.
 * Copyright (c) 2012-2013, Christopher Jeffrey (MIT License)
 * https://github.com/chjj/term.js
 * @license MIT
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 * THE SOFTWARE.
 *
 * Originally forked from (with the author's permission):
 *   Fabrice Bellard's javascript vt100 for jslinux:
 *   http://bellard.org/jslinux/
 *   Copyright (c) 2011 Fabrice Bellard
 *   The original design remains. The terminal itself
 *   has been extended to include xterm CSI codes, among
 *   other features.
 */.xterm{cursor:text;position:relative;user-select:none;-ms-user-select:none;-webkit-user-select:none}.xterm.focus,.xterm:focus{outline:none}.xterm .xterm-helpers{position:absolute;top:0;z-index:5}.xterm .xterm-helper-textarea{padding:0;border:0;margin:0;position:absolute;opacity:0;left:-9999em;top:0;width:0;height:0;z-index:-5;white-space:nowrap;overflow:hidden;resize:none}.xterm .composition-view{background:#000;color:#fff;display:none;position:absolute;white-space:nowrap;z-index:1}.xterm .composition-view.active{display:block}.xterm .xterm-viewport{background-color:#000;overflow-y:scroll;cursor:default;position:absolute;inset:0}.xterm .xterm-screen{position:relative}.xterm .xterm-screen canvas{position:absolute;left:0;top:0}.xterm .xterm-scroll-area{visibility:hidden}.xterm-char-measure-element{display:inline-block;visibility:hidden;position:absolute;top:0;left:-9999em;line-height:normal}.xterm.enable-mouse-events{cursor:default}.xterm.xterm-cursor-pointer,.xterm .xterm-cursor-pointer{cursor:pointer}.xterm.column-select.focus{cursor:crosshair}.xterm .xterm-accessibility:not(.debug),.xterm .xterm-message{position:absolute;inset:0;z-index:10;color:transparent;pointer-events:none}.xterm .xterm-accessibility-tree:not(.debug) *::selection{color:transparent}.xterm .xterm-accessibility-tree{user-select:text;white-space:pre}.xterm .live-region{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}.xterm-dim{opacity:1!important}.xterm-underline-1{text-decoration:underline}.xterm-underline-2{text-decoration:double underline}.xterm-underline-3{text-decoration:wavy underline}.xterm-underline-4{text-decoration:dotted underline}.xterm-underline-5{text-decoration:dashed underline}.xterm-overline{text-decoration:overline}.xterm-overline.xterm-underline-1{text-decoration:overline underline}.xterm-overline.xterm-underline-2{text-decoration:overline double underline}.xterm-overline.xterm-underline-3{text-decoration:overline wavy underline}.xterm-overline.xterm-underline-4{text-decoration:overline dotted underline}.xterm-overline.xterm-underline-5{text-decoration:overline dashed underline}.xterm-strikethrough{text-decoration:line-through}.xterm-screen .xterm-decoration-container .xterm-decoration{z-index:6;position:absolute}.xterm-screen .xterm-decoration-container .xterm-decoration.xterm-decoration-top-layer{z-index:7}.xterm-decoration-overview-ruler{z-index:8;position:absolute;top:0;right:0;pointer-events:none}.xterm-decoration-top{z-index:2;position:relative}:root{--bg: #0a0a0a;--bg-soft: #111111;--bg-softer: #161616;--line: rgba(255, 255, 255, .08);--accent: #ff7ad6;--accent-soft: rgba(255, 122, 214, .22);--pink: #ff7ad6;--violet: #8b5fff;--cars24: #4736fe;--text: #fafafa;--text-mute: #a1a1a1;--text-dim: #737373;--ok: #00c951;--err: #fb2c36;--warn: #fd9a00;--mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;--ui: "Inter", system-ui, sans-serif;--radius: 12px;--terminal-pad-x: 34px;--terminal-pad-top: 32px;--app-vh: 100dvh}*{box-sizing:border-box}html,body{margin:0;padding:0;font-family:var(--ui);background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;min-height:100vh;min-height:var(--app-vh);overflow:hidden}body{background:radial-gradient(ellipse at 20% -10%,rgba(139,95,255,.18),transparent 55%),radial-gradient(ellipse at 85% 110%,rgba(255,122,214,.14),transparent 55%),var(--bg)}.scanlines{pointer-events:none;position:fixed;inset:0;z-index:1;background:repeating-linear-gradient(180deg,rgba(255,255,255,.012) 0 1px,transparent 1px 3px);mix-blend-mode:overlay}.app{position:relative;z-index:2;min-height:100vh;min-height:var(--app-vh);padding:24px;display:flex;align-items:stretch;justify-content:center}.window{width:100%;max-width:1180px;height:calc(100vh - 48px);height:calc(var(--app-vh) - 48px);display:flex;flex-direction:column;background:var(--bg);border:1px solid var(--accent-soft);border-radius:var(--radius);overflow:hidden;box-shadow:0 40px 120px #0009,0 0 0 1px #d9775714,inset 0 1px #ffffff0a}.titlebar{display:flex;align-items:center;gap:14px;padding:10px 14px;background:transparent;user-select:none;position:relative;z-index:2}.titlebar:after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:#ffffff0a}.traffic{display:flex;gap:8px}.traffic .dot{width:12px;height:12px;border-radius:999px;display:inline-block}.dot--close{background:#ff5f57;position:relative}.dot--close:before{content:"×";position:absolute;inset:0;display:grid;place-items:center;font-size:9px;line-height:1;font-weight:700;color:#0000009e;opacity:0;transition:opacity .12s ease}.dot--close:hover:before,.registration-modal__close-dot:focus-visible:before{opacity:1}.dot--min{background:#febc2e}.dot--max{background:#28c840}.titlebar__title{flex:1;display:flex;align-items:center;gap:8px;justify-content:center;font-family:var(--mono);font-size:12px;color:var(--text-mute)}.titlebar__label{color:var(--accent);font-weight:600}.titlebar__sep{color:var(--text-dim)}.titlebar__path{color:var(--text)}.titlebar__meta{display:flex;gap:8px;align-items:center;margin-left:auto}.pill{display:inline-flex;align-items:center;gap:6px;padding:3px 10px;border:1px solid var(--line);border-radius:999px;font-family:var(--mono);font-size:11px;color:var(--text-mute);background:var(--bg-soft)}.pill--live{color:var(--ok);border-color:#00c95159;background:#00c95114}.pulse{width:6px;height:6px;border-radius:999px;background:var(--ok);box-shadow:0 0 #00c951b3;animation:pulse 1.8s cubic-bezier(.22,1,.36,1) infinite}@keyframes pulse{0%{box-shadow:0 0 #00c95180}80%,to{box-shadow:0 0 0 8px #00c95100}}.terminal{flex:1;min-height:0;background:transparent;position:relative;display:flex;flex-direction:column}.terminal-banner{flex:none;padding:var(--terminal-pad-top) var(--terminal-pad-x) 4px;background:transparent;position:relative;align-self:stretch;width:100%;overflow:hidden}.terminal-banner:before{content:none}.terminal-banner:after{content:none}.terminal-banner__full,.terminal-banner__compact{margin:0;font-family:SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-variant-ligatures:none;font-feature-settings:"liga" 0,"calt" 0;text-rendering:geometricPrecision}.terminal-banner__full{display:inline-grid;grid-auto-rows:min-content;width:fit-content;max-width:100%;font-size:clamp(8.2px,.9vw,12.2px);line-height:.96;letter-spacing:-.01em;overflow:hidden;vertical-align:top}.terminal-banner__row{display:grid;grid-template-columns:repeat(var(--banner-cols),1ch);width:max-content}.terminal-banner__cell{display:block;width:1ch;min-width:1ch;height:1em;overflow:hidden;white-space:pre}.terminal-banner__compact{display:none;grid-auto-rows:min-content;width:fit-content;max-width:100%;font-size:clamp(5px,1.35vw,6.8px);line-height:.95;letter-spacing:-.03em;overflow:hidden;vertical-align:top}.terminal-banner__subline{margin-top:8px;display:flex;flex-wrap:wrap;gap:8px;align-items:center;font-family:var(--mono);font-size:14.5px;line-height:1.45;letter-spacing:0;color:#fafafad1;text-shadow:0 0 18px rgba(255,255,255,.02)}.terminal-banner__summary-token{color:#ffffffeb;font-weight:500}.terminal-banner__summary-tagline{color:#fafafaf2;font-weight:700;font-size:1.38em}.terminal-banner__summary-dates,.terminal-banner__summary-seats,.terminal-banner__summary-winner{white-space:nowrap}.terminal-banner__summary-prize{color:#ff7ad6eb;font-weight:600}.terminal-banner__sep{color:#fff3}.mobile-register-strip{display:none}.mobile-register-link{appearance:none;border:0;background:transparent;color:var(--text);padding:0;width:fit-content;font-family:var(--mono);font-size:14px;display:inline-flex;align-items:center;gap:10px;text-align:left}.mobile-register-link__prompt{color:var(--pink);font-size:16px}.mobile-register-link__label{color:var(--pink);font-weight:600;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.25em}.mobile-register-link:focus-visible .mobile-register-link__label,.mobile-register-link:hover .mobile-register-link__label{color:#fff}.terminal-screen{flex:1;min-height:0;position:relative;overflow:hidden}.terminal-screen:before{content:none}.terminal-screen .xterm{height:100%;padding:var(--terminal-pad-top) var(--terminal-pad-x) 6px;box-sizing:border-box;position:relative;z-index:2}.xterm,.xterm .xterm-viewport,.xterm .xterm-screen{background:transparent!important}.xterm .xterm-viewport{-webkit-overflow-scrolling:touch;overscroll-behavior:contain;touch-action:pan-y}.xterm-viewport::-webkit-scrollbar{width:8px}.xterm-viewport::-webkit-scrollbar-thumb{background:#ffffff14;border-radius:999px}.xterm-viewport::-webkit-scrollbar-track{background:transparent}.xterm a{color:var(--pink)!important;text-decoration:underline;text-decoration-color:#ff7ad666}.xterm a:hover{color:#fff!important}.statusbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 14px;border-top:1px solid var(--line);background:#ffffff04;font-family:var(--mono);font-size:11px;color:var(--text-dim)}.statusbar__left{display:flex;gap:14px;flex-wrap:wrap}.statusbar__item{display:inline-flex;gap:6px;align-items:center}.statusbar__right{color:var(--pink);font-weight:500}.statusbar__item--mobile{display:none}.registration-modal{position:fixed;top:0;left:0;right:0;height:var(--app-vh);display:none;z-index:20}.registration-modal.is-open{display:block}.registration-modal__backdrop{position:absolute;inset:0;background:#000000a3;backdrop-filter:blur(10px)}.registration-modal__panel{position:absolute;inset:24px 12px 12px;border:1px solid rgba(255,122,214,.22);border-radius:18px;overflow:hidden;background:var(--bg);box-shadow:0 24px 80px #00000080,inset 0 1px #ffffff0a;display:flex;flex-direction:column}.registration-modal__header{display:flex;align-items:center;gap:10px;padding:10px 12px;border-bottom:1px solid rgba(255,255,255,.05)}.registration-modal__close-dot{appearance:none;border:0;padding:0;flex:none;width:12px;height:12px;border-radius:999px;background:#ff5f57;cursor:pointer;box-shadow:none}.registration-modal__close-dot:focus-visible{outline:1px solid rgba(255,255,255,.22);outline-offset:3px}.registration-modal__title{flex:1;font-family:var(--mono);font-size:12px;color:var(--text-mute)}.registration-modal__terminal{flex:1;min-height:0}.registration-modal__terminal .xterm{height:100%;padding:12px 10px calc(10px + env(safe-area-inset-bottom));box-sizing:border-box}.xterm,.registration-modal__panel,.registration-modal__terminal,.mobile-register-link{-webkit-tap-highlight-color:transparent}.xterm .xterm-helper-textarea:focus{outline:none}kbd{font-family:var(--mono);background:var(--bg-softer);border:1px solid var(--line);padding:1px 6px;border-radius:4px;font-size:10px;color:var(--text);line-height:1}@media (max-width: 820px){:root{--terminal-pad-x: 12px;--terminal-pad-top: 18px}.app{padding:0}.window{height:var(--app-vh);border-radius:0;border-left:0;border-right:0;box-shadow:none}.titlebar__title{display:none}.titlebar{padding:10px 12px;gap:10px}.traffic .dot{width:13px;height:13px}.titlebar__meta{gap:6px}.pill{padding:4px 12px;font-size:12px}.terminal{min-height:0}.terminal-banner{width:100%;padding:12px 12px 6px}.terminal-banner__full{display:none}.terminal-banner__compact{display:inline-grid;font-size:6.8px}.terminal-banner__subline{margin-top:16px;gap:6px 10px;font-size:15px;line-height:1.6}.terminal-banner__summary-tagline{font-size:1.16em;line-height:1.35}.mobile-register-strip{display:block;padding:0 12px 6px;margin-top:2px}.mobile-register-link{font-size:15px}.terminal-screen{overflow:hidden}.terminal-screen .xterm{padding:10px 8px 4px}.statusbar{padding:7px 10px calc(7px + env(safe-area-inset-bottom));font-size:11px;align-items:flex-start;flex-direction:column;gap:6px}.statusbar__left{gap:8px}.statusbar__item:not(.statusbar__item--mobile){display:none}.statusbar__item--mobile{display:inline-flex}.statusbar__right{max-width:100%;text-align:left;line-height:1.35}.keyboard-open .statusbar{display:none}.keyboard-open .terminal-screen .xterm{padding-bottom:10px}}@media (max-width: 480px){.scanlines{display:none}.titlebar{padding:10px}.titlebar__meta .pill:nth-child(2){display:none}.pill{font-size:11px}.terminal-banner{padding:12px 10px 6px}.terminal-banner__compact{font-size:6.2px}.terminal-banner__subline{display:grid;grid-template-columns:auto auto;justify-items:start;gap:6px;font-size:15px}.terminal-banner__summary-tagline,.terminal-banner__summary-winner{grid-column:1 / -1}.terminal-banner__summary-dates,.terminal-banner__summary-seats{white-space:nowrap}.terminal-banner__summary-tagline{font-size:1.18em}.terminal-banner__sep{display:none}.mobile-register-strip{padding:0 10px 6px}.mobile-register-link{font-size:15px}.terminal-screen .xterm{padding:9px 6px 4px}.registration-modal__panel{inset:12px 8px 8px;border-radius:16px}.registration-modal__terminal .xterm{padding:10px 8px calc(8px + env(safe-area-inset-bottom))}.keyboard-open .registration-modal__panel{top:8px;bottom:0;border-bottom-left-radius:0;border-bottom-right-radius:0}}@media (prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
