.home { background: linear-gradient(180deg, #f2f7fd, #f5f7fb 900px); }
.home .wrap { max-width: 960px; }
.home-main { padding-top: 24px; }
.home section[id] { scroll-margin-top: 20px; }
.intro-panel { padding: 32px; background: linear-gradient(125deg, #e6f3ff, #edf5ff); border: 1px solid #e0ecfc; border-radius: 18px; }
.intro-panel .eyebrow { display: inline-block; padding: 3px 12px; border-radius: 999px; background: #d8eaff; }
.intro-panel h1 { margin: 14px 0; color: #0d2646; font-size: clamp(28px, 4.5vw, 44px); line-height: 1.3; letter-spacing: -.025em; }
.intro-panel h1 > span { display: block; }
.intro-copy { max-width: 770px; margin: 0; color: #4d637d; font-size: 17px; line-height: 1.85; }
.source-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.source-tags > span { padding: 4px 12px; border-radius: 999px; background: #dbe9fc; color: #355578; font-size: 13px; }
.source-tags strong { font-weight: inherit; }
.home .actions { margin-top: 22px; }
.home .btn { gap: 14px; min-height: 48px; }
.home .btn-secondary { border-color: #c9dfff; color: #123963; }
.latest-card { margin-top: 22px; padding: 24px 28px; }
.latest-label { display: inline-block; padding: 2px 11px; border-radius: 999px; background: #22976c; color: white; font-size: 13px; font-weight: 700; }
.latest-card h2 { margin: 7px 0 3px; font-size: 26px; line-height: 1.4; }
.home .draw-head { align-items: center; }
.home .balls { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); align-items: start; gap: 10px; max-width: 540px; margin: 18px 0 12px; }
.home .ball { width: 100%; height: auto; aspect-ratio: 1; max-width: 64px; font-size: clamp(17px, 3.8vw, 24px); }
.special-group { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.special-label { color: #667085; font-size: 12px; white-space: nowrap; }
.home .ball.special { background: #828993; }
.update-note { margin: 0; font-size: 13px; }
.indicator-section { margin-top: 34px; }
.section-heading h2 { margin: 0 0 5px; font-size: 28px; line-height: 1.4; }
.section-heading p { margin: 0 0 20px; color: #596b82; }
.indicator-list { display: grid; gap: 16px; }
.indicator-card { padding: 24px; }
.indicator-head { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; align-items: center; gap: 14px; }
.indicator-icon { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 54px; height: 54px; border-radius: 50%; background: #eaf4ff; color: #1268e3; }
.indicator-icon svg { width: 34px; height: 34px; }
.indicator-title h3 { margin: 0; color: #102741; font-size: 23px; line-height: 1.4; }
.indicator-title p { margin: 3px 0 0; color: #536983; font-size: 15px; }
.metric { min-width: 108px; padding: 9px 13px; border-radius: 12px; background: #edf5ff; color: #315779; text-align: center; }
.metric > span { display: block; font-size: 12px; }
.metric > strong { display: block; color: #0967dd; font-size: 27px; line-height: 1.3; }
.metric small { font-size: 13px; }
.parity-metrics { display: flex; gap: 8px; }
.parity-metrics .metric { min-width: 68px; }
.parity-metrics .metric > strong { font-size: 22px; }
.odd-metric { background: #fff0f0; color: #9a4848; }
.odd-metric > strong { color: #a94545; }
.indicator-definition { margin: 13px 0 15px; color: #536276; font-size: 15px; line-height: 1.8; }
.analysis-purpose { padding: 13px 16px; border-radius: 12px; background: linear-gradient(110deg, #edf7ff, #e9f3ff); }
.analysis-purpose > strong { color: #1268e3; font-size: 15px; }
.analysis-purpose p { margin: 2px 0 0; color: #46617c; font-size: 15px; line-height: 1.8; }
.tail-example { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 11px; }
.tail-example > span { color: #5e6c7e; font-size: 13px; }
.tail-chips { display: flex; gap: 7px; flex-wrap: wrap; }
.tail-chip { display: inline-flex; justify-content: center; align-items: center; width: 32px; height: 32px; border-radius: 50%; background: #ffe1e1; color: #b53737; font-weight: 800; }
.distribution { margin-top: 15px; padding-top: 12px; border-top: 1px solid #edf0f5; }
.distribution summary { color: #1268e3; font-size: 14px; font-weight: 700; cursor: pointer; }
.distribution[open] summary { margin-bottom: 16px; }
.detail-link { display: inline-block; margin-top: 10px; font-size: 14px; }
.distribution-note { color: #667085; font-size: 13px; margin-bottom: 0; }
.home summary:focus-visible, .home a:focus-visible { outline: 3px solid #1268e3; outline-offset: 4px; }
.method-note { margin: 14px 0 0; color: #667085; font-size: 13px; line-height: 1.8; }
.app-panel { display: flex; align-items: center; gap: 14px; margin-top: 24px; padding: 22px; border: 1px solid #dceafa; border-radius: 16px; background: #e7f3ff; }
.app-copy { flex: 1; min-width: 0; }
.app-copy h2 { margin: 0 0 4px; font-size: 21px; line-height: 1.4; }
.app-copy p { margin: 0; color: #51677e; font-size: 14px; }
.app-panel .btn { flex-shrink: 0; font-size: 14px; padding: 12px 15px; }
.recent-section { margin-top: 22px; }
.recent-details summary { font-size: 18px; font-weight: 700; cursor: pointer; }
.table-scroll { overflow: auto; margin-top: 16px; }
.table-scroll table { min-width: 510px; }
.responsible-note { margin: 22px 0 0; font-size: 12px; color: #69778a; line-height: 1.8; }
.home .footer { margin-top: 26px; font-size: 13px; }
.footer-links { display: inline-flex; gap: 16px; margin-left: 20px; }
@media (max-width: 800px) {
  .home .draw-head { flex-direction: column; align-items: flex-start; gap: 4px; }
  .app-panel { flex-wrap: wrap; }
  .app-panel .btn { margin-left: 68px; }
}
@media (max-width: 480px) {
  .home-main { padding-top: 16px; }
  .intro-panel { padding: 22px 18px; }
  .intro-copy { font-size: 15px; }
  .source-tags { gap: 6px; }
  .source-tags > span { font-size: 11px; padding: 4px 8px; }
  .home .actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .home .actions .btn { font-size: 13px; padding: 11px 6px; gap: 6px; }
  .latest-card { padding: 20px 16px; }
  .latest-card h2 { font-size: 23px; }
  .home .balls { gap: 6px; }
  .home .ball { font-size: clamp(14px, 4.4vw, 21px); }
  .section-heading h2 { font-size: 25px; }
  .section-heading p { font-size: 14px; }
  .indicator-card { padding: 18px 16px; }
  .indicator-head { grid-template-columns: 40px minmax(0, 1fr) auto; gap: 10px; }
  .indicator-icon { width: 40px; height: 40px; }
  .indicator-icon svg { width: 27px; height: 27px; }
  .indicator-title h3 { font-size: 19px; }
  .indicator-title p { font-size: 12px; }
  .metric { min-width: 90px; padding: 8px; }
  .metric > span { font-size: 11px; }
  .metric > strong { font-size: 23px; }
  .metric small { font-size: 11px; }
  .parity-metrics { gap: 5px; }
  .parity-metrics .metric { min-width: 49px; padding: 8px 6px; }
  .parity-metrics .metric > strong { font-size: 19px; }
  .indicator-definition, .analysis-purpose p { font-size: 14px; }
  .analysis-purpose { padding: 12px; }
  .app-panel { padding: 18px 16px; gap: 10px; }
  .app-copy h2 { font-size: 19px; }
  .app-panel .btn { margin-left: 0; width: 100%; }
  .footer-links { display: flex; margin: 8px 0 0; }
}
