:root { color-scheme: dark; --ink: #FFE135; --muted: #b6b5aa; --accent: #FFE135; --accent-hover: #ffeb79; --paper: #262626; --surface: #303030; --soft: #38382c; --border: #414139; --danger: #ffaaa0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--ink); background: #262626; font-size: 15px; } * { box-sizing: border-box; } body { margin: 0; } button, input, textarea { font: inherit; } button, a, input, textarea { -webkit-tap-highlight-color: transparent; } button { cursor: pointer; } button:disabled { cursor: default; opacity: .5; } button, textarea, input { outline: none; } button:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; } input:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px #ffe13515; } a { color: inherit; text-decoration: none; } [hidden] { display: none !important; } svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; } .svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; } .visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; } ::selection { color: #262626; background: var(--accent); } /* Brand and shared controls */ .brand { display: inline-flex; align-items: center; font-size: 30px; font-weight: 750; letter-spacing: -1.6px; gap: 10px; line-height: 1; } .brand-dot { color: var(--accent); margin-left: -8px; } .brand-mark { height: 36px; width: 36px; background: var(--accent); border-radius: 12px; display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 9px; } .brand-mark i { display: block; height: 2px; border-radius: 2px; background: #262626; } .brand-mark i:nth-child(2) { width: 75%; } .brand-mark i:nth-child(3) { width: 45%; } .eyebrow { display: block; color: var(--muted); font-size: 10px; font-weight: 650; letter-spacing: 2px; text-transform: uppercase; line-height: 1.6; } .muted { color: var(--muted); font-size: 14px; line-height: 1.7; } label { display: grid; gap: 9px; font-size: 12px; font-weight: 550; color: var(--ink); } input, textarea { width: 100%; color: var(--ink); background: #292929; border: 1px solid #4b4b42; border-radius: 12px; padding: 14px 15px; font-size: 14px; transition: border-color .18s, box-shadow .18s; } input::placeholder, textarea::placeholder { color: #a6a69a; } textarea { resize: vertical; line-height: 1.5; } .field-note { color: var(--muted); font-size: 11px; font-weight: 400; line-height: 1.7; } .button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 12px; border: 1px solid transparent; padding: 14px 20px; font-weight: 650; font-size: 13px; transition: background .18s, transform .18s; } .button.primary { background: var(--accent); color: #262626; } .button.primary:hover { background: var(--accent-hover); transform: translateY(-1px); } .button.secondary { background: #3a3a32; border-color: var(--border); color: var(--ink); } .button.secondary:hover { background: #454538; } .button.wide { width: 100%; } .icon-button { display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; background: transparent; color: var(--muted); width: 36px; height: 36px; border-radius: 11px; flex-shrink: 0; transition: background .18s, color .18s; } .icon-button:hover { background: #3c3c32; color: var(--accent); } .icon-button.filled { background: var(--accent); color: #262626; } .icon-button.filled:hover { background: var(--accent-hover); } .text-button { background: none; border: 0; color: var(--accent); font-size: 11px; padding: 10px 14px; border-radius: 9px; } .text-button:hover { background: #ffe1350e; } .form-notice { color: var(--danger); font-size: 12px; line-height: 1.6; background: #452f2d; border: 1px solid #70453e; border-radius: 10px; padding: 11px 13px; } .form-notice.success { color: var(--ink); background: var(--soft); border-color: #686032; } /* Entry screen */ .auth-layout { min-height: 100svh; display: grid; grid-template-columns: 1.1fr 1fr; max-width: 1440px; margin: auto; } .intro { position: relative; min-height: 760px; padding: 50px 64px 40px; overflow: hidden; background: radial-gradient(ellipse at 5% 95%, #ffe13508, transparent 65%), var(--paper); } .intro::before { content: ""; position: absolute; inset: auto auto -270px -250px; width: 760px; height: 760px; border: 1px solid #ffe13520; border-radius: 50%; pointer-events: none; } .intro::after { content: ""; position: absolute; right: -190px; top: 90px; width: 440px; height: 440px; border: 1px solid #ffe13512; border-radius: 50%; pointer-events: none; } .intro-copy { margin-top: 82px; position: relative; z-index: 1; } .intro-copy .eyebrow { color: var(--accent); padding-left: 22px; position: relative; } .intro-copy .eyebrow::before { content: ""; width: 7px; height: 7px; background: var(--accent); border-radius: 50%; position: absolute; left: 0; top: 5px; } .intro h1 { font-size: clamp(48px, 5vw, 72px); line-height: 1.04; font-weight: 700; letter-spacing: -3.5px; margin: 22px 0 26px; } .intro em, .welcome em { font-family: Georgia, "Times New Roman", serif; font-weight: 400; color: var(--accent); } .intro-copy p { color: var(--muted); line-height: 1.8; font-size: 15px; } .conversation-art { position: relative; width: 330px; height: 165px; margin: 38px 0 25px 34px; z-index: 1; } .art-bubble { position: absolute; padding: 17px 22px 13px; border-radius: 18px; font-size: 14px; box-shadow: 0 12px 30px #00000020; } .art-bubble span { display: block; font-size: 10px; text-align: right; margin-top: 8px; opacity: .65; } .art-bubble b { font-weight: 500; } .art-one { background: #353530; border: 1px solid #4a4a3c; left: 0; top: 0; transform: rotate(-4deg); border-bottom-left-radius: 5px; min-width: 195px; } .art-two { background: var(--accent); color: #262626; right: 0; top: 67px; transform: rotate(3deg); border-bottom-right-radius: 5px; min-width: 218px; } .art-typing { position: absolute; bottom: 0; left: 15px; display: flex; gap: 5px; border-radius: 12px; background: #353530; border: 1px solid var(--border); padding: 13px 19px; } .art-typing i { background: var(--accent); width: 5px; height: 5px; border-radius: 50%; } .art-orbit { position: absolute; right: -45px; top: 5px; width: 11px; height: 11px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 0 9px #ffe13508; } .intro-footer { font-size: 11px; color: var(--muted); display: flex; align-items: center; gap: 9px; margin-top: 38px; position: relative; } .status-dot { height: 6px; width: 6px; background: var(--accent); border-radius: 50%; } .auth-side { background: #2c2c2a; border-left: 1px solid var(--border); display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 50px 64px 25px; min-height: 760px; } .auth-card { width: 100%; max-width: 360px; } .auth-switch { display: flex; padding: 5px; background: #222222; border: 1px solid #404037; border-radius: 14px; margin-bottom: 42px; } .auth-switch button { width: 50%; background: transparent; border: 0; border-radius: 9px; color: var(--muted); padding: 11px; font-size: 12px; font-weight: 600; } .auth-switch .active { background: var(--accent); color: #262626; box-shadow: 0 3px 12px #00000018; } .auth-card h2 { font-weight: 650; font-size: 40px; letter-spacing: -1.7px; line-height: 1.15; margin: 12px 0; } .auth-card .muted { margin: 13px 0 30px; } .auth-card form { display: grid; gap: 20px; } .auth-card .wide { margin-top: 5px; justify-content: space-between; } .auth-card .wide > span { font-size: 21px; line-height: 1; } .auth-footnote { font-size: 11px; color: var(--muted); margin: 24px 0; text-align: center; } .auth-bottom { color: var(--muted); font-size: 10px; letter-spacing: .6px; margin-top: 40px; } /* Conversations */ .app-shell { display: grid; grid-template-columns: 310px minmax(0,1fr); height: calc(100svh - 44px); max-width: 1440px; margin: 22px auto; border: 1px solid #46463c; border-radius: 24px; overflow: hidden; box-shadow: 0 20px 70px #00000025; background: var(--paper); } .sidebar { min-height: 0; background: #222222; border-right: 1px solid var(--border); display: flex; flex-direction: column; padding: 29px 19px 0; } .sidebar-top { display: flex; align-items: center; justify-content: space-between; padding: 0 9px; } .sidebar .brand { font-size: 28px; } .sidebar .brand-mark { width: 32px; height: 32px; border-radius: 10px; } .sidebar-heading { display: flex; justify-content: space-between; align-items: center; padding: 35px 9px 22px; } .sidebar-heading .eyebrow { font-size: 9px; letter-spacing: 1.7px; } .sidebar-heading h2 { margin: 6px 0 0; font-size: 22px; font-weight: 650; letter-spacing: -.7px; } .count { font-size: 11px; font-weight: 600; background: #ffe13516; border: 1px solid #ffe13525; border-radius: 7px; margin-left: 9px; padding: 3px 7px; vertical-align: middle; color: var(--accent); } .count:empty { display: none; } .search-field { display: flex; align-items: center; background: #2d2d2b; border: 1px solid #414139; border-radius: 12px; margin: 0 9px 22px; padding: 0 11px; gap: 8px; } .search-field > span:not(.visually-hidden) { font-size: 25px; line-height: 1; color: var(--muted); } .search-field input { border: 0; background: transparent; padding: 12px 0; font-size: 12px; box-shadow: none; } .search-field:focus-within { border-color: var(--accent); } .chat-list { flex: 1; overflow: auto; min-height: 0; scrollbar-width: thin; scrollbar-color: #646451 transparent; } .chat-row { display: flex; align-items: center; gap: 13px; position: relative; border: 1px solid transparent; background: transparent; text-align: left; padding: 15px 11px; width: 100%; border-radius: 14px; color: var(--ink); margin-bottom: 6px; transition: background .18s, border-color .18s; } .chat-row:hover { background: #2e2e29; } .chat-row.active { background: #ffe1350f; border-color: #ffe13540; } .chat-row.active::after { content: ""; position: absolute; right: 11px; height: 6px; width: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px #ffe1350b; } .avatar { display: flex; align-items: center; justify-content: center; width: 43px; height: 43px; border-radius: 14px; background: #45432a; color: var(--accent); font-size: 14px; font-weight: 650; flex-shrink: 0; letter-spacing: -.5px; border: 1px solid #ffe1351a; } .avatar.tone-1 { background: #4b3e2a; color: #ffd68a; border-color: #ffd68a20; } .avatar.tone-2 { background: #3b4032; color: #d9df9d; border-color: #d9df9d20; } .avatar.tone-3 { background: #493b36; color: #edc5a5; border-color: #edc5a520; } .chat-row.active .avatar { background: var(--accent); color: #262626; border-color: transparent; } .chat-row-text { display: grid; gap: 6px; min-width: 0; flex: 1; } .chat-row strong { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-right: 10px; } .chat-row small { font-size: 11px; color: var(--muted); } .list-empty { font-size: 12px; text-align: center; line-height: 1.7; color: var(--muted); padding: 20px 15px; } .profile { border-top: 1px solid var(--border); display: flex; align-items: center; gap: 6px; margin-top: 12px; padding: 20px 7px; } .profile-main { display: flex; align-items: center; gap: 11px; text-align: left; background: none; border: 0; padding: 0; min-width: 0; flex: 1; color: var(--ink); } .profile .avatar { border-radius: 50%; background: #39392c; color: var(--accent); width: 37px; height: 37px; font-size: 12px; } .profile-text { display: grid; gap: 5px; min-width: 0; } .profile-text strong { font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; } .profile-text > span { font-size: 10px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .workspace { min-width: 0; min-height: 0; position: relative; background: var(--paper); } .welcome { height: 100%; display: flex; align-items: center; justify-content: center; flex-direction: column; text-align: center; position: relative; padding: 35px; background: radial-gradient(ellipse at center, #ffe13505, transparent 70%); } .welcome-symbol { width: 110px; height: 110px; background: #ffe1350b; border: 1px solid #ffe13529; border-radius: 34px; position: relative; display: flex; align-items: center; justify-content: center; margin-bottom: 34px; transform: rotate(-6deg); } .welcome-symbol svg { width: 44px; height: 44px; color: var(--accent); stroke-width: 1.4; transform: rotate(6deg); } .tiny-dot { position: absolute; width: 17px; height: 17px; right: -4px; top: 4px; border-radius: 50%; background: var(--accent); border: 4px solid var(--paper); } .welcome .eyebrow { font-size: 9px; letter-spacing: 1.5px; } .welcome h1 { font-weight: 650; font-size: 43px; letter-spacing: -1.7px; line-height: 1.2; margin: 18px 0; } .welcome p { font-size: 13px; line-height: 1.8; color: var(--muted); margin: 0 0 27px; } .welcome .button svg { width: 17px; height: 17px; } .welcome-bottom { position: absolute; bottom: 30px; font-size: 10px; color: var(--muted); letter-spacing: .4px; } .conversation { height: 100%; display: flex; flex-direction: column; } .chat-header { display: flex; align-items: center; gap: 14px; padding: 21px 30px; border-bottom: 1px solid var(--border); min-height: 90px; background: #292929; } .chat-header .chat-avatar { height: 43px; width: 43px; } .chat-heading { flex: 1; min-width: 0; } .chat-heading h2 { font-size: 17px; font-weight: 650; margin: 0 0 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: -.3px; } .chat-heading span { font-size: 11px; color: var(--muted); } .message-scroll { flex: 1; min-height: 0; overflow: auto; padding: 12px 32px 24px; scrollbar-width: thin; scrollbar-color: #646451 transparent; scroll-behavior: auto; background: radial-gradient(ellipse at 100% 100%, #ffe13504, transparent 70%); } .history-control { text-align: center; min-height: 18px; } .message-list { display: flex; flex-direction: column; gap: 14px; } .date-separator { align-self: center; background: #30302c; border: 1px solid #414139; border-radius: 20px; padding: 6px 12px; text-align: center; color: var(--muted); font-size: 10px; letter-spacing: .3px; margin: 20px 0 12px; } .message { max-width: 76%; align-self: flex-start; display: grid; gap: 6px; } .message.mine { align-self: flex-end; } .message-author { font-size: 10px; color: var(--muted); padding-left: 8px; } .message-bubble { background: #343430; border: 1px solid #46463b; border-radius: 17px 17px 17px 5px; padding: 13px 16px 10px; min-width: 90px; box-shadow: 0 4px 14px #00000008; } .mine .message-bubble { background: var(--accent); color: #262626; border: 1px solid var(--accent); border-radius: 17px 17px 5px 17px; } .message-text { font-size: 14px; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.65; margin: 0; } .message-time { font-size: 10px; display: block; text-align: right; color: var(--muted); margin-top: 7px; } .mine .message-time { color: #5c5324; } .empty-conversation { text-align: center; position: relative; top: 28%; font-size: 13px; color: var(--muted); line-height: 1.9; } .composer { display: grid; grid-template-columns: minmax(0,1fr) 46px; gap: 10px; align-items: end; border-top: 1px solid var(--border); padding: 20px 29px 16px; background: #292929; } .composer textarea { border: 1px solid #4b4b42; background: #30302d; border-radius: 13px; padding: 13px 15px; font-size: 14px; resize: none; max-height: 140px; min-height: 47px; scrollbar-width: thin; } .send-button { display: flex; align-items: center; justify-content: center; background: var(--accent); border: 0; color: #262626; width: 46px; height: 47px; border-radius: 13px; margin-bottom: 1px; transition: background .18s; } .send-button:hover { background: var(--accent-hover); } .send-button:disabled { background: #444439; opacity: 1; color: #abab95; } .send-button svg { height: 21px; width: 21px; } .composer-note { grid-column: 1/-1; display: flex; justify-content: space-between; font-size: 9px; color: var(--muted); padding: 2px 3px; gap: 15px; } .composer-note .over-limit { color: var(--danger); } .mobile-only { display: none; } .toast { position: fixed; bottom: 27px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #262626; border: 1px solid #ffec7d; box-shadow: 0 8px 35px #00000030; border-radius: 13px; padding: 13px 20px; font-size: 12px; line-height: 1.5; max-width: min(90%,520px); z-index: 20; } .toast.error { background: #452f2d; color: var(--danger); border-color: #70453e; } /* Dialogs */ dialog { border: 1px solid #575744; border-radius: 22px; padding: 28px; max-width: 440px; width: calc(100% - 36px); color: var(--ink); background: #2c2c2a; box-shadow: 0 24px 100px #00000060; } dialog::backdrop { background: #151515aa; backdrop-filter: blur(6px); } .dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; } .dialog-heading h2 { font-size: 25px; font-weight: 650; letter-spacing: -.8px; margin: 0; } .dialog-heading .icon-button { width: 30px; height: 30px; } dialog .muted { font-size: 12px; margin: 14px 0 25px; } dialog form { display: grid; gap: 20px; } .dialog-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 3px; } #my-id { font-size: 12px; font-family: ui-monospace, monospace; background: #242424; } #profile-dialog .wide { margin-top: 17px; } .members-list { display: grid; gap: 16px; padding-top: 25px; } .member-item { display: grid; gap: 8px; } .member-item strong { font-size: 13px; font-weight: 550; } .member-item code { font-size: 11px; overflow-wrap: anywhere; color: var(--muted); background: #242424; border: 1px solid var(--border); padding: 12px; border-radius: 10px; } /* Optional API explanation panel */ .defense-toggle { display: flex; align-items: center; justify-content: center; gap: 8px; background: transparent; border: 1px solid #515143; border-radius: 11px; padding: 11px 12px; color: var(--muted); font-size: 11px; font-weight: 550; } .defense-toggle svg { width: 15px; height: 15px; } .defense-toggle:hover, .defense-toggle[aria-expanded=true] { background: #ffe1350d; border-color: #ffe13565; color: var(--accent); } .auth-bottom .defense-toggle { margin: 15px auto 0; } .sidebar-defense { margin: 10px 9px 0; flex-shrink: 0; } .defense-panel { position: fixed; z-index: 15; right: 30px; top: 108px; width: 330px; max-height: min(56svh,490px); overflow: auto; background: #2c2c2a; border: 1px solid #66603a; border-radius: 20px; box-shadow: 0 18px 55px #00000030; padding: 20px; scrollbar-width: thin; scrollbar-color: #646451 transparent; } .defense-heading { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 18px; } .defense-heading .eyebrow { font-size: 9px; letter-spacing: 1.4px; } .defense-heading h2 { font-size: 19px; font-weight: 650; letter-spacing: -.5px; margin: 5px 0 0; } .defense-heading .icon-button { width: 30px; height: 30px; } .defense-label { display: block; font-size: 10px; color: var(--muted); margin-bottom: 6px; } .defense-summary { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 14px; background: #ffe1350c; border: 1px solid #ffe13520; border-radius: 12px; padding: 12px; } .defense-summary strong { display: block; font-size: 11px; overflow-wrap: anywhere; } .defense-history { padding: 16px 0; border-bottom: 1px solid var(--border); } .defense-history > strong { display: block; font-size: 13px; overflow-wrap: anywhere; } .defense-history > p { font-size: 11px; color: var(--muted); margin: 8px 0 0; } .defense-request { padding-top: 16px; } .defense-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; } .defense-section-heading h3 { font-size: 12px; margin: 0; font-weight: 600; } .defense-section-heading time { font-size: 10px; color: var(--muted); } .defense-request-line { display: flex; align-items: center; gap: 8px; } .defense-method, .defense-status { font: 600 11px ui-monospace, monospace; padding: 6px 8px; border-radius: 6px; background: #404036; color: var(--accent); } .defense-status { background: var(--accent); color: #262626; } .defense-status.failed { background: #56332e; color: var(--danger); } .defense-path { display: block; font: 11px/1.6 ui-monospace, monospace; overflow-wrap: anywhere; color: var(--muted); margin-top: 10px; } .defense-result { font-size: 12px; line-height: 1.6; color: var(--accent); margin: 10px 0 14px; } .defense-result.failed { color: var(--danger); } .defense-metrics { display: grid; grid-template-columns: 1fr 1fr; margin: 0 0 14px; gap: 12px; } .defense-metrics dt { font-size: 10px; color: var(--muted); margin-bottom: 6px; } .defense-metrics dd { font: 550 12px ui-monospace, monospace; margin: 0; color: var(--ink); } .defense-request-id { display: block; font: 10px/1.7 ui-monospace, monospace; overflow-wrap: anywhere; color: var(--muted); } .defense-previous { list-style: none; margin: 15px 0 0; padding: 12px 0 0; border-top: 1px solid var(--border); display: grid; gap: 10px; } .defense-previous li { display: flex; gap: 8px; align-items: center; min-width: 0; } .defense-mini-status { font: 550 10px ui-monospace, monospace; color: var(--accent); min-width: 23px; } .defense-mini-status.failed { color: var(--danger); } .defense-previous code { font: 10px ui-monospace, monospace; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .defense-background { font-size: 10px; color: var(--muted); margin: 12px 0 0; line-height: 1.7; } .defense-note { font-size: 11px; color: var(--muted); line-height: 1.7; margin: 0; } .defense-footnote { border-top: 1px solid var(--border); padding-top: 12px; margin-top: 14px; font-size: 10px; } @media (min-width: 1490px) { .app-shell { height: calc(100svh - 64px); margin: 32px auto; } } @media (max-width: 1100px) { .intro { padding: 40px 38px; } .auth-side { padding: 40px 35px; } .app-shell { margin: 14px; height: calc(100svh - 28px); grid-template-columns: 280px minmax(0,1fr); } .conversation-art { margin-left: 0; width: 290px; } .intro h1 { font-size: 56px; } .sidebar { padding-left: 14px; padding-right: 14px; } .message-scroll { padding-left: 24px; padding-right: 24px; } } @media (max-width: 720px) { .auth-layout { display: block; } .intro { min-height: 0; padding: 28px; } .intro-copy { margin-top: 30px; } .intro h1 { font-size: 42px; letter-spacing: -2px; line-height: 1.08; margin: 14px 0 0; } .intro h1 br { display: none; } .intro-copy .eyebrow { font-size: 9px; } .intro-copy p, .conversation-art, .intro-footer { display: none; } .auth-side { min-height: 0; padding: 30px 28px; align-items: center; border-left: 0; border-top: 1px solid var(--border); } .auth-card { max-width: 440px; } .auth-switch { margin-bottom: 28px; } .auth-card h2 { font-size: 32px; } .auth-card h2 br { display: none; } .auth-card .muted { margin-bottom: 22px; } .auth-card form { gap: 17px; } .auth-bottom { margin-top: 20px; } .app-shell { margin: 0; border: 0; border-radius: 0; height: 100svh; display: block; } .sidebar { height: 100%; width: 100%; padding: 25px 18px 0; border: 0; } .sidebar-heading { padding-top: 30px; } .workspace { display: none; height: 100%; } .app-shell.chat-open .sidebar { display: none; } .app-shell.chat-open .workspace { display: block; } .welcome { display: none; } .mobile-only { display: flex; } .chat-header { padding: 15px; gap: 7px; min-height: 75px; } .chat-header .avatar { width: 35px; height: 35px; border-radius: 11px; } .chat-heading h2 { font-size: 14px; } .chat-header .icon-button { width: 31px; height: 31px; } .chat-header .icon-button svg { width: 19px; height: 19px; } .message-scroll { padding: 10px 16px 20px; } .message { max-width: 88%; } .composer { padding: 14px 16px max(13px, env(safe-area-inset-bottom)); } .composer-note { font-size: 9px; } .composer-note > span:first-child { max-width: 70%; } .profile { padding-bottom: max(18px, env(safe-area-inset-bottom)); } .toast { bottom: 20px; } .defense-panel { top: 83px; right: 12px; width: calc(100% - 24px); max-height: 52svh; padding: 16px; } .sidebar-defense { margin-top: 9px; } } @media (min-width: 721px) { body:not(.has-session) .defense-panel { right: 24px; left: auto; } } @media (min-width: 1100px) { .defense-open.has-session .app-shell { margin-left: 22px; margin-right: 380px; } .defense-open.has-session .defense-panel { top: 22px; max-height: calc(100svh - 44px); } } @media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } } /* Animated CSS silhouettes and faces, no image assets. */ .password-field { position: relative; display: block; } .password-field input { padding-right: 47px; } .password-toggle { position: absolute; right: 7px; top: 7px; width: 33px; height: 33px; border: 0; background: transparent; border-radius: 9px; color: var(--muted); display: flex; align-items: center; justify-content: center; } .password-toggle:hover, .password-toggle[aria-pressed=true] { color: var(--accent); background: #ffe1350c; } .password-toggle svg { width: 18px; height: 18px; } /* Each character is one complete geometric silhouette. */ .mascot-stage { position: relative; width: 330px; height: 205px; margin: 32px 0 0 18px; z-index: 2; isolation: isolate; pointer-events: none; --scene-surface: #262626; --gaze-x: 0px; --gaze-y: 0px; } .mascot-stage::before { content: ""; position: absolute; bottom: 20px; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, #ffe13545, transparent); } .mascot { position: absolute; bottom: 21px; z-index: 2; width: 64px; transform-origin: center bottom; will-change: transform; --mascot-color: var(--accent); } .mascot-tall { left: 24px; } .mascot-round { left: 82px; z-index: 3; width: 82px; --mascot-color: #e1e0d6; } .mascot-triangle { left: 154px; width: 84px; --mascot-color: #f7b560; } .mascot-conversation { position: absolute; inset: 0; z-index: 0; transition: opacity .65s ease; } .mascot-stage:is([data-trip=forward], [data-trip=near], [data-trip=back]) .mascot-conversation { opacity: .25; } .mascot-bubble { position: absolute; border-radius: 18px; animation: mascot-bubble-float 5.6s ease-in-out infinite; } .mascot-bubble-filled { left: 146px; top: 0; width: 96px; height: 54px; background: var(--accent); display: flex; align-items: center; justify-content: center; gap: 7px; rotate: -6deg; } .mascot-bubble-filled::after { content: ""; position: absolute; bottom: -7px; left: 18px; width: 17px; height: 17px; background: var(--accent); clip-path: polygon(0 0, 100% 0, 0 100%); } .mascot-bubble-filled span { width: 6px; height: 6px; border-radius: 50%; background: #262626; animation: mascot-typing 1.8s ease-in-out infinite; } .mascot-bubble-filled span:nth-child(2) { animation-delay: .16s; } .mascot-bubble-filled span:nth-child(3) { animation-delay: .32s; } .mascot-bubble-outline { left: 226px; top: 73px; width: 84px; height: 60px; border: 1.5px solid #ffe13555; background: var(--scene-surface); rotate: 7deg; animation-delay: -2.8s; padding: 20px 17px; } .mascot-bubble-outline::after { content: ""; position: absolute; bottom: -6px; right: 16px; width: 11px; height: 11px; border-right: 1.5px solid #ffe13555; border-bottom: 1.5px solid #ffe13555; background: var(--scene-surface); rotate: 45deg; } .mascot-bubble-outline i { display: block; height: 2px; width: 100%; margin-bottom: 8px; border-radius: 2px; background: #ffe13555; } .mascot-bubble-outline i:last-child { width: 65%; } @keyframes mascot-bubble-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -5px; } } @keyframes mascot-typing { 0%, 55%, 100% { translate: 0 0; opacity: .4; } 28% { translate: 0 -3px; opacity: 1; } } .mascot-body { position: relative; width: 64px; height: 150px; border-radius: 16px; background: var(--mascot-color); transform-origin: center bottom; } .mascot-round .mascot-body { width: 82px; height: 102px; border-radius: 44px 44px 16px 16px; } .mascot-triangle .mascot-body { width: 84px; height: 110px; border-radius: 8px; clip-path: polygon(50% 0, 100% 100%, 0 100%); } .mascot-face { position: absolute; top: 44px; left: 50%; width: 38px; margin-left: -19px; display: flex; gap: 6px; justify-content: center; transition: opacity .45s, transform .5s cubic-bezier(.22, 1, .36, 1); } .mascot-round .mascot-face { top: 34px; } .mascot-triangle .mascot-face { top: 66px; width: 38px; margin-left: -19px; gap: 6px; } .mascot-eye { position: relative; display: block; width: 14px; height: 18px; border-radius: 50%; background: #fffdf2; overflow: hidden; animation: mascot-blink 7s infinite; transition: scale .45s ease; } .mascot-round .mascot-eye { animation-delay: 1.7s; } .mascot-triangle .mascot-eye { width: 14px; height: 17px; animation-delay: 3.1s; } .mascot-eye i { position: absolute; width: 6px; height: 8px; left: 4px; top: 5px; border-radius: 50%; background: #262626; transform: translate(var(--gaze-x), var(--gaze-y)); transition: transform .4s cubic-bezier(.22, 1, .36, 1); } .mascot-triangle .mascot-eye i { left: 4px; top: 5px; } .mascot-mouth { position: absolute; left: 50%; top: 28px; width: 11px; height: 5px; margin-left: -5px; border-bottom: 2px solid #262626; border-radius: 0 0 50% 50%; transition: width .4s, height .4s, border-radius .4s; } .mascot-triangle .mascot-mouth { top: 21px; width: 9px; } .mascot-arm { position: absolute; height: 23px; width: 54px; top: 32px; left: 14px; border-radius: 10px; background: #b7b6ab; opacity: 0; translate: 0 24px; rotate: -9deg; transition: translate .5s, opacity .45s; } .mascot-stage[data-mood=looking] { --gaze-x: 4px !important; --gaze-y: 3px !important; } .mascot-stage:is([data-mood=private],[data-mood=short],[data-mood=revealed]) .mascot-tall .mascot-face { opacity: 0; transform: translateX(-10px) scaleX(.75); } .mascot-stage:is([data-mood=private],[data-mood=short],[data-mood=revealed]) .mascot-round .mascot-arm { opacity: 1; translate: 0 0; } .mascot-stage:is([data-mood=private],[data-mood=short]) .mascot-triangle .mascot-eye:first-child { transform: scaleY(.12); animation: none; } .mascot-stage:is([data-mood=private],[data-mood=short]) .mascot-triangle .mascot-eye:last-child { animation: mascot-peek-eye 6.4s ease-in-out infinite; } .mascot-stage:is([data-mood=private],[data-mood=short]) .mascot-triangle .mascot-eye i { transform: translate(3px, 0); } .mascot-stage[data-mood=revealed] .mascot-triangle .mascot-face { opacity: 0; transform: translateX(8px) scaleX(.75); } .mascot-stage.is-scared { --gaze-x: 3px !important; --gaze-y: -3px !important; } .mascot-stage.is-scared .mascot-eye { animation: none; scale: 1.12; } .mascot-stage.is-scared .mascot-mouth { width: 6px; height: 9px; border: 2px solid #262626; border-radius: 50%; } .mascot-stage.is-sleepy .mascot-eye { animation: none; scale: 1 .3; } .mascot-stage[data-mood=revealed] .mascot-triangle { z-index: 1; } @keyframes mascot-blink { 0%, 42%, 46%, 100% { transform: scaleY(1); } 44% { transform: scaleY(.08); } } @keyframes mascot-peek-eye { 0%, 16%, 65%, 100% { transform: scaleY(.12); } 24%, 57% { transform: scaleY(1); } } .scenario-section { padding: 17px 0 15px; border-bottom: 1px solid var(--border); } .scenario-section h3 { font-size: 13px; margin: 0 0 9px; } .scenario-description { font-size: 10px; line-height: 1.7; color: var(--muted); margin: 0 0 12px; } .scenario-actions { display: grid; gap: 8px; } .scenario-actions .button { padding: 11px 10px; font-size: 11px; } .scenario-status { font-size: 11px; line-height: 1.6; margin: 12px 0 0; color: var(--ink); } .scenario-status.failed { color: var(--danger); } .scenario-scope { margin: 12px 0 0; } .scenario-steps { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; max-height: 245px; overflow: auto; scrollbar-width: thin; scrollbar-color: #646451 transparent; } .scenario-step { border: 1px solid var(--border); border-radius: 10px; background: #262626; padding: 10px; } .scenario-step[data-state=failed] { border-color: #9a5b51; } .scenario-step summary { display: flex; align-items: flex-start; gap: 8px; cursor: pointer; font-size: 11px; line-height: 1.5; list-style: none; } .scenario-step summary::before { content: "▸"; color: var(--muted); } .scenario-step[open] summary::before { content: "▾"; } .scenario-step summary::-webkit-details-marker { display: none; } .scenario-step-badge { flex-shrink: 0; color: var(--accent); font: 650 10px/1.65 ui-monospace, monospace; } .scenario-step[data-state=failed] .scenario-step-badge { color: var(--danger); } .scenario-step[data-state=pending] .scenario-step-badge { color: var(--muted); } .scenario-step p { color: var(--muted); font-size: 10px; line-height: 1.7; margin: 9px 0 0; } .scenario-step code { display: block; color: var(--muted); font: 10px/1.7 ui-monospace, monospace; overflow-wrap: anywhere; margin-top: 7px; } @media (max-width: 1100px) and (min-width: 721px) { .mascot-stage { margin-left: 0; width: 315px; } } @media (max-width: 720px) { .mascot-stage { width: 300px; height: 150px; margin: 18px auto 0; } .mascot-stage::before { bottom: 10px; } .mascot { bottom: 11px; } .mascot-tall { left: calc(50% - 84px); } .mascot-round { left: calc(50% - 44px); } .mascot-triangle { left: calc(50% + 2px); width: 84px; } .mascot-body { scale: .62; transform-origin: center bottom; } .mascot-bubble { border-radius: 13px; } .mascot-bubble-filled { left: calc(50% - 14px); top: 12px; width: 64px; height: 35px; gap: 5px; } .mascot-bubble-filled span { width: 4px; height: 4px; } .mascot-bubble-filled::after { width: 12px; height: 12px; bottom: -5px; left: 13px; } .mascot-bubble-outline { left: calc(50% + 68px); top: 59px; width: 56px; height: 42px; padding: 13px 11px; } .mascot-bubble-outline i { margin-bottom: 6px; } .mascot-bubble-outline::after { width: 8px; height: 8px; bottom: -5px; right: 12px; } .intro h1 { font-size: 36px; } .intro { padding-bottom: 18px; } .scenario-steps { max-height: 175px; } } @media (max-width: 370px) { .mascot-stage { width: 264px; } } @media (prefers-reduced-motion: reduce) { .mascot-stage *, .mascot-stage *::before { animation: none !important; transition: none !important; } } .defense-origin { margin-top: 10px; } @media (max-width: 720px) { .auth-card .mascot-stage { position: sticky; top: 0; z-index: 3; width: 100%; margin-top: -9px; margin-bottom: 22px; background: #2c2c2a; --scene-surface: #2c2c2a; border-bottom: 1px solid var(--border); box-shadow: 0 6px 0 #2c2c2a; } } .auth-card form { margin-top: 24px; } .auth-card .muted + form { margin-top: 0; } .defense-help { border-top: 1px solid var(--border); margin-top: 14px; padding-top: 12px; } .defense-help summary { color: var(--muted); font-size: 10px; cursor: pointer; } .defense-help .defense-note { margin-top: 10px; font-size: 10px; } @media (prefers-reduced-motion: reduce) { .mascot-stage *, .mascot-stage *::before { animation: none !important; transition: none !important; } }