:root{ --bg: #0b0f14; --bg2:#070a0f; --border: rgba(255,255,255,0.12); --text: #e9f2ff; --muted:#94a3b8; --cyan:#22d3ee; --cyanBorder: rgba(34,211,238,0.55); --cyanGlow: rgba(34,211,238,0.14); --shadow: 0 20px 70px rgba(0,0,0,0.60); --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; --sans: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial; } *{ box-sizing:border-box; } html,body{ height:100%; } body{ margin:0; font-family: var(--sans); color: var(--text); background: radial-gradient(1100px 650px at 15% -10%, rgba(34,211,238,0.10), transparent 55%), radial-gradient(900px 600px at 90% 5%, rgba(34,211,238,0.06), transparent 60%), linear-gradient(180deg, #0b1020, var(--bg2)); } .page{ height:100vh; display:flex; flex-direction:column; } .header{ display:flex; align-items:center; justify-content:space-between; padding: 12px 18px; border-bottom: 1px solid rgba(255,255,255,0.10); background: rgba(255,255,255,0.02); backdrop-filter: blur(10px); } .brand{ display:flex; gap: 10px; align-items:center; } .logo{ width: 36px; height: 36px; border-radius: 14px; display:grid; place-items:center; border: 1px solid rgba(255,255,255,0.10); background: rgba(255,255,255,0.04); } .logo svg{ fill:#fff; opacity:0.92; } .brandName{ font-weight:800; letter-spacing:0.2px; line-height:1.1; } .brandSub{ font-size:12px; font-family: var(--mono); color: var(--muted); margin-top:2px; } .status{ display:flex; align-items:center; gap:8px; font-family: var(--mono); font-size:12px; color: var(--muted); } .dot{ width:10px; height:10px; border-radius:50%; background:#64748b; } .dot.on{ background: var(--cyan); box-shadow: 0 0 0 6px rgba(34,211,238,0.12); } .main{ flex: 1 1 auto; min-height:0; display:flex; flex-direction:column; width:100%; max-width: 980px; margin: 0 auto; padding: 18px; gap: 14px; } .hero{ text-align:center; padding: 18px 8px 8px; } .hero h1{ margin:0; font-size: 38px; letter-spacing: -0.8px; } .hero p{ margin:10px 0 0; color: var(--muted); font-size: 14px; } .chatWrap{ flex: 1 1 auto; min-height:0; } .chat{ height:100%; overflow:auto; padding: 8px 0; } .msg{ display:flex; margin: 12px 0; } .msg.user{ justify-content:flex-end; } .msg.ai{ justify-content:flex-start; } .bubble{ max-width: min(760px, 92%); border-radius: 18px; padding: 12px 14px; line-height: 1.6; white-space: pre-wrap; word-break: break-word; border: 1px solid rgba(255,255,255,0.10); background: rgba(255,255,255,0.04); box-shadow: 0 10px 30px rgba(0,0,0,0.22); } .msg.user .bubble{ background: rgba(34,211,238,0.08); border-color: rgba(34,211,238,0.22); } .msg.ai.highlight .bubble{ border-color: var(--cyanBorder); box-shadow: 0 0 0 6px var(--cyanGlow), 0 10px 30px rgba(0,0,0,0.22); } .composerWrap{ padding-top: 6px; } .composer{ display:flex; flex-direction:column; gap: 10px; } .composerCard{ display:flex; gap: 12px; align-items:flex-end; padding: 12px; border-radius: 22px; border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.05); box-shadow: var(--shadow); transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease; } .composerCard:hover{ border-color: rgba(34,211,238,0.35); } .composerCard:focus-within{ border-color: var(--cyanBorder); box-shadow: 0 0 0 6px var(--cyanGlow), var(--shadow); transform: translateY(-1px); } .prompt{ flex: 1 1 auto; width:100%; resize:none; border:none; outline:none; background: transparent; color: var(--text); font-size: 15px; line-height: 1.45; padding: 10px 10px; min-height: 46px; max-height: 180px; } .actions{ display:flex; gap:10px; align-items:center; } .toggle, .send{ border-radius: 16px; padding: 10px 14px; font-weight: 800; cursor:pointer; border: 1px solid rgba(255,255,255,0.14); background: rgba(255,255,255,0.06); color: var(--text); transition: transform 100ms ease, border-color 160ms ease, box-shadow 160ms ease, background 160ms ease; } .toggle:hover, .send:hover{ border-color: rgba(34,211,238,0.40); box-shadow: 0 0 0 5px rgba(34,211,238,0.10); } .toggle[aria-pressed="true"]{ border-color: var(--cyanBorder); background: rgba(34,211,238,0.10); box-shadow: 0 0 0 5px rgba(34,211,238,0.12); } .send:active, .toggle:active{ transform: translateY(1px); } .hint{ text-align:center; font-family: var(--mono); font-size: 12px; color: var(--muted); } .hint span{ padding: 2px 6px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.10); background: rgba(255,255,255,0.03); } .chat::-webkit-scrollbar{ width: 10px; } .chat::-webkit-scrollbar-thumb{ background: rgba(255,255,255,0.10); border-radius: 10px; } .chat::-webkit-scrollbar-thumb:hover{ background: rgba(34,211,238,0.20); }