/* M4RVL App Store — Play Store layout language, owner's display rules.
   Structure borrowed from Google Play (app-bar, icon header, stats strip
   with hairline dividers, full-width Install pill, screenshot rail,
   sectioned content) — dressed in the store's own palette: warm paper,
   near-black ink, one blue accent. Clean, loose, airy: generous spacing,
   nothing compressed (owner-approved Nov 21, 2026). */
:root{
  --paper:#FAF8F5; --card:#FFFFFF; --ink:#16283F; --ink-soft:#4A5B70;
  --line:#E7E1D9; --blue:#1D6FB8; --blue-dark:#155A96; --sky:#EAF3FC;
  --radius:20px;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0; background:var(--paper); color:var(--ink);
  font-family:"Nunito","Quicksand",-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  line-height:1.5;
}
a{color:var(--blue); text-decoration:none}
.page{max-width:920px; margin:0 auto; padding:0 24px 64px}

/* --- app bar (Play-style top bar) --- */
.appbar{
  display:flex; align-items:center; justify-content:space-between;
  padding:18px 0 14px;
}
.brand{display:flex; align-items:center; gap:12px; color:var(--ink)}
.appbar .mark{
  width:40px; height:40px; border-radius:12px; background:var(--ink);
  color:#fff; display:flex; align-items:center; justify-content:center;
  font-weight:800; font-size:19px; letter-spacing:.5px;
}
.brand .name{font-weight:800; font-size:20px; letter-spacing:.2px}
.brand .name span{color:var(--ink-soft); font-weight:600}
.appbar nav a{color:var(--ink-soft); font-weight:700; font-size:15px}
.appbar nav a:hover{color:var(--ink)}
.backlink{
  display:inline-flex; align-items:center; gap:8px;
  font-weight:700; font-size:16px; color:var(--ink); padding:4px 0;
}
.backlink .arrow{font-size:19px; line-height:1; color:var(--ink-soft)}
.backlink:hover{color:var(--blue)}

/* --- search pill (storefront; filters the app list live) --- */
.searchbar{
  display:flex; align-items:center; gap:10px;
  background:var(--card); border:1px solid var(--line); border-radius:999px;
  padding:13px 20px; margin:10px 0 6px;
  box-shadow:0 4px 16px rgba(22,40,63,.05);
}
.searchbar .sicon{color:var(--ink-soft); flex:none; display:flex}
.searchbar .sicon svg{width:19px; height:19px}
.searchbar input{
  border:none; outline:none; background:transparent; width:100%;
  font:inherit; font-size:16px; color:var(--ink);
}
.searchbar input::placeholder{color:var(--ink-soft)}
.nomatch{
  display:none; color:var(--ink-soft); font-size:15.5px;
  padding:18px 2px 4px;
}

/* --- storefront hero + sections --- */
.store-hero{padding:26px 2px 8px}
.store-hero h1{font-size:34px; line-height:1.15; margin:0 0 10px; font-weight:800}
.store-hero p{margin:0; color:var(--ink-soft); font-size:17px; max-width:600px}

section{margin-top:36px}
h2{font-size:21px; font-weight:800; margin:0 0 16px}

/* --- featured card (Play editorial card) --- */
.featured{
  background:var(--card); border:1px solid var(--line); border-radius:24px;
  padding:28px; display:flex; gap:24px; align-items:center;
  box-shadow:0 10px 30px rgba(22,40,63,.06);
}
.featured img.icon{width:104px; height:104px; border-radius:26px; flex:none}
.featured .fname{font-size:27px; font-weight:800; line-height:1.2}
.featured .fdev{color:var(--blue); font-weight:800; font-size:15px; margin-top:2px}
.featured .ftag{color:var(--ink-soft); font-size:16px; margin-top:2px}
.featured .fmeta{display:flex; gap:8px; flex-wrap:wrap; margin-top:14px}
.chip{
  background:var(--sky); color:var(--ink); border-radius:999px;
  padding:5px 12px; font-size:13.5px; font-weight:700; white-space:nowrap;
}
.featured .fcta{margin-left:auto; flex:none}
a.iconlink{display:flex; flex:none}
.fname a, .aname a{color:inherit; text-decoration:none}
.fname a:hover, .aname a:hover{color:var(--blue)}
.btn{
  display:inline-block; background:var(--blue); color:#fff; font-weight:800;
  font-size:16.5px; padding:13px 36px; border-radius:999px; text-align:center;
}
.btn:hover{background:var(--blue-dark)}
.btn.get{padding:9px 26px; font-size:15px}

/* --- app rows (Play list rows: whitespace + hairlines, no boxes) --- */
.applist{display:flex; flex-direction:column}
.approw{
  display:flex; align-items:center; gap:18px;
  padding:18px 4px; border-bottom:1px solid var(--line);
}
.approw:last-child{border-bottom:none}
.approw img.icon{width:60px; height:60px; border-radius:16px; flex:none}
.approw > div{min-width:0; flex:1}
.approw .aname{font-weight:800; font-size:17.5px; line-height:1.25}
.approw .atag{color:var(--ink-soft); font-size:14.5px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.approw .ameta{color:var(--ink-soft); font-size:13.5px; margin-top:2px}
.approw .btn{margin-left:auto; flex:none}

.storefoot{
  margin-top:48px; padding-top:22px; border-top:1px solid var(--line);
  color:var(--ink-soft); font-size:14.5px; display:flex; gap:8px; flex-wrap:wrap; justify-content:space-between;
}

/* ================= app page (Play app-page flow) ================= */

/* header: big icon, name, developer line, tagline */
.apphead{display:flex; gap:22px; align-items:center; padding:14px 0 4px}
.apphead img.icon{width:88px; height:88px; border-radius:22px; flex:none;
  box-shadow:0 6px 18px rgba(22,40,63,.10)}
.apphead h1{font-size:32px; margin:0; line-height:1.15; font-weight:800}
.dev{color:var(--blue); font-weight:800; font-size:16px; margin-top:3px}
.tag{color:var(--ink-soft); font-size:15.5px; margin-top:2px}
.verified{margin-top:18px; font-weight:700; font-size:14.5px; color:var(--ink-soft)}
.vcheck{
  display:inline-flex; width:20px; height:20px; border-radius:50%;
  background:var(--blue); color:#fff; align-items:center; justify-content:center;
  font-size:12px; margin-right:7px; vertical-align:-4px;
}

/* stats strip: Play-style, values over labels, hairline dividers */
.stats{
  display:flex; margin:26px 0 6px; padding:18px 0;
  border-top:1px solid var(--line); border-bottom:1px solid var(--line);
}
.stat{flex:1; text-align:center; padding:0 6px}
.stat + .stat{border-left:1px solid var(--line)}
.stat b{display:block; font-size:17px; line-height:1.3}
.stat span{color:var(--ink-soft); font-size:13px}

/* install: full-width pill, Play placement (right under the stats) */
.install{padding:20px 0 4px}
.install .btn{display:block; padding:15px 36px; font-size:17px}
.sub{text-align:center; color:var(--ink-soft); font-size:13.5px; margin-top:12px}
.hint{color:var(--ink-soft); font-size:14.5px; margin:18px 0 0; max-width:640px}

/* screenshot rail: horizontal, snap-scroll, tall previews */
.previews{
  display:flex; gap:14px; overflow-x:auto; padding:4px 2px 12px;
  scroll-snap-type:x mandatory; -webkit-overflow-scrolling:touch;
}
.preview{margin:0; flex:none; scroll-snap-align:start}
.preview img{
  width:188px; height:auto; display:block;
  border-radius:16px; border:1px solid var(--line);
  box-shadow:0 6px 16px rgba(22,40,63,.06);
}

/* what's new + about cards */
.newcard{
  background:var(--card); border:1px solid var(--line); border-radius:var(--radius);
  padding:22px 24px; font-size:15.5px;
}
.newcard b{font-size:16.5px}
.about{font-size:16.5px; margin:0; max-width:680px}
.tags{display:flex; gap:8px; flex-wrap:wrap; margin-top:16px}
.tagchip{
  border:1px solid var(--line); background:var(--card); color:var(--ink-soft);
  border-radius:999px; padding:6px 14px; font-size:13.5px; font-weight:700;
}

/* information + more: Play-style label/value and link rows */
.info{display:flex; flex-direction:column}
.info .row{
  display:flex; justify-content:space-between; align-items:center; gap:14px;
  padding:14px 2px; border-bottom:1px solid var(--line); font-size:15.5px;
}
.info .row:last-child{border-bottom:none}
.info .row span{color:var(--ink-soft)}
.info .row b{font-weight:700; text-align:right}
.info a.row{color:var(--ink)}
.info a.row b{color:var(--blue)}

@media (max-width:760px){
  .page{padding:0 18px 52px}
  .store-hero{padding-top:20px}
  .store-hero h1{font-size:28px}
  .featured{flex-direction:column; align-items:flex-start; padding:24px}
  .featured .fcta{margin-left:0; width:100%}
  .featured .fcta .btn{display:block}
  .apphead{gap:16px}
  .apphead img.icon{width:72px; height:72px; border-radius:18px}
  .apphead h1{font-size:27px}
  .stats{margin-top:22px}
  .stat b{font-size:15px}
  .stat span{font-size:12px}
  .preview img{width:160px}
  .newcard{padding:20px}
}
