/* App pages (/growatree, /clucked): built on /style.css so they share the
   portfolio's hero band, numbered sidebar, type and footer. Only the
   app-specific pieces live here. */

/* ---------- Introduction: icon, name, availability, download ---------- */
.intro-app { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; margin: 0 0 22px; }
.intro-app > div { flex: 1 1 160px; min-width: 0; }
@media (max-width: 560px) { .intro-app { column-gap: 18px; } .intro-app .badge { flex-basis: 100%; } }
.intro-app__icon { width: 88px; height: 88px; display: block; flex: none; }
.content .intro-app p { margin: 0; }
.content .intro-app__name { font-weight: 600; }
.badge { display: inline-block; line-height: 0; }
.badge img { height: 44px; width: auto; display: block; }

/* ---------- Sidebar: way back to the portfolio ---------- */
.backlink { display: inline-block; margin-top: 28px; font-size: 16px; text-decoration: none; }
.backlink:hover { text-decoration: none; opacity: 0.7; }

/* ---------- Screenshots: a horizontal strip inside the reading column ---------- */
.shots {
  display: grid; grid-auto-flow: column; grid-auto-columns: 220px; gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  margin: 8px 0 14px; scrollbar-width: none; -ms-overflow-style: none;
}
.shots img {
  width: 100%; height: auto; aspect-ratio: 9 / 19.5; object-fit: cover; display: block;
  border-radius: 18px; box-shadow: 0 0 0 1px var(--line); scroll-snap-align: start; background: var(--band);
}
.shots::-webkit-scrollbar { display: none; }
.shots__nav { display: flex; justify-content: flex-end; gap: 10px; }
.shots__nav button {
  display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%;
  background: var(--arrow-bg, #e8e8ed); color: var(--fg); cursor: pointer; transition: background 0.2s ease;
}
.shots__nav button:hover { background: var(--arrow-hover, #d2d2d7); }
:root[data-theme="dark"] { --arrow-bg: #2c2c2e; --arrow-hover: #3a3a3c; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --arrow-bg: #2c2c2e; --arrow-hover: #3a3a3c; } }
.single-shot { max-width: 260px; margin: 8px 0 14px; }
.single-shot img { width: 100%; height: auto; display: block; border-radius: 18px; box-shadow: 0 0 0 1px var(--line); }

/* ---------- App details: label / value rows like the skills list ---------- */
.details { list-style: none; padding-left: 0 !important; }
.content .details li { display: grid; grid-template-columns: 200px minmax(0, 1fr); column-gap: 24px; margin-bottom: 10px; }
.details li b { font-weight: 600; }
@media (max-width: 560px) {
  .content .details li { grid-template-columns: minmax(0, 1fr); row-gap: 2px; }
  .shots { grid-auto-columns: 62vw; }
}

/* ---------- Features: short paragraphs with a bold lead-in ---------- */
.content p.feature { margin: 0 0 14px; }
.content p.feature b { font-weight: 600; }
