/*
 * DC calendar random slots and Overview's latest-recorded challenge bubble.
 * Reuse the site's Liquid Glass item capsule without introducing any floating
 * or translational motion. The original calendar day remains the click target.
 */
body[data-theme="glass"] #content
.v5-overview-latest .v5-latest-head .v50-bubble-link > .v3-icon-capsule.v3-headingcap{
  display:grid!important;
  place-items:center!important;
  flex:0 0 66px!important;
  width:66px!important;
  height:66px!important;
  min-width:66px!important;
  min-height:66px!important;
  max-width:66px!important;
  max-height:66px!important;
  border-radius:17px!important;
  animation:none!important;
  transform:none!important;
}
body[data-theme="glass"] #content
.v5-overview-latest .v5-latest-head .v50-bubble-link > .v3-icon-capsule.v3-headingcap > img{
  display:block!important;
  width:54px!important;
  height:54px!important;
  max-width:54px!important;
  max-height:54px!important;
  object-fit:contain!important;
  image-rendering:pixelated;
  animation:none!important;
  transform:none!important;
}
body[data-theme="glass"] #content
.v5-overview-latest .v5-latest-head .v50-bubble-link{
  flex:0 0 auto!important;
  min-width:66px;
  min-height:66px;
}
/* Actual 20×32 question-mark sprite inside an item bubble; preserve aspect.
   Unlike challenge capsules elsewhere, calendar random slots never float.
   The child bubble itself is visually stationary during day-cell hover. */
body[data-theme="glass"] #content
.calendar-panel .calendar-week .day-cell .day-art > .calendar-random-bubble.v3-icon-capsule,
body[data-theme="glass"] #content
.calendar-panel .selected-challenge > .calendar-random-bubble.v3-icon-capsule{
  display:grid!important;
  place-items:center!important;
  position:relative!important;
  box-sizing:border-box!important;
  flex:0 0 50px!important;
  width:50px!important;
  height:50px!important;
  min-width:50px!important;
  min-height:50px!important;
  max-width:50px!important;
  max-height:50px!important;
  border-radius:13px!important;
  overflow:hidden!important;
  border:1px solid rgba(186,223,252,.52)!important;
  background:linear-gradient(145deg,rgba(123,175,235,.27),rgba(24,59,108,.57))!important;
  box-shadow:inset 0 1px rgba(245,251,255,.24),
             inset 0 -1px rgba(2,19,53,.45),
             0 5px 13px rgba(2,15,37,.21)!important;
  animation:none!important;
  transform:none!important;
  scale:none!important;
  top:auto!important;
  transition:border-color .18s ease,box-shadow .18s ease,background .18s ease!important;
  will-change:auto!important;
  pointer-events:auto;
}
body[data-theme="glass"] #content
.calendar-panel .calendar-week .day-cell .day-art > .calendar-random-bubble.v3-icon-capsule > img,
body[data-theme="glass"] #content
.calendar-panel .selected-challenge > .calendar-random-bubble.v3-icon-capsule > img{
  display:block!important;
  width:25px!important;
  height:40px!important;
  min-width:0!important;
  min-height:0!important;
  max-width:25px!important;
  max-height:40px!important;
  margin:0 auto!important;
  object-fit:contain!important;
  image-rendering:pixelated;
  filter:drop-shadow(0 2px 3px rgba(1,10,33,.45));
  animation:none!important;
  transform:none!important;
  scale:none!important;
  transition:none!important;
}
body[data-theme="glass"] #content
.calendar-panel .calendar-week .day-cell .day-art > .calendar-random-bubble.v3-icon-capsule:hover,
body[data-theme="glass"] #content
.calendar-panel .calendar-week .day-cell:focus-visible .day-art > .calendar-random-bubble.v3-icon-capsule{
  border-color:rgba(231,246,255,.88)!important;
  box-shadow:inset 0 2px rgba(255,255,255,.35),
             0 0 0 1px rgba(138,206,255,.24),
             0 7px 17px rgba(5,25,64,.30)!important;
}
body[data-theme="glass"] #content
.calendar-panel .selected-challenge > .calendar-random-bubble.v3-icon-capsule{
  flex-basis:58px!important;
  width:58px!important;
  height:58px!important;
  min-width:58px!important;
  min-height:58px!important;
  max-width:58px!important;
  max-height:58px!important;
  border-radius:15px!important;
}
body[data-theme="glass"] #content
.calendar-panel .selected-challenge > .calendar-random-bubble.v3-icon-capsule > img{
  width:29px!important;
  height:46px!important;
  max-width:29px!important;
  max-height:46px!important;
}
@media(max-width:1150px){
  body[data-theme="glass"] #content
  .calendar-panel .calendar-week .day-cell .day-art > .calendar-random-bubble.v3-icon-capsule{
    flex-basis:40px!important;
    width:40px!important;height:40px!important;
    min-width:40px!important;min-height:40px!important;
    max-width:40px!important;max-height:40px!important;
    border-radius:11px!important;
  }
  body[data-theme="glass"] #content
  .calendar-panel .calendar-week .day-cell .day-art > .calendar-random-bubble.v3-icon-capsule > img{
    width:20px!important;height:32px!important;
    max-width:20px!important;max-height:32px!important;
  }
}
@media(max-width:650px){
  body[data-theme="glass"] #content
  .v5-overview-latest .v5-latest-head .v50-bubble-link > .v3-icon-capsule.v3-headingcap{
    flex-basis:54px!important;
    width:54px!important;height:54px!important;
    min-width:54px!important;min-height:54px!important;
    max-width:54px!important;max-height:54px!important;
    border-radius:14px!important;
  }
  body[data-theme="glass"] #content
  .v5-overview-latest .v5-latest-head .v50-bubble-link > .v3-icon-capsule.v3-headingcap > img{
    width:44px!important;height:44px!important;
    max-width:44px!important;max-height:44px!important;
  }
  body[data-theme="glass"] #content .v5-overview-latest .v5-latest-head .v50-bubble-link{
    min-width:54px;min-height:54px;
  }
  body[data-theme="glass"] #content
  .calendar-panel .calendar-week .day-cell .day-art > .calendar-random-bubble.v3-icon-capsule{
    flex-basis:31px!important;
    width:31px!important;height:31px!important;
    min-width:31px!important;min-height:31px!important;
    max-width:31px!important;max-height:31px!important;
    border-radius:9px!important;
  }
  body[data-theme="glass"] #content
  .calendar-panel .calendar-week .day-cell .day-art > .calendar-random-bubble.v3-icon-capsule > img{
    width:16px!important;height:26px!important;
    max-width:16px!important;max-height:26px!important;
  }
}
@media(prefers-reduced-motion:reduce){
  body[data-theme="glass"] #content .calendar-panel .calendar-random-bubble.v3-icon-capsule{
    transition:none!important;
  }
}
