/* Theme. To restyle, set any --fx-* variable on :root (every feature on the site)
   or on .fx-open (this feature only). The values here are the defaults. */
.fx-open {
  --_text: var(--fx-text, inherit);
  --_line: var(--fx-line, rgba(255,255,255,.15));
  --_open: var(--fx-open, #3ddc84);
  --_closed: var(--fx-closed, #ff8a7a);
  --_today: var(--fx-today, #d4af37);
  --_demo: var(--fx-demo, #9ad1ff);
  --_font-display: var(--fx-font-display, inherit);
  --_font-body: var(--fx-font-body, inherit);
  --_space: var(--fx-space, 16px);
  --_space-sm: calc(var(--_space) * .5);
  --_space-lg: calc(var(--_space) * 1.5);
  --_radius: var(--fx-radius, 6px);
  --_radius-sm: calc(var(--_radius) * .6);
  font-family: var(--_font-body);
}
/* Open Now */
.fx-open { color: var(--_text); }
.fx-open-line { display: flex; flex-wrap: wrap; align-items: center; gap: var(--_space-sm); margin: var(--_space-sm) 0 0; font-size: .88rem; }
.fx-open-status { font-weight: 700; }
.fx-open-status::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--_closed);
}
.fx-open-status.is-open::before { background: var(--_open); }
.fx-open-table { width: 100%; margin-top: 6px; border-collapse: collapse; }
.fx-open-caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.fx-open-table th, .fx-open-table td { padding: 9px 0; border-bottom: 1px solid var(--_line); font-weight: 400; text-align: left; vertical-align: top; }
.fx-open-table td { text-align: right; white-space: nowrap; }
.fx-open-table .is-today th, .fx-open-table .is-today td { color: var(--_today); font-weight: 700; }
.fx-open .fx-ph {
  padding: .1em .35em;
  background: #ff2d95;
  color: #000;
  border-radius: var(--_radius-sm);
  font-size: .82rem;
  font-weight: 600;
  text-transform: none;
  text-shadow: none;
}
.fx-open .fx-demo {
  display: inline-block;
  margin: 0 0 12px;
  padding: 4px 10px;
  border: 1px dashed var(--_demo);
  border-radius: var(--_radius-sm);
  color: var(--_demo);
  font-family: var(--_font-body);
  font-size: .82rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: none;
}
.fx-open .fx-demo { margin-top: 10px; }
