/* Daily Challenges / Records: compact three-column cards matching the Challenges page.
   Presentation only. Existing year, audience, threshold, category, and admin actions remain. */
body[data-theme="glass"] #content .v5-record-table .v5-category-tabs{
  padding:13px 16px 13px!important;
  gap:7px;
}
body[data-theme="glass"] #content .v196-record-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  padding:0 15px 17px;
  min-width:0;
  align-items:stretch;
}
body[data-theme="glass"] #content .v196-record-card{
  display:flex;
  flex-direction:column;
  min-width:0;
  padding:11px 13px 8px;
  border:1px solid rgba(166,208,249,.35);
  border-radius:15px;
  background:linear-gradient(140deg,rgba(98,152,210,.17),rgba(12,35,68,.36) 54%,rgba(10,31,62,.52));
  box-shadow:inset 0 1px rgba(255,255,255,.08),0 2px 8px rgba(3,13,31,.13);
  transition:border-color .16s ease,background-color .16s ease,box-shadow .16s ease;
}
body[data-theme="glass"] #content .v196-record-card:hover,
body[data-theme="glass"] #content .v196-record-card:focus-within{
  border-color:rgba(178,227,255,.74);
  box-shadow:inset 0 1px rgba(255,255,255,.13),0 5px 16px rgba(3,14,37,.28);
}
body[data-theme="glass"] #content .v196-record-body{
  display:flex;
  align-items:flex-start;
  gap:12px;
  min-width:0;
  flex:1;
}
body[data-theme="glass"] #content .v196-record-icon{
  display:grid;
  place-items:center;
  flex:0 0 62px;
  width:62px;height:62px;
  padding:4px;
  border:1px solid rgba(175,219,255,.48);
  border-radius:13px;
  background:linear-gradient(150deg,rgba(182,218,251,.31),rgba(67,113,174,.32) 53%,rgba(29,68,123,.32));
  box-shadow:inset 0 1px rgba(255,255,255,.2),0 3px 9px rgba(0,11,31,.13);
  cursor:pointer;
}
body[data-theme="glass"] #content .v196-record-icon img{
  display:block;
  width:51px;height:51px;
  max-width:100%;
  object-fit:contain;
  image-rendering:pixelated;
}
body[data-theme="glass"] #content .v196-record-main{
  flex:1 1 0;
  min-width:0;
  padding-top:1px;
}
body[data-theme="glass"] #content .v196-record-title{
  display:block;
  max-width:100%;
  min-width:0;
  border:0;
  background:transparent;
  padding:0;
  color:#f2f8ff;
  font-size:14px;
  line-height:1.3;
  font-weight:850;
  text-align:left;
  white-space:normal;
  cursor:pointer;
}
body[data-theme="glass"] #content .v196-record-title:hover,
body[data-theme="glass"] #content .v196-record-holders button:hover,
body[data-theme="glass"] #content .v196-record-open:hover{
  color:#aadeff;
  text-decoration:underline;
  text-underline-offset:2px;
}
body[data-theme="glass"] #content .v196-record-stats{
  display:grid;
  grid-template-columns:minmax(0,1.25fr) minmax(56px,.74fr) minmax(80px,.88fr);
  gap:0;
  align-items:start;
  min-width:0;
  margin-top:8px;
}
body[data-theme="glass"] #content .v196-record-stat{
  display:flex;
  flex-direction:column;
  min-width:0;
  padding:0 9px;
  border-right:1px solid rgba(167,207,248,.2);
  gap:3px;
}
body[data-theme="glass"] #content .v196-record-stat:first-child{padding-left:0}
body[data-theme="glass"] #content .v196-record-stat:last-child{
  border-right:0;
  padding-right:0;
}
body[data-theme="glass"] #content .v196-record-stat small{
  display:block;
  font-size:10px;
  line-height:1.1;
  font-weight:650;
  color:#a5c3e2;
  white-space:nowrap;
}
body[data-theme="glass"] #content .v196-record-holders{
  display:block;
  overflow-wrap:anywhere;
  line-height:1.22;
  color:#eaf5ff;
}
body[data-theme="glass"] #content .v196-record-holders button{
  display:inline;
  width:auto;
  border:0;
  background:transparent;
  padding:0;
  text-align:left;
  color:#f2f8ff;
  font-size:12px;
  font-weight:800;
  overflow-wrap:anywhere;
  cursor:pointer;
}
body[data-theme="glass"] #content .v196-record-score strong{
  display:block;
  font-size:13px;
  line-height:1.23;
  font-weight:850;
  color:#f6fbff;
  font-variant-numeric:tabular-nums;
  overflow-wrap:anywhere;
}
body[data-theme="glass"] #content .v196-record-date>span{
  display:block;
  color:#c7ddf3;
  font-size:11px;
  line-height:1.25;
  font-weight:600;
  font-variant-numeric:tabular-nums;
  white-space:nowrap;
}
body[data-theme="glass"] #content .v196-record-missing{color:#90aabd}
body[data-theme="glass"] #content .v196-record-footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  margin-top:9px;
  min-height:23px;
  padding-top:6px;
  border-top:1px solid rgba(172,209,246,.18);
}
body[data-theme="glass"] #content .v196-record-open{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:0 3px;
  background:none;
  border:0;
  font:750 10px/1.3 Inter,system-ui,sans-serif;
  color:#c5e0fb;
  text-align:left;
  cursor:pointer;
}
body[data-theme="glass"] #content .v196-record-edit{
  margin-left:auto;
  display:grid;
  place-items:center;
  min-width:25px;
  width:25px;
  height:25px;
  padding:0;
  border:1px solid rgba(234,203,119,.5);
  border-radius:7px;
  background:rgba(241,200,112,.11);
  color:#ffe5a3;
  font-size:13px;
  cursor:pointer;
}
body[data-theme="glass"] #content .v196-record-edit:hover{
  background:rgba(241,200,112,.23);
  border-color:#f5db9d;
}
body[data-theme="glass"] #content .v196-record-card :is(button):focus-visible{
  outline:2px solid #a1e4ff;
  outline-offset:3px;
}
@media (max-width:1370px){
  body[data-theme="glass"] #content .v196-record-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media (max-width:840px){
  body[data-theme="glass"] #content .v196-record-grid{
    grid-template-columns:minmax(0,1fr);
    gap:9px;
    padding:0 10px 12px;
  }
}
@media (max-width:480px){
  body[data-theme="glass"] #content .v196-record-card{padding:10px}
  body[data-theme="glass"] #content .v196-record-body{
    display:grid;
    grid-template-columns:52px minmax(0,1fr);
    align-items:center;
    gap:7px 10px;
  }
  body[data-theme="glass"] #content .v196-record-icon{
    grid-column:1;grid-row:1;
    width:52px;height:52px;
  }
  body[data-theme="glass"] #content .v196-record-icon img{width:43px;height:43px}
  body[data-theme="glass"] #content .v196-record-main{display:contents}
  body[data-theme="glass"] #content .v196-record-title{grid-column:2;grid-row:1}
  body[data-theme="glass"] #content .v196-record-stats{
    grid-column:1/-1;grid-row:2;
    margin-top:1px;
    grid-template-columns:minmax(0,1.35fr) minmax(63px,.7fr) minmax(80px,.9fr);
  }
}
@media (prefers-reduced-motion:reduce){
  body[data-theme="glass"] #content .v196-record-card{transition:none}
}

/* 2026-11-09: surface the actual record holders, not dates, as the stars. */
body[data-theme="glass"] #content .v196-record-card[hidden]{
  display:none!important;
}
body[data-theme="glass"] #content .v196-record-stats{
  grid-template-columns:minmax(0,1.44fr) minmax(56px,.7fr) minmax(80px,.84fr);
}
body[data-theme="glass"] #content .v196-record-player small{
  color:#f3d08d!important;
  font-size:9px!important;
  font-weight:900!important;
  letter-spacing:.45px;
}
body[data-theme="glass"] #content .v196-record-player .v196-record-holders{
  font-weight:900;
  line-height:1.3;
}
body[data-theme="glass"] #content .v196-record-player .v196-record-holders button{
  color:#ffe0a1!important;
  font-size:15px!important;
  font-weight:900!important;
  line-height:1.22!important;
  text-shadow:0 1px 8px rgba(238,181,83,.15);
}
body[data-theme="glass"] #content .v196-record-player .v196-record-holders button:hover{
  color:#fff3d7!important;
  text-decoration:underline;
  text-underline-offset:3px;
}
body[data-theme="glass"] #content .v196-record-date .v196-record-date-link{
  display:inline-flex;
  align-items:center;
  gap:4px;
  max-width:100%;
  padding:0;
  border:0;
  background:transparent;
  color:#bed5ef;
  font:600 11px/1.3 Inter,system-ui,sans-serif;
  font-variant-numeric:tabular-nums;
  text-align:left;
  white-space:normal;
  cursor:pointer;
}
body[data-theme="glass"] #content .v196-record-date .v196-record-date-link span{
  color:#a1d7ff;
  font-size:11px;
  line-height:1;
  flex:0 0 auto;
}
body[data-theme="glass"] #content .v196-record-date .v196-record-date-link:hover{
  color:#e9f8ff;
  text-decoration:underline;
  text-underline-offset:2px;
}
@media(max-width:480px){
  body[data-theme="glass"] #content .v196-record-stats{
    grid-template-columns:minmax(0,1.48fr) minmax(63px,.73fr) minmax(80px,.9fr);
  }
}
