/* Scout Report shell: page furniture that matches Cap Track / Portal Pulse / Upset Index.
   Loaded AFTER the compiled app stylesheet so these unlayered rules win. */
:root { --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #071a14; color: #e2e8f0; font-family: var(--font-sans); -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column; }
::selection { background: #00e676; color: #071a14; }
.sr-wrap { width: 100%; max-width: 80rem; margin: 0 auto; padding: 0 1rem; box-sizing: border-box; }
@media (min-width: 640px) { .sr-wrap { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .sr-wrap { padding: 0 2rem; } }
.sr-hero { padding-top: 1.5rem; padding-bottom: .25rem; }
@media (min-width: 640px) { .sr-hero { padding-top: 2rem; } }
.sr-hero-row { display: flex; flex-direction: column; gap: .75rem; }
@media (min-width: 1024px) { .sr-hero-row { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.sr-hero h1 { margin: 0; font-size: 1.875rem; line-height: 1.15; font-weight: 800; letter-spacing: -.025em; color: #fff; }
@media (min-width: 640px) { .sr-hero h1 { font-size: 2.25rem; } }
.hero-grad { background: linear-gradient(to right, #34d399, #a7f3d0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sr-hero p { margin: .25rem 0 0; max-width: 42rem; font-size: .875rem; line-height: 1.6; color: #94a3b8; }
.sr-chips { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: .6875rem; }
.sr-chip { display: inline-flex; align-items: center; gap: .375rem; padding: .25rem .625rem; border-radius: .5rem; background: rgba(2, 44, 34, .5); border: 1px solid rgba(16, 185, 129, .25); color: #6ee7b7; font-weight: 600; white-space: nowrap; }
.sr-chip i { font-size: .6875rem; }
/* The app root: drop its viewport-height wrapper so the site footer sits directly under it. */
#root { flex: 1 0 auto; width: 100%; }
#root > div { min-height: 0 !important; }
.sr-footer { background: #071a14; border-top: 1px solid rgba(6, 78, 59, .6); padding: 3rem 0 2.5rem; margin-top: 3rem; }
.sr-disclaimer { padding: 1.5rem; border-radius: .75rem; background: rgba(11, 38, 30, .4); border: 1px solid rgba(6, 78, 59, .6); font-size: .75rem; line-height: 1.65; color: #94a3b8; }
.sr-foot-row { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(6, 78, 59, .4); font-size: .75rem; color: #64748b; }
@media (min-width: 640px) { .sr-foot-row { flex-direction: row; } }
.sr-foot-row p { margin: 0; }
.sr-foot-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .5rem 1.5rem; }
.sr-foot-links a { color: #64748b; text-decoration: none; transition: color .15s; }
.sr-foot-links a:hover { color: #34d399; }
.sr-sep { color: #334155; }
.skip-link { position: absolute; left: -9999px; top: 0; background: #00e676; color: #071a14; padding: .5rem 1rem; z-index: 100; font-weight: 700; }
.skip-link:focus { left: 1rem; top: 1rem; }
@media print { .ml-header, .sr-hero, .sr-footer { display: none !important; } }

/* Small screens: the app's league tab group is a non-wrapping inline-flex; let it scroll inside its own box
   instead of widening the page. */
@media (max-width: 767px) {
  #root .inline-flex.p-1 { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  #root .inline-flex.p-1 > button { flex: 0 0 auto; }
  #root .flex-wrap { max-width: 100%; min-width: 0; }
  #root select, #root input[type="text"], #root input[type="search"] { max-width: 100%; }
}
