body { padding-bottom: var(--sponsor-dock-height, 0px); }
section#Sponcer.sponsor-dock {
  position: fixed;
  inset: auto 0 0;
  z-index: 900;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  max-height: 184px;
  margin: 0;
  padding: 8px 12px max(10px, env(safe-area-inset-bottom));
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #fff;
  border-top: 2px solid #191970;
  box-shadow: 0 -3px 14px #0002;
}
section#Sponcer.sponsor-dock[hidden] { display: none !important; }
#Sponcer.sponsor-dock h2 { margin: 0 0 10px; font-size: 14px; line-height: 1.5; text-align: center; }
#Sponcer.sponsor-dock ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px 16px; width: 100%; }
#Sponcer.sponsor-dock li { width: 100%; margin: 0; padding: 0; }
#Sponcer.sponsor-dock a { display: flex; justify-content: center; align-items: center; min-height: 36px; }
#Sponcer.sponsor-dock img { display: block; max-width: 100%; max-height: 36px; width: auto; height: auto; }
@media (max-width: 600px) {
  section#Sponcer.sponsor-dock { max-height: 140px; padding-inline: 8px; }
  #Sponcer.sponsor-dock h2 { font-size: 13px; }
  #Sponcer.sponsor-dock ul { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 10px; }
}
