/* v12-cal-sync.css — Calendar Sync styles (v12).
   Matches the bright site theme (site.css variables with fallbacks).
   Touch-first: 44px minimum targets, full-width buttons on phones. */

.cal-btn {
  min-height: 44px;
  white-space: normal;
  text-align: left;
  line-height: 1.3;
}
.cal-btn.cal-added {
  border-color: var(--play-teal, #2ec4b6);
  color: var(--play-teal, #2ec4b6);
  background: #fff;
}
.cal-btn:focus-visible,
.cal-allbtn:focus-visible,
.cal-sub:focus-visible,
.cal-online:focus-visible {
  outline: 3px solid var(--play-gold, #ffb703);
  outline-offset: 2px;
}
.cal-row {
  align-items: center;
}
.cal-row .cal-online {
  align-self: center;
  padding: 10px 4px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.cal-allbar {
  margin: 0 0 12px;
  padding: 14px;
  border: 2px solid var(--play-sky, #00a8e8);
  border-radius: 16px;
  background: #fff;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.cal-allbar .cal-allbtn {
  min-height: 44px;
}
.cal-allbar .cal-note {
  flex-basis: 100%;
  margin: 0;
}
.cal-premieres .cal-premiere-row {
  padding: 10px 0;
  border-top: 1px solid var(--line, #e8e0ff);
}
.cal-premieres .cal-premiere-row:first-of-type {
  border-top: 0;
}
.cal-premieres .cal-premiere-row > span {
  display: block;
  font-size: 14px;
  line-height: 1.45;
}
@media (max-width: 640px) {
  .cal-allbar {
    padding: 12px;
  }
  .cal-allbar .cal-allbtn,
  .cal-allbar .cal-sub {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .cal-row .btn,
  .cal-row .cal-btn {
    flex: 1 1 auto;
  }
}
