.fc-daygrid-event {
  padding-inline: 5px;
  padding-block: 4px;
  border-radius: 0;
}
#termin-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
#termin-modal.is-open {
  display: flex;
}
#termin-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(3px);
}
.tm-box {
  position: relative;
  z-index: 1;
  background: #fff;
  padding: 36px 32px 32px;
  width: min(560px, 92vw);
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}
.tm-box h2 {
  margin: 0 0 12px;
  font-size: var(--text-l);
  color: #1a1a2e;
  padding-right: 28px;
}
.tm-date {
  font-size: var(--text-s);
  color: #555;
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.tm-icon {
  font-style: normal;
}
.tm-desc {
  font-size: var(--text-m);
  line-height: 1.65;
  color: #333;
}
.tm-desc p {
  margin: 0 0 0.75em;
}
.tm-desc p:last-child {
  margin: 0;
}
.tm-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: #888;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}
.tm-close:hover {
  background: #f0f0f0;
  color: #222;
}
@media (prefers-reduced-motion: reduce) {
  #termin-modal {
    transition: none;
  }
}
