:root { color-scheme: dark; --sky-bg: #080b0d; --sky-panel: rgba(10, 14, 19, .78); --sky-line: rgba(181, 236, 249, .17); --sky-text: #f2f7f8; --sky-muted: #93a3aa; --sky-cyan: #89f3ff; }
body.skylet-page { min-width: 320px; margin: 0; color: var(--sky-text); background: radial-gradient(circle at 50% 20%, #182324, #080b0d 58%); font: 16px/1.5 Inter, ui-sans-serif, system-ui, sans-serif; }
body.skylet-page #all { min-height: 100svh; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.skylet-screen { position: relative; isolation: isolate; min-height: 100svh; display: flex; flex-direction: column; overflow: clip; }
.s800-background { position: fixed; z-index: -2; inset: 0; opacity: 0; pointer-events: none; transition: opacity 900ms ease; background: #080b0d; }
.s800-background::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,11,13,.24), rgba(8,11,13,.02) 50%, rgba(8,11,13,.26)), linear-gradient(0deg, rgba(8,11,13,.2), transparent 62%); }
.s800-background canvas { width: 100%; height: 100%; display: block; }
.is-s800-revealed .s800-background { opacity: 1; }
.chat-log { width: min(100% - 32px, 840px); flex: 1; min-height: 0; margin: 0 auto; padding: max(92px, 12vh) 0 170px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(137,243,255,.42) transparent; }
.chat-message { display: flex; margin: 0 0 14px; animation: message-in .24s ease-out; }
.chat-message--user { justify-content: flex-end; }
.chat-message__bubble { max-width: min(84%, 620px); padding: 12px 15px; border: 1px solid var(--sky-line); border-radius: 16px; background: rgba(7, 12, 16, .81); box-shadow: 0 12px 32px rgba(0,0,0,.2); backdrop-filter: blur(16px); white-space: normal; overflow-wrap: anywhere; }
.chat-message--user .chat-message__bubble { color: #062126; border-color: rgba(137,243,255,.78); background: linear-gradient(135deg, #8ff6ff, #65cfde); }
.chat-message--assistant .chat-message__bubble { border-top-left-radius: 4px; }
.is-pending .chat-message__bubble { color: var(--sky-muted); letter-spacing: .16em; }
.skylet-composer { position: fixed; z-index: 5; bottom: 18px; left: 50%; display: flex; gap: 10px; width: min(calc(100% - 24px), 864px); padding: 10px; border: 1px solid var(--sky-line); border-radius: 18px; background: rgba(7, 11, 14, .84); box-shadow: 0 16px 42px rgba(0,0,0,.32); backdrop-filter: blur(20px); transform: translateX(-50%); }
.skylet-composer:focus-within { border-color: rgba(137,243,255,.55); }
#chat-input { flex: 1; min-height: 46px; max-height: 168px; resize: none; border: 0; outline: 0; color: var(--sky-text); background: transparent; padding: 12px; font: inherit; line-height: 1.38; }
#chat-input::placeholder { color: #809098; }
.send-button, .voice-button { width: 48px; height: 48px; flex: 0 0 48px; align-self: flex-end; border-radius: 12px; cursor: pointer; font: 700 20px/1 system-ui; }
.send-button { border: 0; color: #052126; background: var(--sky-cyan); }
.voice-button { border: 1px solid var(--sky-line); color: var(--sky-text); background: rgba(7, 11, 14, .8); }
.voice-button.is-active { color: #052126; border-color: var(--sky-cyan); background: var(--sky-cyan); }
.send-button:hover, .send-button:focus-visible, .voice-button:hover, .voice-button:focus-visible { filter: brightness(1.12); }
@keyframes message-in { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }
@media (max-width: 600px) { .chat-log { width: min(100% - 20px, 840px); padding-top: 82px; } .skylet-composer { width: calc(100% - 16px); bottom: 8px; } .chat-message__bubble { max-width: 90%; } }
