/* Extra blocks for app pages that reuse gym-workout-timer/style.css */

/* ─── Screenshot gallery ─── */
.gallery {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.4rem;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.gallery img {
  flex-shrink: 0;
  height: 260px;
  width: auto;
  scroll-snap-align: start;
  display: block;
}

.gallery--single {
  justify-content: center;
}

.gallery--single img {
  height: 340px;
}

/* ─── Phase chips (Simply Interval Timer) ─── */
.chips .chip-prepare { color: #5aa9ff; border-color: #1f3550; }
.chips .chip-work    { color: #ff5a5a; border-color: #502020; }
.chips .chip-rest    { color: #3ee05a; border-color: #1f4a26; }

/* ─── Tables (controls, difficulty) ─── */
.table-wrap {
  overflow-x: auto;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.info-table th,
.info-table td {
  text-align: left;
  padding: 0.6rem 0.7rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  line-height: 1.5;
}

.info-table th {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.info-table td {
  color: var(--text);
}

.info-table td:first-child {
  font-weight: 600;
}

.info-table tr:last-child td {
  border-bottom: none;
}

@media (max-width: 500px) {
  .gallery img {
    height: 200px;
  }

  .gallery--single img {
    height: 280px;
  }
}
