/* Ask AI tab for the totalaisports.com home page.
   Same tab + drawer as the fantasy site's HelpDrawer (web/app/globals.css .tas-help-*),
   written as plain CSS (no Tailwind on this static site). Single column: no glossary pane. */
.tas-help-tab {
  position: fixed; top: 50%; right: 0; z-index: 120; transform: translateY(-50%);
  writing-mode: vertical-rl; text-orientation: mixed; letter-spacing: 0.2em; cursor: pointer;
  margin: 0; font: inherit; font-size: 12px; font-weight: 800; line-height: 1; text-transform: uppercase; color: #fff;
  background: #2563eb; border: 1px solid rgba(147, 197, 253, 0.4); border-right: 0; border-radius: 0.75rem 0 0 0.75rem;
  padding: 1.25rem 0.625rem;
  box-shadow: -6px 0 22px rgba(37, 99, 235, 0.45);
  transition: background 180ms ease, transform 280ms ease, opacity 200ms ease;
}
.tas-help-tab:hover { background: #3b82f6; }
.tas-help-tab:focus-visible { outline: 2px solid #93c5fd; outline-offset: 2px; }
.tas-help-open .tas-help-tab { opacity: 0; pointer-events: none; }
.tas-help-scrim {
  position: fixed; inset: 0; z-index: 121; background: rgba(4, 8, 20, 0.28);
  opacity: 0; pointer-events: none; transition: opacity 280ms ease;
}
.tas-help-open .tas-help-scrim { opacity: 1; pointer-events: auto; }
.tas-help-panel {
  position: fixed; top: 0; right: 0; z-index: 122; display: flex; flex-direction: column;
  width: 480px; max-width: 100vw; height: 100%; height: 100dvh; box-sizing: border-box;
  color: #eef2ff; background: rgba(10, 16, 36, 0.9);
  backdrop-filter: blur(22px) saturate(1.25); -webkit-backdrop-filter: blur(22px) saturate(1.25);
  border-left: 1px solid rgba(147, 197, 253, 0.28); box-shadow: -24px 0 60px rgba(0, 0, 0, 0.4);
  transform: translateX(100%); transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none; visibility: hidden;
}
.tas-help-open .tas-help-panel { transform: translateX(0); pointer-events: auto; visibility: visible; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .tas-help-panel { background: rgba(10, 16, 36, 0.96); }
}
.tas-help-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 1.25rem 0.75rem; border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.tas-help-id { display: flex; align-items: center; gap: 0.75rem; min-width: 0; }
.tas-help-avatar {
  flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 999px;
  background: linear-gradient(135deg, #2563eb, #7c3aed); border: 1px solid rgba(147, 197, 253, 0.45);
  color: #fff; font-size: 15px; font-weight: 800; letter-spacing: 0.04em;
}
.tas-help-kicker { margin: 0; font-size: 10px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: #7dd3fc; }
.tas-help-title {
  margin: 0.125rem 0 0; font-size: 1.5rem; line-height: 2rem; font-style: italic; font-weight: 800;
  text-transform: uppercase; letter-spacing: -0.025em; color: #fff;
}
.tas-help-close {
  flex: none; display: grid; place-items: center; width: 44px; height: 44px; margin: 0; padding: 0; cursor: pointer;
  border-radius: 0.75rem; border: 1px solid rgba(255, 255, 255, 0.15); background: transparent; color: rgba(255, 255, 255, 0.8);
}
.tas-help-close:hover { color: #fff; }
.tas-help-close svg { width: 16px; height: 16px; }
.tas-help-ai { flex: 1; min-height: 0; display: flex; flex-direction: column; padding: 0.75rem 1rem max(1rem, env(safe-area-inset-bottom)); }
.tas-help-ai-log {
  flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain;
  display: flex; flex-direction: column; gap: 0.65rem; padding-right: 0.25rem;
}
.tas-help-intro { margin: 0; padding: 1.5rem 0.25rem; font-size: 0.875rem; line-height: 1.45; color: rgba(255, 255, 255, 0.5); }
.tas-help-bubble {
  max-width: 92%; border-radius: 1rem; padding: 0.7rem 0.85rem; font-size: 0.92rem; line-height: 1.45;
  white-space: pre-wrap; overflow-wrap: anywhere;
}
.tas-help-bubble-user { align-self: flex-end; background: rgba(37, 99, 235, 0.35); }
.tas-help-bubble-ai { align-self: flex-start; background: rgba(255, 255, 255, 0.07); }
.tas-help-bubble-ai a { color: #93c5fd; text-decoration: underline; }
.tas-help-bubble-ai.is-error { color: #fda4af; }
.tas-help-bubble-ai.is-stream::after { content: "\258D"; margin-left: 2px; animation: tas-help-caret 0.9s step-end infinite; }
@keyframes tas-help-caret { 50% { opacity: 0; } }
.tas-help-ai-form { display: grid; grid-template-columns: 1fr auto; gap: 0.5rem; margin: 0; padding-top: 0.75rem; }
.tas-help-input {
  width: 100%; box-sizing: border-box; margin: 0; border-radius: 0.75rem; border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06); color: #fff; padding: 0.65rem 0.8rem; font: inherit; font-size: 0.9rem; outline: none;
}
.tas-help-input::placeholder { color: rgba(255, 255, 255, 0.45); }
.tas-help-input:focus { border-color: rgba(96, 165, 250, 0.8); }
.tas-help-send {
  margin: 0; border-radius: 0.75rem; border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(37, 99, 235, 0.85);
  color: #fff; font: inherit; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.65rem 0.8rem; cursor: pointer;
}
.tas-help-send:disabled { opacity: 0.45; cursor: not-allowed; }
.tas-help-check { grid-column: 1 / -1; min-height: 0; }
.tas-help-check:empty { display: none; }
.tas-help-note { grid-column: 1 / -1; margin: 0; font-size: 0.75rem; line-height: 1.4; color: rgba(255, 255, 255, 0.5); }
.tas-help-note a { color: #93c5fd; }
@media (max-width: 640px) {
  .tas-help-tab { padding: 0.65rem 0.4rem; font-size: 10px; letter-spacing: 0.12em; }
  .tas-help-panel { width: 100vw; }
  .tas-help-head { padding: 0.85rem 1rem 0.65rem; }
  .tas-help-send, .tas-help-input { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .tas-help-tab, .tas-help-scrim, .tas-help-panel { transition: none; }
  .tas-help-bubble-ai.is-stream::after { animation: none; }
}
