/* V0.24.72: higher-contrast night surfaces and a calmer, more legible football HUD. */
:root{--senvo-focus:0 0 0 3px color-mix(in srgb,var(--violet,#7565df) 34%,transparent)}
:focus-visible{outline:0!important;box-shadow:var(--senvo-focus)!important}
body[data-theme="dark"]{
  color-scheme:dark;
  --bg:#090d18;--surface:#101725;--surface-2:#151f30;--surface-3:#1c2a40;
  --text:#f1f5fc;--text-soft:#c0cadd;--text-faint:#8c9ab1;
  --border:#27354a;--border-strong:#3a4b64;--violet:#aa9cff;--violet-2:#c2b9ff;
  --cyan:#71dfd0;--cyan-soft:#122b31;--green:#6ee0b0;--red:#ff8396;
  --shadow:0 26px 80px #0009;--shadow-soft:0 12px 32px #0006;
  background:#090d18;color:var(--text)
}
body[data-theme="dark"],body[data-theme="dark"] .app-shell{background:radial-gradient(ellipse at 72% -15%,#26264944,transparent 42%),radial-gradient(ellipse at 5% 85%,#0f48401c,transparent 42%),#090d18!important;color:var(--text)!important}
body[data-theme="dark"] .sidebar{background:#0e1522!important;border-color:#273349!important;color:var(--text)!important}
body[data-theme="dark"] .topbar{background:#0d1421ed!important;border-color:#29364b!important;backdrop-filter:blur(16px)}
body[data-theme="dark"] .composer-card,body[data-theme="dark"] .settings-input,body[data-theme="dark"] .settings-textarea,body[data-theme="dark"] select,body[data-theme="dark"] input:not([type=checkbox]):not([type=radio]),body[data-theme="dark"] textarea,body[data-theme="dark"] .dropdown-menu,body[data-theme="dark"] .popover-menu,body[data-theme="dark"] .tool-menu,body[data-theme="dark"] .effort-menu{background:#121b2a!important;color:#f1f5fc!important;border-color:#34435a!important}
body[data-theme="dark"] .chat-item:hover,body[data-theme="dark"] .chat-item.active,body[data-theme="dark"] .sidebar-nav:hover,body[data-theme="dark"] .icon-button:hover,body[data-theme="dark"] .topbar-button:hover{background:#1c2940!important;color:#fff!important}
body[data-theme="dark"] .message-user .message-bubble{background:linear-gradient(145deg,#25385e,#1d3048)!important;border:1px solid #455c82!important;color:#f5f7ff!important}
body[data-theme="dark"] .assistant-content{color:#e8edf7!important}
body[data-theme="dark"] .assistant-content a,body[data-theme="dark"] .inline-citation{color:#8ce6d9!important;text-decoration-color:#8ce6d966}
body[data-theme="dark"] .assistant-content code{background:#1a2639!important;color:#edf3ff!important;border-color:#34445c!important}
body[data-theme="dark"] .assistant-content blockquote{background:#151f31!important;border-color:#9e8cff!important;color:#d8e1f1!important}
body[data-theme="dark"] .starter-card,body[data-theme="dark"] .workspace-card,body[data-theme="dark"] .settings-subsection,body[data-theme="dark"] .setting-row,body[data-theme="dark"] .settings-action-tile-v223,body[data-theme="dark"] .settings-panel-v10,body[data-theme="dark"] .usage-window-card-v209,body[data-theme="dark"] .usage-resource-list-v209>div,body[data-theme="dark"] .billing-info-grid-v209>div,body[data-theme="dark"] .message-more-menu,body[data-theme="dark"] .source-card,body[data-theme="dark"] .sources-modal-card,body[data-theme="dark"] .modal-card,body[data-theme="dark"] .wide-modal,body[data-theme="dark"] .card-list,body[data-theme="dark"] .settings-center-v241,body[data-theme="dark"] .identity-beacon-v241,body[data-theme="dark"] .senvo-create-studio-v241{background:#111a29!important;color:#edf2fc!important;border-color:#2b394f!important}
body[data-theme="dark"] .modal{background:#020611c7!important;backdrop-filter:blur(8px)}
body[data-theme="dark"] .modal-head,body[data-theme="dark"] .settings-panel-heading,body[data-theme="dark"] .tutorials-head-v243{color:#f2f5fc!important;border-color:#2b394f!important}
body[data-theme="dark"] .assistant-content .math-block{margin:.8rem 0;padding:.9rem 1.05rem!important;border:1px solid #34435d;border-radius:15px;background:linear-gradient(120deg,#163137aa,#24224688)!important;box-shadow:inset 3px 0 #70ddce}
body[data-theme="dark"] .assistant-content .math-block .katex-display{margin:.15em 0!important;color:#f0fcff!important}
body[data-theme="dark"] .assistant-content .math-inline{padding:.04em .22em;border-radius:5px;background:#70ddce18;color:#c7f5ea}
body[data-theme="dark"] .assistant-content .katex{color:inherit!important}
body[data-theme="dark"] .assistant-content .katex-error{color:#ff9aab!important;background:#c233521f;border-radius:5px}
body[data-theme="dark"] .support-hub-v271,body[data-theme="dark"] .support-panel-v271,body[data-theme="dark"] .support-ticket-room-v271,body[data-theme="dark"] .support-ticket-card-v271{background:#111b2b!important;color:#edf3ff!important;border-color:#2d3c54!important}
body[data-theme="dark"] .support-panel-v271 p,body[data-theme="dark"] .support-ticket-room-v271 p{color:#bdc9dc!important}
body[data-theme="dark"] .plan-upgrade-request-v272{background:#202c43!important;color:#e5eaff!important;border-color:#4b5d7a!important}
body[data-theme="dark"] .community-role-checks-v272 label{background:#172338!important;border-color:#35445c!important;color:#e8eef9!important}

/* Football's toolbar is a compact control rail; actions retain clear hit areas. */
#footballModalV249 .football-head{display:grid!important;grid-template-columns:minmax(145px,1fr) auto auto auto repeat(5,40px)!important;gap:9px!important;align-items:center!important;padding:12px 16px!important;background:linear-gradient(105deg,#11192a,#152a32 62%,#1d1c39)!important;border-bottom:1px solid #ffffff19!important}
#footballModalV249 .football-brand{margin:0!important;min-width:0}
#footballModalV249 .football-brand small{color:#9baec3!important;letter-spacing:.15em!important}
#footballModalV249 .football-brand strong{font-size:17px!important;letter-spacing:-.035em!important;color:#f6f8ff!important}
#footballModalV249 .football-score{padding:7px 12px!important;border:1px solid #ffffff1b!important;border-radius:14px!important;background:#080e1b9c!important;gap:10px!important}
#footballModalV249 .football-score b{font-size:20px!important;font-variant-numeric:tabular-nums}
#footballModalV249 .football-earned{padding:7px 10px!important;border:1px solid #f1cb7250;border-radius:999px;background:#30281780;color:#ffe49b!important;font-variant-numeric:tabular-nums}
#footballModalV249 .football-clock{font-variant-numeric:tabular-nums;color:#92f0d4!important;font-weight:800}
#footballModalV249 .football-head>button{display:inline-grid!important;place-items:center!important;min-width:40px!important;width:40px!important;height:40px!important;min-height:40px!important;padding:0!important;border-radius:13px!important;border:1px solid #9fb2d02b!important;background:linear-gradient(145deg,#202b3c,#131d2d)!important;color:#eef4ff!important;font-size:13px!important;font-weight:750!important;box-shadow:inset 0 1px #ffffff0c,0 5px 14px #0003!important;transition:transform .16s ease,border-color .16s ease,background .16s ease!important}
#footballModalV249 .football-head>button:hover{transform:translateY(-1px);border-color:#8ce6d966!important;background:linear-gradient(145deg,#2a3850,#182536)!important}
#footballModalV249 .football-head>button:active{transform:scale(.95)}
#footballModalV249 #footballPauseV249{color:#a6f0dd!important}
#footballModalV249 #footballCloseV249{color:#ffb2bc!important;border-color:#ff9ca62e!important}
#footballModalV249 .football-settings60>section{background:#111a29!important;color:#edf3ff!important;border-color:#2d3c54!important}
#footballModalV249 .football-settings60 select{background:#192438!important;color:#f1f5fc!important;border-color:#455773!important}
@media(max-width:760px){
  #footballModalV249 .football-head{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:6px!important;padding:calc(7px + env(safe-area-inset-top)) 9px 8px!important}
  #footballModalV249 .football-brand{grid-column:1/span 2!important;grid-row:1!important}
  #footballModalV249 .football-score{grid-column:3/span 2!important;grid-row:1!important;min-width:0!important}
  #footballModalV249 .football-earned{grid-column:5!important;grid-row:1!important;justify-self:end!important;padding:6px 7px!important;font-size:10px!important}
  #footballModalV249 .football-clock{grid-column:1!important;grid-row:2!important;text-align:left}
  #footballModalV249 .football-head>button{grid-row:2!important;width:100%!important;min-width:0!important;height:38px!important;min-height:38px!important}
  #footballModalV249 .football-score b{font-size:17px!important}
  #footballModalV249 .football-score span{font-size:9px!important}
  #footballModalV249 .football-brand strong{font-size:15px!important}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
