/* 2026-11-12: Calendar/results equal-height cleanup and compact catalog cards.
   Keep both overview column widths and the calendar's day-cell sizes unchanged. */
body[data-theme="glass"] #content .v5-overview-grid{
  align-items:stretch;
}
body[data-theme="glass"] #content .v5-overview-grid .v5-overview-calendar,
body[data-theme="glass"] #content .v5-overview-grid .v5-overview-latest{
  min-width:0;
}
body[data-theme="glass"] #content .v5-overview-grid .calendar-panel{
  height:100%;
  min-height:0;
  margin:0;
}
body[data-theme="glass"] #content .v5-overview-grid .v5-results{
  min-height:0!important;
  height:100%;
  margin:0;
  display:flex;
  flex-direction:column;
}
/* The scoreboard's inherited large row and footer spacing was making the
   entire two-column grid taller than the calendar's actual content. */
body[data-theme="glass"] #content .v5-overview-grid .v5-results .v5-latest-head{
  margin-bottom:3px;
}
body[data-theme="glass"] #content .v5-overview-grid .v5-results .v161-double-scores{
  gap:8px;
}
body[data-theme="glass"] #content .v5-overview-grid .v5-results .v161-double-scores h3{
  margin:5px 0 5px;
}
body[data-theme="glass"] #content .v5-overview-grid .v5-results .scoreboard{
  padding:6px 8px 7px;
}
body[data-theme="glass"] #content .v5-overview-grid .v5-results .score-row{
  min-height:32px!important;
  padding:4px 7px!important;
  margin-bottom:3px!important;
}
body[data-theme="glass"] #content .v5-overview-grid .v5-results .v5-results-bottom{
  padding:10px 12px;
  margin-top:auto;
}

/* Catalog: same icon dimensions, text to its right, no dead space below. */
body[data-theme="glass"] #content .v5-challenge-section .v5-challenge-card{
  min-height:0!important;
  padding:12px 14px 10px!important;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  align-items:stretch;
  gap:9px;
}
body[data-theme="glass"] #content .v5-challenge-card .dc-compact-card-top{
  width:100%;
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}
body[data-theme="glass"] #content .v5-challenge-card .dc-compact-card-top .v3-headingcap{
  flex:0 0 59px;
  width:59px!important;
  min-width:59px;
  height:59px!important;
  margin:0!important;
}
body[data-theme="glass"] #content .v5-challenge-card .dc-compact-card-top .v3-headingcap img{
  width:46px!important;
  height:46px!important;
  object-fit:contain;
}
body[data-theme="glass"] #content .v5-challenge-card .dc-compact-card-copy{
  display:flex;
  flex:1 1 auto;
  flex-direction:column;
  justify-content:center;
  min-width:0;
  gap:3px;
  text-align:left;
}
body[data-theme="glass"] #content .v5-challenge-card .dc-compact-card-copy strong{
  margin:0!important;
  line-height:1.25;
  font-size:14px;
  font-weight:800;
}
body[data-theme="glass"] #content .v5-challenge-card .dc-compact-card-description{
  display:block;
  margin:0;
  min-height:0!important;
  color:#acc2d8;
  font-size:11px;
  font-weight:500;
  line-height:1.4;
  overflow-wrap:break-word;
}
body[data-theme="glass"] #content .v5-challenge-card .card-count{
  width:100%;
  margin:0!important;
  padding-top:8px;
  border-top:1px solid rgba(166,207,253,.18);
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  font-size:10px;
  text-align:left;
}
/* Keep the two overview panels responsive when they stack on narrower screens. */
@media(max-width:1120px){
  body[data-theme="glass"] #content .v5-overview-grid .calendar-panel,
  body[data-theme="glass"] #content .v5-overview-grid .v5-results{
    height:auto;
  }
}
@media(max-width:520px){
  body[data-theme="glass"] #content .v5-challenge-card .dc-compact-card-top{
    gap:9px;
  }
}
