/* The homepage owns the widget title and lottery selection. */
#a6-widget-frame .a6-widget-tabs,
#a6-widget-frame .diagram-tabs,
#a6-widget-frame #diagram-gallery-title,
#a6-widget-frame #forum-top15-title {
    display: none !important;
}

/* Qinglong leaderboard display follows the Guanyin theme. */
#forum-top15 { padding: 10px; background: #fff; color: #142921; font-size: 15px; }
#forum-top15 :is(.top15-head, .top15-link) {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) minmax(0, 1fr);
  column-gap: 8px;
  padding: 8px 12px;
}
#forum-top15 .top15-head {
  min-height: 40px; margin-bottom: 5px; border-color: #c6dccd;
  border-radius: 6px; background: #e5f1e9; color: #164d34; font-size: 13px;
}
#forum-top15 .top15-rows { gap: 5px; }
#forum-top15 .top15-link {
  min-height: 46px; border-color: #e5ebe8; border-radius: 8px;
  background: #f9fcfa; color: #142921;
}
#forum-top15 .top15-link:hover { background: #edf7f0; }
#forum-top15 :is(.top15-title, .top15-record) { color: #11794f; }
@media (max-width: 600px) {
  #forum-top15 { padding: 7px; font-size: 13px; }
  #forum-top15 :is(.top15-head, .top15-link) { column-gap: 5px; padding: 8px 7px; }
  #forum-top15 .top15-link { min-height: 43px; }
  #forum-top15 .top15-subject { gap: 3px; }
  #forum-top15 .top15-record { font-size: 12px; }
}

/* The embedding page scrolls; the frame bridge measures the full grid. */
html, body { overflow: hidden; }
