:root {
  --bg: #ffffff;
  --text: #000000;
  --muted: #404040;
  --faint: #737373;
  --link: #000000;
  --link-hover: #000000;
  --column-max: 38rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

.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;
}

html {
  font-size: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: Georgia, "Times New Roman", Times, serif;
  line-height: 1.55;
}

a {
  color: var(--link);
  text-decoration: underline;
  text-decoration-color: var(--faint);
  text-underline-offset: 0.12em;
}

a:hover {
  color: var(--link-hover);
  text-decoration-color: var(--text);
}

.page-wrap {
  max-width: var(--column-max);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
  position: relative;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.1rem;
  font-size: 0.95rem;
}

.nav a {
  color: var(--muted);
  font-weight: normal;
  text-decoration: none;
}

.nav a:hover {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--faint);
}

.nav a[aria-current="page"] {
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.nav a[aria-current="page"]:hover {
  color: var(--text);
  text-decoration: none;
}

.corner-easter-egg {
  flex-shrink: 0;
  text-align: right;
  max-width: 9rem;
}

.corner-easter-egg img {
  display: block;
  width: 4.5rem;
  height: auto;
  margin-left: auto;
  border-radius: 2px;
}

.corner-easter-egg .hint {
  font-family: "Caveat", cursive;
  font-size: 1rem;
  color: var(--text);
  margin: 0.15rem 0 0;
  line-height: 1.2;
}

.name-script {
  font-family: "Great Vibes", cursive;
  font-size: clamp(2.8rem, 8vw, 3.75rem);
  font-weight: 400;
  margin: 0 0 1.75rem;
  line-height: 1.1;
  color: var(--text);
}

main p {
  margin: 0 0 1.1rem;
}

main h2 {
  font-size: 1rem;
  font-weight: 700;
  margin: 2rem 0 0.6rem;
}

main ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

main li {
  margin-bottom: 0.25rem;
}

main code {
  font-size: 0.9em;
  color: var(--text);
  background: #eeeeee;
  padding: 0.08em 0.3em;
  border-radius: 2px;
}

.placeholder-page h1 {
  font-size: 1.35rem;
  font-weight: 400;
  margin: 0 0 1rem;
}

/* Ask (LLM) page */
.chat-panel {
  border: 1px solid #c8c8c8;
  border-radius: 4px;
  padding: 1rem 1.1rem;
  background: #f5f5f5;
  margin-top: 1.5rem;
}

.chat-log {
  min-height: 12rem;
  max-height: 22rem;
  overflow-y: auto;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  padding-right: 0.25rem;
}

.chat-msg {
  margin-bottom: 0.85rem;
}

.chat-msg .role {
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.chat-msg.user .role {
  color: var(--text);
}

.chat-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.chat-form textarea {
  width: 100%;
  min-height: 4.5rem;
  padding: 0.6rem 0.65rem;
  font: inherit;
  color: var(--text);
  background: var(--bg);
  border: 1px solid #8a8a8a;
  border-radius: 3px;
  resize: vertical;
}

.chat-form button {
  align-self: flex-start;
  font: inherit;
  padding: 0.45rem 1rem;
  background: var(--text);
  color: var(--bg);
  border: none;
  border-radius: 3px;
  cursor: pointer;
}

.chat-form button:hover:not(:disabled) {
  opacity: 0.88;
}

.chat-form button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.chat-status {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.5rem;
}

.chat-status.error {
  color: var(--text);
  font-weight: 600;
}

.note-small {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 1rem;
}

/* ------------------------------------------------------------------ */
/* Victor-style layout — body.theme-victor                            */
/* ------------------------------------------------------------------ */

body.theme-victor {
  --hv-bg: #050505;
  --hv-surface: #080808;
  --hv-text: #ffffff;
  --hv-muted: #888888;
  --hv-line: #222222;
  --hv-accent: #9d78ff;
  --hv-accent-hover: #b89cff;

  /* “Kabir Jain” (and displayName) — Home, Projects, Ask */
  --site-display-name-font: "Great Vibes", cursive;
  --site-display-name-size: clamp(2.75rem, 9vw, 3.5rem);
  --site-display-name-weight: 400;
  --site-display-name-line-height: 1.05;

  margin: 0;
  min-height: 100vh;
  background: var(--hv-bg);
  color: var(--hv-text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, sans-serif;
  font-size: 0.9375rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.theme-victor[data-theme="light"] {
  --hv-bg: #f4f4f5;
  --hv-surface: #ffffff;
  --hv-text: #0a0a0a;
  --hv-muted: #6b6b6b;
  --hv-line: #e0e0e0;
  --hv-accent: #7c3aed;
  --hv-accent-hover: #6d28d9;
}

body.theme-victor a {
  color: inherit;
}

body.theme-victor .home-grid {
  display: grid;
  grid-template-columns: minmax(11rem, 13.5rem) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  max-width: 56rem;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.25rem, 4vw, 2.5rem) 4rem;
  align-items: start;
}

@media (max-width: 720px) {
  body.theme-victor .home-grid {
    grid-template-columns: 1fr;
    padding: clamp(1rem, 4vw, 1.2rem);
  }

  body.theme-victor .home-content {
    padding-top: 2.2rem;
    padding-right: 0;
  }
}

body.theme-victor .mobile-menu-toggle,
body.theme-victor .mobile-menu-close,
body.theme-victor .mobile-menu-backdrop {
  display: none;
}

@media (max-width: 820px) {
  body.theme-victor .mobile-menu-toggle {
    display: inline-flex;
    position: fixed;
    top: max(0.75rem, env(safe-area-inset-top));
    right: max(0.75rem, env(safe-area-inset-right));
    z-index: 1001;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    border: 1px solid var(--hv-line);
    border-radius: 0.55rem;
    background: #101a34;
    color: #f2f2f2;
    font-size: 1.05rem;
    line-height: 1;
    cursor: pointer;
  }

  body.theme-victor.mobile-menu-open .mobile-menu-toggle {
    display: none;
  }

  body.theme-victor .mobile-menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 998;
    background: rgba(0, 0, 0, 0.58);
  }

  body.theme-victor .home-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    width: min(68vw, 20rem);
    max-width: 90vw;
    padding: calc(max(0.9rem, env(safe-area-inset-top)) + 0.3rem) 1.05rem 1.2rem;
    background: #101a34;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    overflow-y: auto;
    transform: translateX(102%);
    transition: transform 220ms ease;
  }

  body.theme-victor.mobile-menu-open .home-sidebar {
    transform: translateX(0);
  }

  body.theme-victor .mobile-menu-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-bottom: 0.8rem;
    width: 2rem;
    height: 2rem;
    border: none;
    border-radius: 0.45rem;
    background: transparent;
    color: #f4f4f5;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
  }

  body.theme-victor .home-sidebar-nav {
    gap: 0.8rem;
    font-size: 1.08rem;
  }

  body.theme-victor .home-sidebar-rule {
    margin: 1rem 0 1.05rem;
  }

  body.theme-victor .home-social-link {
    font-size: 1rem;
    gap: 0.65rem;
    margin-bottom: 0.25rem;
  }

  body.theme-victor .home-social-icon {
    opacity: 1;
  }

  body.theme-victor .home-music-wrap {
    margin-top: 1.1rem;
    padding-top: 1rem;
  }

  body.theme-victor .home-webring-wrap {
    margin-top: 1.1rem;
    padding-top: 1rem;
  }

  body.theme-victor .home-music-btn {
    font-size: 0.95rem;
  }
}

body.theme-victor .home-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.875rem;
  font-weight: 500;
}

body.theme-victor .home-sidebar-nav a {
  color: var(--hv-muted);
  text-decoration: none;
  font-weight: 500;
}

body.theme-victor .home-sidebar-nav a:hover {
  color: var(--hv-text);
}

body.theme-victor .home-sidebar-nav a[aria-current="page"] {
  color: var(--hv-text);
  font-weight: 700;
}

body.theme-victor .home-sidebar-rule {
  height: 1px;
  background: var(--hv-line);
  margin: 1.35rem 0 1.15rem;
  border: 0;
}

body.theme-victor .home-sidebar-social {
  list-style: none;
  margin: 0;
  padding: 0;
}

body.theme-victor .home-sidebar-social li {
  margin-bottom: 0.5rem;
}

body.theme-victor .home-social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--hv-muted);
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 500;
}

body.theme-victor .home-social-link:hover {
  color: var(--hv-text);
}

body.theme-victor .home-social-icon {
  display: flex;
  color: currentColor;
  opacity: 0.9;
}

body.theme-victor .home-music-wrap {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--hv-line);
}

body.theme-victor .home-webring-wrap {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--hv-line);
}

body.theme-victor .home-webring {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

body.theme-victor .home-webring a {
  color: var(--hv-muted);
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1;
}

body.theme-victor .home-webring a:hover {
  color: var(--hv-text);
}

body.theme-victor .home-webring-hub img {
  display: block;
  width: 24px;
  height: auto;
  opacity: 0.85;
}

body.theme-victor .home-webring-hub:hover img {
  opacity: 1;
}

body.theme-victor .home-music-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: 100%;
  padding: 0.35rem 0;
  margin: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--hv-muted);
  text-align: left;
  border-radius: 4px;
}

body.theme-victor .home-music-btn:hover {
  color: var(--hv-text);
}

body.theme-victor .home-music-btn:focus-visible {
  outline: 2px solid var(--hv-accent);
  outline-offset: 2px;
}

body.theme-victor .home-music-btn[aria-pressed="true"] {
  color: var(--hv-text);
}

body.theme-victor .home-music-icon {
  font-size: 0.95rem;
  line-height: 1;
  opacity: 0.9;
}

body.theme-victor .home-main {
  min-width: 0;
}

body.theme-victor .home-content {
  padding-right: clamp(0px, 8vw, 5rem);
}

body.theme-victor .home-name {
  margin: 0 0 1.35rem;
  font-family: var(--site-display-name-font);
  font-size: var(--site-display-name-size);
  font-weight: var(--site-display-name-weight);
  font-style: normal;
  line-height: var(--site-display-name-line-height);
  color: var(--hv-text);
  letter-spacing: 0;
}

body.theme-victor .home-intro p {
  margin: 0 0 1rem;
  color: var(--hv-text);
  max-width: 40rem;
}

body.theme-victor .home-content a {
  color: var(--hv-accent);
  text-decoration: underline;
  text-underline-offset: 0.14em;
  text-decoration-thickness: 1px;
}

body.theme-victor .home-content a:hover {
  color: var(--hv-accent-hover);
}

body.theme-victor .home-section-rule {
  height: 1px;
  background: var(--hv-line);
  margin: 2.25rem 0 1.75rem;
  max-width: 40rem;
}

body.theme-victor .home-section-title {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--hv-text);
  letter-spacing: -0.01em;
}

body.theme-victor .home-exp-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 40rem;
}

body.theme-victor .home-exp-item {
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  gap: 0.85rem 1rem;
  align-items: start;
  margin-bottom: 1.35rem;
}

/* Incoming role: stay subtle until hover / keyboard focus */
body.theme-victor .home-exp-item--incoming {
  opacity: 0.14;
  filter: blur(0.45px);
  transition: opacity 0.22s ease, filter 0.22s ease;
  cursor: default;
  border-radius: 0.35rem;
  outline: none;
}

body.theme-victor .home-exp-item--incoming:hover,
body.theme-victor .home-exp-item--incoming:focus-within {
  opacity: 1;
  filter: none;
}

body.theme-victor .home-exp-item--incoming:focus-visible {
  box-shadow: 0 0 0 2px var(--hv-accent);
}

@media (prefers-reduced-motion: reduce) {
  body.theme-victor .home-exp-item--incoming {
    filter: none;
    transition: opacity 0.15s ease;
  }
}

body.theme-victor .home-exp-logo {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.45rem;
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Full-color raster logos (Shopify, Heavy Influence, Global X, SimpliFined, etc.) */
body.theme-victor .home-exp-logo:has(> img[src$=".jpeg"]),
body.theme-victor .home-exp-logo:has(> img[src$=".jpg"]),
body.theme-victor .home-exp-logo:has(> img[src$=".png"]),
body.theme-victor .home-exp-logo:has(> img[src$=".webp"]) {
  background: transparent;
  padding: 0;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
}

body.theme-victor[data-theme="light"] .home-exp-logo:has(> img[src$=".jpeg"]),
body.theme-victor[data-theme="light"] .home-exp-logo:has(> img[src$=".jpg"]),
body.theme-victor[data-theme="light"] .home-exp-logo:has(> img[src$=".png"]),
body.theme-victor[data-theme="light"] .home-exp-logo:has(> img[src$=".webp"]) {
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
}

body.theme-victor .home-exp-logo-img[src$=".jpeg"],
body.theme-victor .home-exp-logo-img[src$=".jpg"],
body.theme-victor .home-exp-logo-img[src$=".png"],
body.theme-victor .home-exp-logo-img[src$=".webp"] {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: none;
}

/* Monochrome SVG wordmarks / simple icons */
body.theme-victor .home-exp-logo:has(> img[src$=".svg"]) {
  background: var(--hv-line);
  padding: 0.38rem;
}

body.theme-victor[data-theme="light"] .home-exp-logo:has(> img[src$=".svg"]) {
  background: #e4e4e7;
}

body.theme-victor .home-exp-logo-img[src$=".svg"] {
  width: 1.5rem;
  height: 1.5rem;
  object-fit: contain;
  display: block;
  filter: invert(1);
}

body.theme-victor[data-theme="light"] .home-exp-logo-img[src$=".svg"] {
  filter: none;
}

body.theme-victor .home-exp-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--hv-text);
  line-height: 1.3;
}

body.theme-victor .home-exp-desc {
  font-size: 0.8125rem;
  color: var(--hv-muted);
  line-height: 1.45;
  margin-top: 0.2rem;
}

body.theme-victor .home-exp-desc .home-exp-role {
  display: block;
  font-weight: 600;
  font-size: 0.8125rem;
  color: var(--hv-text);
  margin-bottom: 0.35rem;
}

body.theme-victor .home-content > p,
body.theme-victor .home-content .note-small {
  max-width: 40rem;
}

body.theme-victor .home-content code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.875em;
  padding: 0.12em 0.38em;
  border-radius: 4px;
  background: var(--hv-line);
  color: var(--hv-text);
}

body.theme-victor[data-theme="light"] .home-content code {
  background: #e4e4e7;
  color: var(--hv-text);
}

body.theme-victor .chat-panel {
  margin-top: 1.5rem;
  max-width: 40rem;
  border: 1px solid var(--hv-line);
  background: var(--hv-surface);
  border-radius: 6px;
}

body.theme-victor .chat-log {
  color: var(--hv-text);
}

body.theme-victor .chat-msg .role {
  color: var(--hv-muted);
}

body.theme-victor .chat-msg.user .role {
  color: var(--hv-text);
}

body.theme-victor .chat-form textarea {
  background: var(--hv-bg);
  color: var(--hv-text);
  border: 1px solid var(--hv-line);
}

body.theme-victor .chat-form textarea::placeholder {
  color: var(--hv-muted);
  opacity: 0.85;
}

body.theme-victor .chat-form button {
  background: var(--hv-accent);
  color: #ffffff;
}

body.theme-victor .chat-form button:hover:not(:disabled) {
  opacity: 0.92;
}

body.theme-victor .chat-status {
  color: var(--hv-muted);
}

body.theme-victor .chat-status.error {
  color: var(--hv-text);
  font-weight: 600;
}

body.theme-victor .note-small {
  color: var(--hv-muted);
}

/* ------------------------------------------------------------------ */
/* Projects — serif list inside Victor theme (same bg as rest)       */
/* ------------------------------------------------------------------ */

body.theme-victor .projects-serial {
  max-width: 40rem;
  font-family: Georgia, "Times New Roman", Times, serif;
}

body.theme-victor .projects-serial .pc-signature {
  font-family: var(--site-display-name-font);
  font-size: var(--site-display-name-size);
  font-weight: var(--site-display-name-weight);
  line-height: var(--site-display-name-line-height);
  color: var(--hv-text);
  margin: 0 0 2.25rem;
}

body.theme-victor .projects-serial .pc-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

body.theme-victor .projects-serial .pc-item {
  margin-bottom: 2rem;
}

body.theme-victor .projects-serial .pc-item:last-child {
  margin-bottom: 0;
}

body.theme-victor .home-content .projects-serial a.pc-title {
  display: inline-block;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--hv-accent);
  text-decoration: none;
  margin-bottom: 0.35rem;
}

body.theme-victor .home-content .projects-serial a.pc-title:hover {
  color: var(--hv-accent-hover);
  text-decoration: underline;
}

body.theme-victor .projects-serial .pc-desc {
  margin: 0;
  color: var(--hv-muted);
  max-width: 38rem;
  font-size: 0.95rem;
  line-height: 1.55;
}

/* ------------------------------------------------------------------ */
/* Ask page — terminal / “hi i’m” window                               */
/* ------------------------------------------------------------------ */

body.ask-page.theme-victor .home-main {
  background: #000000;
}

body.ask-page.theme-victor .home-content.ask-main {
  max-width: 40rem;
  padding-right: clamp(0px, 6vw, 3rem);
}

body.ask-page.theme-victor .ask-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.85rem;
  margin: 0 0 1.25rem;
}

body.ask-page.theme-victor .ask-hi {
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-weight: 500;
  color: #ffffff;
  text-transform: lowercase;
}

body.ask-page.theme-victor .ask-name-script {
  font-family: var(--site-display-name-font);
  font-size: var(--site-display-name-size);
  font-weight: var(--site-display-name-weight);
  line-height: var(--site-display-name-line-height);
  color: #ffffff;
}

body.ask-page.theme-victor .ask-window {
  border: 1px solid #30363d;
  border-radius: 10px;
  overflow: hidden;
  background: #0d1117;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04);
}

body.ask-page.theme-victor .ask-window-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.45rem 0.65rem 0.45rem 0.85rem;
  border-bottom: 1px solid #30363d;
  background: #0d1117;
}

body.ask-page.theme-victor .ask-window-title {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco,
    Consolas, monospace;
  font-size: 0.68rem;
  font-weight: 400;
  color: #8b949e;
  text-transform: lowercase;
  letter-spacing: 0.01em;
  line-height: 1.35;
}

body.ask-page.theme-victor .ask-window-chrome {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

body.ask-page.theme-victor .ask-reset {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem;
  margin: 0;
  border: none;
  border-radius: 4px;
  background: transparent;
  color: #6e7681;
  cursor: pointer;
  line-height: 0;
}

body.ask-page.theme-victor .ask-reset:hover {
  color: #c9d1d9;
  background: rgba(255, 255, 255, 0.06);
}

body.ask-page.theme-victor .ask-traffic {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

body.ask-page.theme-victor .ask-traffic-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

body.ask-page.theme-victor .ask-traffic-dot--red {
  background: #ff5f57;
}
body.ask-page.theme-victor .ask-traffic-dot--yellow {
  background: #febc2e;
}
body.ask-page.theme-victor .ask-traffic-dot--green {
  background: #28c840;
}

body.ask-page.theme-victor .ask-window-scroll {
  max-height: min(52vh, 26rem);
  overflow-y: auto;
  padding: 0.85rem 1rem 1rem;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco,
    Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1.55;
  color: #e6edf3;
}

body.ask-page.theme-victor .ask-static {
  margin: 0;
  text-transform: lowercase;
}

body.ask-page.theme-victor .ask-section-label {
  margin: 0.85rem 0 0.35rem;
  color: #8b949e;
  font-size: inherit;
}

body.ask-page.theme-victor .ask-section-label:first-child {
  margin-top: 0;
}

body.ask-page.theme-victor .ask-line-static {
  margin: 0 0 0.55rem;
  padding: 0;
  color: #e6edf3;
}

body.ask-page.theme-victor .ask-line-static--footer {
  margin-top: 0.75rem;
  margin-bottom: 0;
}

body.ask-page.theme-victor .ask-prompt {
  color: #6e7681;
  margin-right: 0.25rem;
  user-select: none;
}

body.ask-page.theme-victor .ask-inline-logo {
  width: 14px;
  height: 14px;
  object-fit: cover;
  vertical-align: -0.2em;
  border-radius: 3px;
  margin: 0 0.12rem;
}

body.ask-page.theme-victor .ask-window .ask-link {
  color: #58a6ff;
  text-decoration: none;
}

body.ask-page.theme-victor .ask-window .ask-link:hover {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

body.ask-page.theme-victor .ask-chat-log {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #21262d;
  min-height: 3.5rem;
}

body.ask-page.theme-victor .ask-chat-line {
  margin: 0 0 0.55rem;
  white-space: pre-wrap;
  word-break: break-word;
}

body.ask-page.theme-victor .ask-chat-line:last-child {
  margin-bottom: 0;
}

body.ask-page.theme-victor .ask-chat-gt {
  color: #6e7681;
}

body.ask-page.theme-victor .ask-chat-line--assistant {
  color: #e6edf3;
}

body.ask-page.theme-victor .ask-window-footer {
  border-top: 1px solid #21262d;
  padding: 0.65rem 0.75rem;
  background: #010409;
}

body.ask-page.theme-victor .ask-chat-form {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 0.5rem;
}

body.ask-page.theme-victor .ask-chat-form input[type="text"] {
  flex: 1;
  min-width: 0;
  padding: 0.5rem 0.65rem;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco,
    Consolas, monospace;
  font-size: 0.78rem;
  color: #e6edf3;
  background: #0d1117;
  border: 1px solid #30363d;
  border-radius: 6px;
  outline: none;
}

body.ask-page.theme-victor .ask-chat-form input[type="text"]::placeholder {
  color: #6e7681;
  opacity: 1;
  text-transform: lowercase;
}

body.ask-page.theme-victor .ask-chat-form input[type="text"]:focus {
  border-color: #58a6ff;
  box-shadow: 0 0 0 1px rgba(88, 166, 255, 0.25);
}

body.ask-page.theme-victor .ask-chat-form button[type="submit"] {
  flex-shrink: 0;
  padding: 0.5rem 0.75rem;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco,
    Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: lowercase;
  color: #e6edf3;
  background: #21262d;
  border: 1px solid #30363d;
  border-radius: 6px;
  cursor: pointer;
}

body.ask-page.theme-victor .ask-chat-form button[type="submit"]:hover:not(:disabled) {
  background: #30363d;
}

body.ask-page.theme-victor .ask-chat-form button[type="submit"]:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

body.ask-page.theme-victor .ask-chat-status {
  margin: 0.45rem 0 0;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco,
    Consolas, monospace;
  font-size: 0.7rem;
  color: #6e7681;
  text-transform: lowercase;
}

body.ask-page.theme-victor .ask-chat-status--error {
  color: #f85149;
  font-weight: 500;
}

@media (max-width: 520px) {
  body.ask-page.theme-victor .ask-chat-form {
    flex-direction: column;
  }

  body.ask-page.theme-victor .ask-chat-form button[type="submit"] {
    align-self: flex-start;
  }
}
