.tlcs{
  --tlcs-count:7;
  --tlcs-active-left:50%;
  --tlcs-line-color:#2F2F2F;
  --tlcs-line-width:1px;
  --tlcs-branch-width:62%;
  --tlcs-marker-size:clamp(44px, 10vw, 66px);
  --tlcs-heart-stroke-width:1.35;
  width:100%;
  max-width:520px;
  margin:0 auto;
  color:#2F2F2F;
  text-align:center;
  box-sizing:border-box;
  font-family:inherit;
}
.tlcs *{box-sizing:border-box}
.tlcs-month{
  margin:0 0 26px;
  font-size:24px;
  line-height:1.1;
  letter-spacing:.34em;
  font-weight:500;
}
.tlcs-grid{
  display:grid;
  grid-template-columns:repeat(var(--tlcs-count), minmax(0,1fr));
  align-items:end;
  width:100%;
  gap:4px;
  overflow:visible;
}
.tlcs-item{
  min-width:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  gap:10px;
  overflow:visible;
}
.tlcs-day-label{
  width:100%;
  min-height:16px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:12px;
  line-height:1.2;
  letter-spacing:.12em;
  font-weight:600;
}
.tlcs-date-cell{
  position:relative;
  width:100%;
  min-height:var(--tlcs-marker-size);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:visible;
}
.tlcs-date-num{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:1.2em;
  font-size:27px;
  line-height:1;
  font-family:inherit;
  font-weight:400;
}
.tlcs-date-num-active{font-weight:600}
.tlcs-active{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:var(--tlcs-marker-size);
  height:var(--tlcs-marker-size);
  flex:0 0 var(--tlcs-marker-size);
  max-width:none;
  max-height:none;
  min-width:0;
  min-height:0;
  line-height:1;
  overflow:visible;
}
.tlcs-active-heart svg{
  position:absolute;
  inset:0;
  display:block;
  width:100%;
  height:100%;
  fill:none;
  stroke:currentColor;
  stroke-width:var(--tlcs-heart-stroke-width);
  stroke-linecap:round;
  stroke-linejoin:round;
  overflow:visible;
  transform-origin:center center;
}
.tlcs-active-date{
  position:relative;
  z-index:2;
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  height:100%;
  font-size:clamp(14px, calc(var(--tlcs-marker-size) * .45), 44px);
  line-height:1;
  font-weight:500;
}
.tlcs-active-circle{
  border:var(--tlcs-line-width) solid currentColor;
  border-radius:999px;
}
.tlcs-connector{
  --tlcs-drop-height:22px;
  --tlcs-branch-y:22px;
  position:relative;
  height:52px;
  margin-top:-1px;
  color:var(--tlcs-line-color);
}
.tlcs-drop{
  position:absolute;
  top:0;
  left:var(--tlcs-active-left);
  width:0;
  height:var(--tlcs-drop-height);
  border-left:var(--tlcs-line-width) dotted var(--tlcs-line-color);
  transform:translateX(-50%);
}
.tlcs-branch{
  position:absolute;
  top:var(--tlcs-branch-y);
  left:50%;
  width:var(--tlcs-branch-width);
  border-top:var(--tlcs-line-width) dotted var(--tlcs-line-color);
  transform:translateX(-50%);
}
.tlcs-end{
  position:absolute;
  top:var(--tlcs-branch-y);
  height:18px;
  border-left:var(--tlcs-line-width) dotted var(--tlcs-line-color);
}
.tlcs-end-left{left:calc(50% - (var(--tlcs-branch-width) / 2));}
.tlcs-end-right{left:calc(50% + (var(--tlcs-branch-width) / 2));}
.tlcs-center-line{
  position:absolute;
  top:0;
  left:var(--tlcs-active-left);
  height:100%;
  border-left:var(--tlcs-line-width) dotted var(--tlcs-line-color);
  transform:translateX(-50%);
}
.tlcs-separator{
  --tlcs-separator-gap:18px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:var(--tlcs-separator-gap);
  margin-top:14px;
  color:var(--tlcs-line-color);
}
.tlcs-separator:before,
.tlcs-separator:after{
  content:"";
  display:block;
  width:28%;
  border-top:var(--tlcs-line-width) solid var(--tlcs-line-color);
}
.tlcs-separator span{
  font-size:22px;
  line-height:1;
}
@media (max-width:420px){
  .tlcs-month{font-size:20px;letter-spacing:.26em;margin-bottom:20px}
  .tlcs-day-label{font-size:10px;letter-spacing:.08em}
  .tlcs-date-num{font-size:22px}
}
@media (max-width:340px){
  .tlcs-day-label{font-size:8.5px}
  .tlcs-grid{gap:1px}
}

/* Full month mode */
.tlcs-mode-full{
  --tlcs-count:7;
  --tlcs-marker-size:clamp(30px, 8vw, 46px);
}
.tlcs-full{
  width:100%;
}
.tlcs-full-head,
.tlcs-full-grid{
  display:grid;
  grid-template-columns:repeat(7, minmax(0, 1fr));
  gap:6px;
  width:100%;
}
.tlcs-full-head{
  align-items:center;
  margin-bottom:10px;
}
.tlcs-full-day-label{
  min-height:auto;
  font-size:11px;
}
.tlcs-full-cell{
  position:relative;
  min-width:0;
  min-height:44px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:visible;
}
.tlcs-full-empty{
  opacity:0;
  pointer-events:none;
}
.tlcs-full .tlcs-date-cell{
  min-height:var(--tlcs-marker-size);
}
.tlcs-full .tlcs-date-num{
  font-size:20px;
}
.tlcs-full .tlcs-active-date{
  font-size:clamp(13px, calc(var(--tlcs-marker-size) * .42), 28px);
}
@media (max-width:420px){
  .tlcs-mode-full{--tlcs-marker-size:clamp(26px, 7.8vw, 40px)}
  .tlcs-full-head,
  .tlcs-full-grid{gap:4px}
  .tlcs-full-cell{min-height:38px}
  .tlcs-full-day-label{font-size:9.5px;letter-spacing:.06em}
  .tlcs-full .tlcs-date-num{font-size:17px}
}
@media (max-width:340px){
  .tlcs-mode-full{--tlcs-marker-size:28px}
  .tlcs-full-head,
  .tlcs-full-grid{gap:2px}
  .tlcs-full-cell{min-height:34px}
  .tlcs-full-day-label{font-size:8px}
  .tlcs-full .tlcs-date-num{font-size:15px}
}
