
.calendar-grid{
 display:grid;
 grid-template-columns:repeat(auto-fit,minmax(140px,1fr));
 gap:14px;
 margin-top:20px;
}
.calendar-card{
 display:block;
 text-align:center;
 color:inherit;
 text-decoration:none;
}
.calendar-card img{
 display:block;
 width:100%;
 height:auto;
 border-radius:5px;
}
.calendar-cover{
 width:100%;
 max-height:190px;
 object-fit:contain;
}
#calendar-entry[hidden]{display:none!important}
#calendar-view{
 background:#080a08;
 color:white;
 border:1px solid #78cf37;
 max-width:94vw;
 max-height:94dvh;
}
#calendar-view::backdrop{background:rgba(0,0,0,.92)}
#calendar-view img{
 display:block;
 max-width:86vw;
 max-height:72dvh;
 width:auto;
 height:auto;
 margin:8px auto;
 object-fit:contain;
}
.calendar-controls{
 display:flex;
 justify-content:space-between;
 align-items:center;
}
#calendar-view button{
 padding:10px 18px;
 cursor:pointer;
 background:#162410;
 color:white;
 border:1px solid #78cf37;
}
