/* Apps listing (/apps/). Uses the theme tokens from showcase.css. */
.al-hero { position: relative; overflow: hidden; padding: clamp(48px, 8vw, 84px) 0 clamp(40px, 6vw, 64px); color: #fff; background: radial-gradient(900px 420px at 85% -10%, rgb(143 126 255 / .2), transparent 60%), linear-gradient(135deg, #1e066f, #3a10ad 62%, #6b4aff); }
.al-hero .wrap { position: relative; z-index: 1; }
.al-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--lime); }
.al-eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }
.al-hero h1 { margin: 0; max-width: 18ch; font-size: clamp(36px, 6vw, 64px); line-height: 1.05; color: #fff; letter-spacing: -.025em; }
.al-hero p { margin: 18px 0 0; max-width: 56ch; font-size: clamp(16px, 1.6vw, 19px); line-height: 1.6; color: rgb(255 255 255 / .82); }
.al-stats { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.al-stats li { padding: 9px 14px; border-radius: 99px; background: rgb(255 255 255 / .1); border: 1px solid rgb(255 255 255 / .18); font-size: 14px; }
.al-stats b { color: var(--lime); font-weight: 600; }

.al-list { padding: clamp(28px, 5vw, 48px) 0 clamp(48px, 7vw, 80px); }
.al-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; margin-bottom: 28px; }
.al-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.al-tabs button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 99px; border: 1px solid var(--border); background: var(--surface); color: var(--ink); font-family: inherit; font-weight: 500; font-size: 15px; line-height: 1; cursor: pointer; }
.al-tabs button small { font: 500 12px/1 var(--mono); color: var(--muted); }
.al-tabs button:hover { border-color: var(--mark); }
.al-tabs button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--canvas); }
.al-tabs button[aria-selected="true"] small { color: inherit; opacity: .7; }
.al-search { flex: 1 1 220px; max-width: 340px; }
.al-search input { width: 100%; min-height: 44px; padding: 0 18px; border-radius: 99px; border: 1px solid var(--border); background: var(--surface); color: var(--ink); font-family: inherit; font-size: 16px; }
.al-search input:focus { outline: none; border-color: var(--mark); box-shadow: 0 0 0 4px color-mix(in srgb, var(--mark) 22%, transparent); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.al-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 22px; }
.al-card { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: 22px; background: var(--surface); overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s; }
.al-card[hidden] { display: none; }
.al-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--mark); }
.al-link { display: flex; flex-direction: column; color: inherit; text-decoration: none; flex: 1; }
.al-art { position: relative; display: flex; justify-content: center; height: 220px; overflow: hidden; background: linear-gradient(160deg, var(--brand-100, #ece8ff), var(--brand-200, #d9d2ff)); }
.al-art.al-ph { padding-top: 24px; }
.al-art.al-ph img { width: auto; height: 100%; max-width: 52%; border: 4px solid #0c0a1a; border-bottom: 0; border-radius: 18px 18px 0 0; object-fit: cover; object-position: top; }
.al-art.al-wd { padding: 24px 22px 0; }
.al-art.al-wd img { width: 100%; height: 100%; object-fit: cover; object-position: left top; border-radius: 10px 10px 0 0; box-shadow: 0 8px 24px rgb(20 10 70 / .25); }
.al-art.al-bl { align-items: center; }
.al-art.al-bl b { font-size: 64px; color: var(--mark); }
.al-body { display: grid; gap: 6px; padding: 18px 20px 8px; }
.al-body small { font: 500 12px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mark); }
.al-body b { font-size: 20px; line-height: 1.25; letter-spacing: -.015em; }
.al-body em { font-style: normal; color: var(--muted); font-size: 15px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.al-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 14px; padding: 12px 20px 18px; }
.al-foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.al-foot li { padding: 5px 10px; border-radius: 99px; background: var(--chip); color: var(--muted); font: 500 12px/1.2 var(--mono); }
.al-go { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 500; font-size: 14.5px; color: var(--mark); text-decoration: none; }
.al-go svg { width: 16px; height: 16px; }
.al-go:hover { text-decoration: underline; text-underline-offset: 3px; }
.al-empty { text-align: center; color: var(--muted); padding: 30px 0; }
.al-empty[hidden] { display: none; }

.al-more { padding: 0 0 clamp(56px, 8vw, 96px); display: grid; gap: 16px; }
.al-more-in { display: flex; align-items: center; justify-content: space-between; gap: 18px 28px; flex-wrap: wrap; padding: clamp(22px, 3.5vw, 34px); border: 1px solid var(--border); border-radius: 24px; background: var(--surface); }
.al-more-in h2 { margin: 0 0 6px; font-size: clamp(22px, 3vw, 28px); }
.al-more-in p { margin: 0; color: var(--muted); max-width: 54ch; line-height: 1.6; }
.al-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 99px; background: var(--lime); color: var(--on-lime); font-weight: 600; font-size: 15px; text-decoration: none; }
.al-btn svg { width: 18px; height: 18px; }
.al-btn:hover { filter: brightness(.96); }

@media (max-width: 560px) {
  .al-search { max-width: none; flex-basis: 100%; }
  .al-art { height: 190px; }
  .al-btn { width: 100%; }
}

/* full-frame thumbnail: the app page's own 1200x630 image fills the cover edge to edge */
.al-art.al-th { display: block; height: auto; aspect-ratio: 1200 / 630; padding: 0; background: var(--chip); }
.al-art.al-th img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.al-art.al-bl { height: auto; aspect-ratio: 1200 / 630; }
@media (max-width: 560px) { .al-art.al-th, .al-art.al-bl { height: auto; } }

/* ===== Fresh light layer ===== */
.al-hero { color: var(--ink); background: radial-gradient(900px 420px at 85% -10%, rgb(107 74 255 / .10), transparent 60%), #fff; border-bottom: 1px solid var(--border); }
.al-eyebrow { color: var(--mark); }
.al-eyebrow::before { background: var(--mark); }
.al-hero h1 { color: var(--ink); font-weight: 400; letter-spacing: -.04em; }
.al-hero p { color: var(--muted); font-size: 17px; }
.al-stats li { background: var(--tint); border-color: var(--border); color: var(--muted); font-size: 13px; }
.al-stats b { color: var(--ink); }
.al-tabs button[aria-selected="true"] { color: #fff; }
.al-btn { background: var(--ink); color: #fff; }
.al-body b { font-size: 18px; font-weight: 600; }
.al-body em { font-size: 14px; }
