/* Shared app list (built from /apps.json by /apps-list.js) */
.al-filters{ display:flex; flex-wrap:wrap; gap:8px; justify-content:center; margin:0 0 10px; }
.al-filters button{ font:inherit; font-size:14px; font-weight:800; padding:8px 16px; border-radius:999px; border:2px solid #121316; background:#fff; color:#121316; cursor:pointer; min-width:44px; min-height:40px; }
.al-filters button[aria-pressed="true"]{ background:#121316; color:#fff; }
.al-filters button:focus-visible{ outline:3px solid #3b82f6; outline-offset:2px; }
.al-key{ text-align:center; font-size:12.5px; color:#55607A; margin:0 0 14px; }
.al-note{ text-align:center; font-size:14.5px; font-weight:700; color:#121316; margin:0 0 14px; }
.al-rows{ display:grid; grid-template-columns:repeat(2,1fr); gap:12px; }
@media (max-width:700px){ .al-rows{ grid-template-columns:1fr; } }
.al-row{ display:flex; align-items:center; gap:12px; flex-wrap:wrap; background:var(--cl); border:2px solid var(--c); border-radius:16px; padding:10px 14px 10px 10px; text-decoration:none; }
a.al-row:hover{ box-shadow:0 4px 12px rgba(0,0,0,.12); }
.al-row .circ{ width:56px; height:56px; margin:0; }
.al-row .al-name{ color:var(--nc); font-weight:800; font-size:16px; line-height:1.25; flex:1 1 130px; }
.al-row .al-badge{ width:24px; height:24px; border-radius:6px; background:#fff; border:1.5px solid #000; color:#000; font-weight:800; font-size:13px; display:inline-flex; align-items:center; justify-content:center; flex-shrink:0; }
.al-row .al-status{ font-size:12.5px; font-weight:700; color:#000; white-space:nowrap; }
.al-row .btn{ font-size:13.5px; padding:8px 16px; }
.al-msg{ text-align:center; color:#55607A; padding:24px 0; }
.al-foot{ text-align:center; font-size:12.5px; color:#55607A; margin:22px 0 0; }
.al-row{ cursor:default; }
a.al-link{ cursor:pointer; }
a.al-name{ text-decoration:none; }
.al-row .al-status{ color:var(--sc,#000); }
.al-play{ display:inline-flex; align-items:center; gap:8px; background:var(--pb,#003399); color:#fff; font-weight:700; font-size:13.5px; padding:9px 18px 9px 14px; border-radius:999px; text-decoration:none; white-space:nowrap; transition:background .15s; }
.al-play:hover{ background:var(--pbh,#335cad); }
.al-play:focus-visible{ outline:3px solid #3b82f6; outline-offset:2px; }
.al-more-wrap{ text-align:center; margin-top:20px; }
.al-more{ font:inherit; font-size:15px; font-weight:800; padding:12px 28px; border-radius:999px; border:2px solid #121316; background:#fff; color:#121316; cursor:pointer; }
.al-more:hover{ background:#121316; color:#fff; }
.al-more[hidden]{ display:none; }

.al-text{ display:flex; flex-direction:column; gap:2px; flex:1 1 130px; min-width:0; }
.al-text .al-name{ flex:none; }
.al-kind{ font-size:12.5px; font-weight:500; line-height:1.3; }
.al-more{ border:2px solid #c9c5bb; background:transparent; color:#23262B; font-weight:700; }
.al-more:hover{ background:#EDEBE6; color:#23262B; border-color:#23262B; }
.al-more:focus-visible{ outline:3px solid #3b82f6; outline-offset:2px; }
/* wide screens: keep Asset Mate's row (with its button) the same height as its neighbours */
@media (min-width:1000px){ .al-row{ flex-wrap:nowrap; } .al-row .al-play{ margin-left:4px; } }
/* big Google Play button on the Asset Mate card */
.al-play-big{ font-size:14.5px; padding:11px 22px 11px 18px; box-shadow:0 8px 20px rgba(0,51,153,.25); }
/* phones: one app per line; Max on the left, text centred beside him */
@media (max-width:700px){
  .al-row{ display:grid; grid-template-columns:72px minmax(0,1fr); column-gap:14px; row-gap:6px; align-items:center; padding:12px 14px; }
  .al-row .circ{ width:72px; height:72px; grid-column:1; grid-row:1 / span 3; align-self:center; }
  .al-text{ grid-column:2; text-align:center; align-items:center; }
  .al-row .al-status{ grid-column:2; justify-self:center; text-align:center; background:rgba(255,255,255,.8); border-radius:999px; padding:3px 12px; font-size:12.5px; color:#000; }
  .al-row .al-play{ grid-column:2; justify-self:center; white-space:normal; text-align:center; max-width:100%; box-sizing:border-box; }
}
/* very small phones (320 wide): slightly smaller Max + button so the row never pushes the page sideways */
@media (max-width:340px){
  .al-row{ grid-template-columns:56px 1fr; column-gap:10px; padding:10px; }
  .al-row .circ{ width:56px; height:56px; }
  .al-row .al-play{ white-space:normal; text-align:center; padding:8px 12px; font-size:13px; }
}

/* price line under the short line (set per app with "price_line" in apps.json) */
.al-price{ display:block; margin-top:4px; font-size:12.5px; line-height:1.35; font-weight:600; }
