.tkc-loading,
.tkc-error,
.tkc-empty {
  padding: 1rem;
  border-radius: 0.75rem;
  background: #f4f4f6;
  color: #1f2937;
  font-size: 0.95rem;
}

.tkc-error {
  background: #fff1f2;
  color: #9f1239;
}

.tkc-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin: 0.42rem 0 0;
}

.tkc-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.16rem 0.52rem;
  border-radius: 999px;
  background: #e2e8f0;
  color: #334155;
  font-size: 0.7rem;
  line-height: 1.2;
  font-weight: 700;
}

.tkc-badge--price {
  background: #111827;
  color: #ffffff;
}

.tkc-badge--tinker_level {
  background: #dbeafe;
  color: #1d4ed8;
}

.tkc-badge--visibility {
  background: #fef3c7;
  color: #92400e;
}

.tkc-badge--age {
  background: #ecfeff;
  color: #155e75;
}

.tkc-card {
  display: grid;
  grid-template-columns: 1fr;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.tkc-card--featured {
  min-height: 100%;
}

.tkc-card__image img {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.tkc-card__body {
  padding: 1rem;
}

.tkc-card__datetime,
.tkc-list-item__when {
  font-size: 0.85rem;
  color: #6b7280;
  margin-bottom: 0.35rem;
}

.tkc-card__title,
.tkc-list-item__title {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.3;
  color: #111827;
}

.tkc-card__session,
.tkc-list-item__session,
.tkc-event-modal__session,
.tkc-day-list__session {
  margin-top: 0.2rem;
  color: #4b5563;
  font-size: 0.82rem;
}

.tkc-card__location,
.tkc-list-item__location,
.tkc-event-modal__location {
  font-size: 0.9rem;
  color: #4b5563;
  margin-top: 0.35rem;
}

.tkc-card__excerpt,
.tkc-list-item__excerpt,
.tkc-event-modal__excerpt,
.tkc-card__teaser,
.tkc-list-item__teaser,
.tkc-modal__teaser {
  margin: 0.55rem 0 0;
  color: #374151;
  font-size: 0.95rem;
  line-height: 1.45;
}

.tkc-card__link,
.tkc-btn,
.tkc-inline-button,
.tkc-inline-link,
.tkc-btn--small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 0.9rem;
  border-radius: 0.75rem;
  background: #111827;
  color: #ffffff;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font-weight: 600;
}

.tkc-inline-link,
.tkc-btn--small {
  padding: 0.45rem 0.7rem;
  font-size: 0.85rem;
}

.tkc-card__link.is-muted,
.tkc-btn.is-muted,
.tkc-btn--small.is-muted {
  background: #e5e7eb;
  color: #374151;
  cursor: default;
}

.tkc-upcoming__list {
  display: grid;
  gap: 1rem;
}

.tkc-featured__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.tkc-list-item {
  display: grid;
  grid-template-columns: minmax(130px, 180px) 1fr;
  gap: 0.9rem;
  padding: 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  background: #fff;
  cursor: pointer;
}

.tkc-list-item__main {
  min-width: 0;
}

.tkc-modal-root {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  background: rgba(17, 24, 39, 0.55);
  padding: 2rem;
  overflow: auto;
}

.tkc-modal-root.is-open {
  display: block;
}

body.tkc-modal-open {
  overflow: hidden;
}

.tkc-modal {
  position: relative;
  max-width: 760px;
  margin: 2rem auto;
  background: #ffffff;
  border-radius: 1rem;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.tkc-modal--large {
  max-width: 900px;
}

.tkc-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  cursor: pointer;
  z-index: 2;
}

.tkc-modal__header,
.tkc-modal__body {
  padding: 1.2rem 1.2rem 1rem;
}

.tkc-modal__header {
  border-bottom: 1px solid #e5e7eb;
}

.tkc-modal__eyebrow {
  color: #6b7280;
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
}

.tkc-modal__title {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.25;
  color: #111827;
}

.tkc-modal__time {
  margin-top: 0.35rem;
  color: #374151;
  font-size: 0.95rem;
}

.tkc-modal__image img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  border-radius: 0.85rem;
  display: block;
}

.tkc-modal__section {
  margin-top: 1rem;
}

.tkc-modal__section h4 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  color: #111827;
}

.tkc-modal__actions {
  margin-top: 1rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: nowrap;
  align-items: center;
}

.tkc-day-list {
  display: grid;
  gap: 0.75rem;
}

.tkc-day-list__item {
  display: grid;
  grid-template-columns: minmax(130px, 180px) 1fr;
  gap: 0.85rem;
  width: 100%;
  text-align: left;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.9rem;
  padding: 0.9rem;
  cursor: pointer;
}

.tkc-day-list__time {
  color: #111827;
  font-weight: 700;
  font-size: 0.9rem;
}

.tkc-day-list__title {
  font-weight: 700;
  color: #111827;
}

@media (max-width: 800px) {
  .tkc-list-item,
  .tkc-day-list__item {
    grid-template-columns: 1fr;
  }

  .tkc-modal-root {
    padding: 1rem;
  }

  .tkc-modal__actions {
    flex-wrap: wrap;
  }
}

@media (max-width: 700px) {
  .tkc-featured__grid {
    grid-template-columns: 1fr;
  }

  .tkc-card__image img {
    height: 160px;
  }
}


.tkc-registration__meta{display:flex;flex-wrap:wrap;gap:.5rem;margin:.5rem 0 1rem;}
.tkc-registration__pill{display:inline-flex;align-items:center;padding:.25rem .6rem;border-radius:999px;background:#f3f4f6;color:#374151;font-size:.8rem;}
.tkc-registration__message{margin:.5rem 0 1rem;color:#374151;}
.tkc-registration__embedded{margin:1rem 0;}
.tkc-btn--secondary{background:#fff;color:#111827;border:1px solid #d1d5db;}
.tkc-btn--secondary:hover,.tkc-btn--secondary:focus{background:#f9fafb;color:#111827;}

.tkc-event-registration{margin:1rem 0;padding:1rem;border:1px solid #e5e7eb;border-radius:1rem;background:#fff;}
.tkc-event-registration__meta{display:flex;flex-wrap:wrap;gap:.5rem;margin:.5rem 0 1rem;}
.tkc-event-registration__pill{display:inline-flex;align-items:center;padding:.25rem .6rem;border-radius:999px;background:#f3f4f6;color:#374151;font-size:.8rem;}
.tkc-event-registration__message{margin:.5rem 0 1rem;color:#374151;}
.tkc-event-registration__embedded{margin:1rem 0;}
.tkc-event-registration__actions{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:1rem;}

.tkc-event-detail-block{display:grid;gap:1rem;}
.tkc-event-summary{display:grid;gap:.75rem;padding:1rem;border:1px solid #e5e7eb;border-radius:1rem;background:#fff;}
.tkc-event-summary__datetime{font-size:.95rem;font-weight:700;color:#111827;}
.tkc-event-summary__session{font-size:.9rem;color:#4b5563;}
.tkc-event-summary__pills{display:flex;flex-wrap:wrap;gap:.5rem;}
.tkc-detail-pill{display:inline-flex;align-items:center;padding:.3rem .7rem;border-radius:999px;background:#eef2ff;color:#312e81;font-size:.8rem;line-height:1.2;font-weight:600;}
.tkc-detail-pill--price{background:#ede9fe;color:#5b21b6;}
.tkc-detail-pill--tinker_level{background:#e0f2fe;color:#075985;}
.tkc-detail-pill--age{background:#ecfccb;color:#3f6212;}
.tkc-detail-pill--visibility{background:#fef3c7;color:#92400e;}
.tkc-event-summary__location{font-size:.95rem;color:#374151;}
.tkc-event-details{display:grid;gap:1rem;}
.tkc-event-details__row{padding:1rem;border:1px solid #e5e7eb;border-radius:1rem;background:#fff;}
.tkc-event-details__label{font-size:.85rem;font-weight:700;color:#6b7280;margin-bottom:.35rem;text-transform:uppercase;letter-spacing:.02em;}
.tkc-event-details__value p:last-child{margin-bottom:0;}
