/* Rounded (pill) buttons — softer than the default near-square corners. */
.md-typeset .md-button {
  border-radius: 2rem;
  padding-left: 1.4em;
  padding-right: 1.4em;
}

/* Horizontal scrolling screenshot strip (store-style). */
.hrc-shots {
  display: flex;
  gap: .6rem;
  overflow-x: auto;
  padding-bottom: .8rem;
  scroll-snap-type: x proximity;
}
.hrc-shots img {
  height: 200px;
  width: auto;
  flex: 0 0 auto;
  border-radius: .4rem;
  border: 1px solid var(--md-default-fg-color--lightest);
  scroll-snap-align: start;
  cursor: zoom-in;
}

/* Store badge row. */
.hrc-stores {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  align-items: center;
  margin: .6rem 0;
}
.hrc-stores a {
  display: inline-flex;
}
/* Each official badge has different built-in padding — tune per badge so the
   visible buttons line up at the same height. Base (App Store, Microsoft, Snap) = 48px;
   Google Play carries more padding, so it's scaled up. */
.hrc-stores img {
  height: 48px;
  width: auto;
}
.hrc-stores img[alt="Google Play"] {
  height: 70px;
}
.hrc-stores img[alt="Snap Store"] {
  height: 47px;
}
/* A little extra breathing room between the App Store and Microsoft badges. */
.hrc-stores img[alt="Microsoft Store"] {
  margin-left: .6rem;
}

/* Contact form. */
.hrc-form {
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: .9rem;
}
.hrc-form-row {
  display: flex;
  gap: .9rem;
  flex-wrap: wrap;
}
.hrc-form-row > label {
  flex: 1 1 200px;
}
.hrc-form label {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  font-weight: 600;
}
.hrc-form input,
.hrc-form textarea {
  font: inherit;
  padding: .55rem .7rem;
  border-radius: .4rem;
  border: 1px solid var(--md-default-fg-color--lighter);
  background: var(--md-default-bg-color);
  color: var(--md-default-fg-color);
}
.hrc-form .hrc-form-check {
  flex-direction: row;
  align-items: center;
  gap: .5rem;
  font-weight: 400;
}
.hrc-form-hp {
  position: absolute;
  left: -9999px;
}
.hrc-form button {
  align-self: flex-start;
}

/* Lightbox for screenshots. */
.hrc-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, .85);
  align-items: center;
  justify-content: center;
}
.hrc-lightbox.is-open {
  display: flex;
}
.hrc-lightbox .hrc-lb-img {
  max-width: 92vw;
  max-height: 88vh;
  border-radius: .4rem;
  box-shadow: 0 8px 40px rgba(0, 0, 0, .5);
}
.hrc-lightbox button {
  position: absolute;
  background: rgba(0, 0, 0, .45);
  color: #fff;
  border: none;
  cursor: pointer;
  line-height: 1;
  padding: .2em .45em;
  border-radius: .35rem;
}
.hrc-lb-close {
  top: 1rem;
  right: 1rem;
  font-size: 2.2rem;
}
.hrc-lb-prev,
.hrc-lb-next {
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.6rem;
}
.hrc-lb-prev { left: 1rem; }
.hrc-lb-next { right: 1rem; }
/* Single-image view (anywhere except the Welcome gallery): no arrows. */
.hrc-lightbox.single .hrc-lb-prev,
.hrc-lightbox.single .hrc-lb-next {
  display: none;
}

/* All content images are clickable to zoom — except the store badges. */
.md-typeset img {
  cursor: zoom-in;
}
.hrc-stores img {
  cursor: default;
}
