/* v56.9.7: eight genuinely different public download-page compositions.
 * Loaded after layout-v46.css and download-desktop-v47.css so each template can
 * own its structure instead of inheriting one normalized desktop layout.
 */
.download-shell .download-normal-card{box-sizing:border-box}
.download-shell .download-normal-card .download-hero,
.download-shell .download-normal-card .download-install,
.download-shell .download-normal-card .download-qr,
.download-shell .download-normal-card .download-details{min-width:0}
.download-shell .download-normal-card .download-details{width:100%;box-sizing:border-box}
.download-shell .download-normal-card .download-identity h1{margin-top:0}

/* 1. Classic: centered premium card. */
.download-shell.download-theme-classic{
  background:radial-gradient(circle at 50% -10%,#dff4e9 0,#f5fbf7 36%,#fff 78%);
}
.download-shell.download-theme-classic .download-normal-card{
  width:min(760px,100%);max-width:760px;margin:38px auto 0;padding:44px 50px;
  background:#fff;border:1px solid #d9e9e1;border-radius:26px;
  box-shadow:0 22px 60px rgba(21,72,54,.12);text-align:center;
}
.download-shell.download-theme-classic .download-normal-card .download-hero .app-icon{
  width:108px;height:108px;margin:0 auto 22px;border-radius:26px;
  box-shadow:0 10px 24px rgba(17,78,57,.12);
}
.download-shell.download-theme-classic .download-install{max-width:500px}
.download-shell.download-theme-classic .download-qr{
  max-width:500px;padding:24px;border-radius:18px;background:#f4faf7;border:1px solid #e1eee7;
}
.download-shell.download-theme-classic .download-details{max-width:620px;margin:34px auto 0}
.download-shell.download-theme-classic .download-details .release-notes{border-top-color:#e0ece6}

/* 2. Data: dashboard-like split layout, statistics are the visual anchor. */
.download-shell.download-theme-data{
  background:#f0f4f2;
  background-image:linear-gradient(rgba(21,89,65,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(21,89,65,.035) 1px,transparent 1px);
  background-size:28px 28px;
}
.download-shell.download-theme-data .download-normal-card{
  width:min(1120px,100%);max-width:1120px;margin:30px auto 0;padding:28px;
  background:#fff;border:1px solid #d5e2dc;border-radius:14px;box-shadow:0 10px 34px rgba(23,59,47,.08);text-align:left;
}
.download-shell.download-theme-data .download-overview,
.download-shell.download-theme-data .download-overview.has-qr{
  display:grid;grid-template-columns:minmax(0,1.35fr) minmax(260px,.65fr);
  grid-template-areas:"hero qr" "stats qr" "install qr";gap:20px 28px;align-items:start;text-align:left;
}
.download-shell.download-theme-data .download-hero{grid-area:hero;display:flex;align-items:center;gap:20px;padding:4px 0 18px;border-bottom:1px solid #e3ece7}
.download-shell.download-theme-data .download-card .download-hero .app-icon{width:82px;height:82px;margin:0;flex:0 0 82px;border-radius:18px}
.download-shell.download-theme-data .download-card h1{font-size:30px;text-align:left}
.download-shell.download-theme-data .download-meta{margin:10px 0 0;text-align:left}
.download-shell.download-theme-data .download-meta-line{justify-content:flex-start}
.download-shell.download-theme-data .download-stats{grid-area:stats;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));max-width:none;margin:0;padding:0;gap:10px;background:transparent;border:0}
.download-shell.download-theme-data .download-stats>span{padding:16px;border:1px solid #dce9e2;border-radius:10px;background:#f8fbf9;color:#6b8177}
.download-shell.download-theme-data .download-stats strong{font-size:22px;color:#124f3a;margin-top:7px}
.download-shell.download-theme-data .download-install{grid-area:install;max-width:none;margin:0}
.download-shell.download-theme-data .download-install>.install-button{width:min(320px,100%)}
.download-shell.download-theme-data .download-qr{grid-area:qr;align-self:stretch;justify-content:center;max-width:none;margin:0;padding:26px 20px;border:1px solid #dce9e2;border-radius:12px;background:#f8fbf9}
.download-shell.download-theme-data .download-qr>.qr{width:196px;height:196px}
.download-shell.download-theme-data .download-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 28px;margin:30px 0 0;padding-top:4px;border-top:1px solid #e2ebe6}
.download-shell.download-theme-data .download-details>.release-notes{margin-top:24px;padding:20px;border:1px solid #e1ebe6;border-radius:10px;background:#fcfefd}
.download-shell.download-theme-data .download-details>.download-intro{grid-column:1/-1}

/* 3. Phone: the whole page becomes an actual device frame. */
.download-shell.download-theme-phone{
  background:linear-gradient(145deg,#e7eee9 0,#f8faf9 45%,#dbe8e1 100%);
  padding-top:36px;
}
.download-shell.download-theme-phone .download-normal-card{
  position:relative;width:min(440px,100%);max-width:440px;margin:18px auto 0;padding:64px 26px 34px;
  background:#fbfdfc;border:11px solid #163b2d;border-radius:54px;box-shadow:0 30px 80px rgba(19,55,43,.24);text-align:center;overflow:hidden;
}
.download-shell.download-theme-phone .download-normal-card::before{
  content:"";position:absolute;top:15px;left:50%;width:92px;height:24px;transform:translateX(-50%);border-radius:20px;background:#163b2d;
}
.download-shell.download-theme-phone .download-normal-card::after{
  content:"";position:absolute;bottom:12px;left:50%;width:108px;height:5px;transform:translateX(-50%);border-radius:999px;background:#c1d0c8;
}
.download-shell.download-theme-phone .download-card .download-hero::before{content:none}
.download-shell.download-theme-phone .download-card .download-hero .app-icon{width:96px;height:96px;margin:0 auto 18px;border-radius:24px}
.download-shell.download-theme-phone .download-card h1{font-size:28px}
.download-shell.download-theme-phone .download-meta{font-size:13px}
.download-shell.download-theme-phone .download-install{max-width:none;margin-top:22px}
.download-shell.download-theme-phone .download-install>.install-button{border-radius:14px;min-height:54px}
.download-shell.download-theme-phone .download-qr{margin-top:24px;padding:18px;border-radius:18px;background:#edf6f1}
.download-shell.download-theme-phone .download-qr>.qr{width:150px;height:150px}
.download-shell.download-theme-phone .download-details{margin-top:26px;text-align:left}
.download-shell.download-theme-phone .download-details .release-notes{margin-top:18px;padding:18px;border:1px solid #e1ebe6;border-radius:14px;background:#fff}
.download-shell.download-theme-phone .download-details .release-notes:first-child{margin-top:0}

/* 4. Minimal: no card, strong typography and horizontal action rail. */
.download-shell.download-theme-minimal{background:#fff;padding-top:50px}
.download-shell.download-theme-minimal .download-normal-card{
  width:min(980px,100%);max-width:980px;margin:0 auto;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none;text-align:left;
}
.download-shell.download-theme-minimal .download-overview,
.download-shell.download-theme-minimal .download-overview.has-qr{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(250px,300px);grid-template-areas:"hero install" "qr install";gap:18px 56px;align-items:center;text-align:left;
  padding:38px 0;border-top:2px solid #153e2f;border-bottom:1px solid #d9e4de;
}
.download-shell.download-theme-minimal .download-hero{grid-area:hero;display:flex;align-items:center;gap:22px}
.download-shell.download-theme-minimal .download-card .download-hero .app-icon{width:74px;height:74px;margin:0;flex:0 0 74px;border-radius:16px}
.download-shell.download-theme-minimal .download-card h1{font-size:38px;text-align:left;letter-spacing:-.03em}
.download-shell.download-theme-minimal .download-meta{margin:8px 0 0}
.download-shell.download-theme-minimal .download-meta-line{justify-content:flex-start}
.download-shell.download-theme-minimal .download-install{grid-area:install;max-width:none;margin:0}
.download-shell.download-theme-minimal .download-install>.install-button{border-radius:4px;min-height:50px}
.download-shell.download-theme-minimal .download-qr{grid-area:qr;display:flex;flex-direction:row;justify-content:flex-start;max-width:none;margin:0;gap:14px}
.download-shell.download-theme-minimal .download-qr>.qr{width:82px;height:82px;padding:4px;border:1px solid #e0e8e4;border-radius:4px}
.download-shell.download-theme-minimal .download-scan-caption{text-align:left;max-width:16em}
.download-shell.download-theme-minimal .download-details{max-width:760px;margin:42px 0 0}
.download-shell.download-theme-minimal .download-details .release-notes{margin-top:0;padding:26px 0;border-top:1px solid #d9e4de;border-radius:0;background:transparent}
.download-shell.download-theme-minimal .download-details .release-notes h3{font-size:18px;text-transform:none}

/* 5. QR: poster/ticket layout with QR as the first-class element. */
.download-shell.download-theme-qr{
  background-color:#eff8f3;
  background-image:radial-gradient(#a7cbbb 1.2px,transparent 1.2px);
  background-size:18px 18px;
}
.download-shell.download-theme-qr .download-normal-card{
  width:min(1040px,100%);max-width:1040px;margin:34px auto 0;padding:0;overflow:hidden;background:#fff;border:1px solid #cfe2d8;border-radius:26px;box-shadow:0 24px 65px rgba(18,74,53,.14);text-align:left;
}
.download-shell.download-theme-qr .download-overview.has-qr{
  display:grid;grid-template-columns:minmax(300px,.78fr) minmax(0,1.22fr);grid-template-areas:"qr hero" "qr install";gap:0;align-items:center;text-align:left;
}
.download-shell.download-theme-qr .download-overview:not(.has-qr){padding:44px 48px}
.download-shell.download-theme-qr .download-qr{grid-area:qr;align-self:stretch;justify-content:center;max-width:none;margin:0;padding:50px 30px;background:#0c9f77;border:0;border-radius:0;color:#fff}
.download-shell.download-theme-qr .download-qr>.qr{width:228px;height:228px;padding:12px;border-radius:16px;background:#fff;box-shadow:0 16px 34px rgba(0,56,40,.18)}
.download-shell.download-theme-qr .download-scan-caption{color:#eafff6;text-align:center;font-weight:650}
.download-shell.download-theme-qr .download-hero{grid-area:hero;display:flex;align-items:center;gap:22px;padding:48px 48px 18px}
.download-shell.download-theme-qr .download-card .download-hero .app-icon{width:90px;height:90px;margin:0;flex:0 0 90px;border-radius:22px}
.download-shell.download-theme-qr .download-card h1{font-size:34px;text-align:left}
.download-shell.download-theme-qr .download-meta{margin:10px 0 0}
.download-shell.download-theme-qr .download-meta-line{justify-content:flex-start}
.download-shell.download-theme-qr .download-install{grid-area:install;max-width:none;margin:0;padding:0 48px 48px}
.download-shell.download-theme-qr .download-install>.install-button{max-width:360px}
.download-shell.download-theme-qr .download-details{padding:10px 48px 44px}
.download-shell.download-theme-qr .download-details .release-notes{padding:22px 0;margin-top:0;border-top:1px dashed #cfe0d7}
.download-shell.download-theme-qr .download-details .release-notes:first-child{border-top:0}

/* 6. Intro: editorial / magazine composition, description comes forward. */
.download-shell.download-theme-intro{background:#f6f3ec}
.download-shell.download-theme-intro .download-normal-card{
  width:min(1120px,100%);max-width:1120px;margin:34px auto 0;padding:0;background:#fffdf9;border:1px solid #e4ded1;border-radius:6px;box-shadow:0 20px 52px rgba(72,62,44,.11);text-align:left;overflow:hidden;
}
.download-shell.download-theme-intro .download-overview,
.download-shell.download-theme-intro .download-overview.has-qr{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(250px,330px);grid-template-areas:"hero qr" "install qr";gap:0;align-items:center;text-align:left;padding:48px 52px;background:linear-gradient(120deg,#fffdf9 0,#fffdf9 66%,#eef7f1 66%,#eef7f1 100%);
}
.download-shell.download-theme-intro .download-hero{grid-area:hero;display:flex;align-items:center;gap:24px;padding:0;border:0}
.download-shell.download-theme-intro .download-card .download-hero .app-icon{width:104px;height:104px;margin:0;flex:0 0 104px;border-radius:12px}
.download-shell.download-theme-intro .download-card h1{font-size:42px;line-height:1.18;text-align:left;font-weight:760;letter-spacing:-.035em}
.download-shell.download-theme-intro .download-meta{margin:14px 0 0}
.download-shell.download-theme-intro .download-meta-line{justify-content:flex-start}
.download-shell.download-theme-intro .download-install{grid-area:install;max-width:390px;margin:24px 0 0}
.download-shell.download-theme-intro .download-install>.install-button{border-radius:3px}
.download-shell.download-theme-intro .download-qr{grid-area:qr;max-width:none;margin:0;padding:22px;background:rgba(255,255,255,.72);border:1px solid #d9e6df;border-radius:6px}
.download-shell.download-theme-intro .download-qr>.qr{width:176px;height:176px}
.download-shell.download-theme-intro .download-details{display:grid;grid-template-columns:1.35fr .65fr;gap:0 42px;padding:38px 52px 48px}
.download-shell.download-theme-intro .download-details>.download-intro{grid-column:1;grid-row:1/span 3;margin:0;padding:0 40px 0 0;border:0;border-right:1px solid #e5dfd5}
.download-shell.download-theme-intro .download-intro h3{font-size:13px;letter-spacing:.16em;text-transform:uppercase;color:#0a8d68}
.download-shell.download-theme-intro .download-intro p{font-size:18px;line-height:2;color:#2f443b}
.download-shell.download-theme-intro .download-details>.release-notes:not(.download-intro){grid-column:2;margin:0;padding:18px 0;border-top:1px solid #e6e0d6}
.download-shell.download-theme-intro .download-details>.release-notes:not(.download-intro):first-of-type{border-top:0}
.download-shell.download-theme-intro .download-preview-gallery{grid-column:1/-1}

/* 7. Blue: airy glassmorphism with cyan/blue color system. */
.download-shell.download-theme-blue{
  background:
    radial-gradient(circle at 18% 14%,rgba(255,255,255,.95) 0 9%,transparent 27%),
    radial-gradient(circle at 85% 12%,rgba(35,187,201,.22),transparent 34%),
    linear-gradient(135deg,#dff5fb 0,#dff8ef 48%,#e8efff 100%);
}
.download-shell.download-theme-blue .download-normal-card{
  width:min(1000px,100%);max-width:1000px;margin:38px auto 0;padding:34px;
  background:rgba(255,255,255,.68);border:1px solid rgba(255,255,255,.86);border-radius:32px;box-shadow:0 28px 70px rgba(37,105,121,.16);text-align:left;
  backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px);
}
.download-shell.download-theme-blue .download-overview,
.download-shell.download-theme-blue .download-overview.has-qr{
  display:grid;grid-template-columns:minmax(0,1.18fr) minmax(260px,.82fr);grid-template-areas:"hero qr" "install qr";gap:20px 30px;align-items:center;text-align:left;
}
.download-shell.download-theme-blue .download-hero{grid-area:hero;display:flex;align-items:center;gap:22px;padding:12px}
.download-shell.download-theme-blue .download-card .download-hero .app-icon{width:104px;height:104px;margin:0;flex:0 0 104px;border-radius:28px;box-shadow:0 12px 30px rgba(23,112,133,.16)}
.download-shell.download-theme-blue .download-card h1{font-size:36px;text-align:left;color:#124750}
.download-shell.download-theme-blue .download-meta{margin:12px 0 0;color:#557984}
.download-shell.download-theme-blue .download-meta-line{justify-content:flex-start}
.download-shell.download-theme-blue .download-meta .tag{background:#d9f2f1;color:#087f87}
.download-shell.download-theme-blue .download-install{grid-area:install;max-width:none;margin:0;padding:0 12px 12px}
.download-shell.download-theme-blue .download-install>.install-button{max-width:390px;background:linear-gradient(90deg,#058da0,#08a67e);border:0;border-radius:14px;box-shadow:0 12px 26px rgba(5,141,160,.18)}
.download-shell.download-theme-blue .download-qr{grid-area:qr;max-width:none;margin:0;padding:28px;border:1px solid rgba(255,255,255,.82);border-radius:24px;background:rgba(255,255,255,.58);box-shadow:inset 0 0 0 1px rgba(15,134,143,.05)}
.download-shell.download-theme-blue .download-qr>.qr{width:188px;height:188px;border-radius:16px}
.download-shell.download-theme-blue .download-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:28px}
.download-shell.download-theme-blue .download-details>.release-notes{margin:0;padding:22px;border:1px solid rgba(255,255,255,.86);border-radius:18px;background:rgba(255,255,255,.58)}
.download-shell.download-theme-blue .download-details>.download-intro{grid-column:1/-1}
.download-shell.download-theme-blue .download-details>.download-preview-gallery{grid-column:1/-1}
.download-shell.download-theme-blue .download-details>.download-history{grid-column:1/-1}

/* 8. Game: cinematic dark stage with strong CTA. */
.download-shell.download-theme-game{
  min-height:100vh;color:#e9fff5;
  background:
    radial-gradient(circle at 80% 18%,rgba(14,204,132,.19),transparent 30%),
    radial-gradient(circle at 20% 8%,rgba(46,119,89,.32),transparent 35%),
    linear-gradient(145deg,#07150f 0,#0b2419 48%,#07130e 100%);
}
.download-shell.download-theme-game .download-normal-card{
  position:relative;width:min(1160px,100%);max-width:1160px;margin:34px auto 0;padding:44px;
  background:linear-gradient(135deg,rgba(20,62,44,.86),rgba(11,34,25,.9));border:1px solid rgba(93,208,151,.24);border-radius:28px;box-shadow:0 32px 90px rgba(0,0,0,.42);text-align:left;overflow:hidden;
}
.download-shell.download-theme-game .download-normal-card::before{
  content:"";position:absolute;width:360px;height:360px;right:-120px;top:-180px;border-radius:50%;background:radial-gradient(circle,rgba(15,210,134,.21),transparent 68%);pointer-events:none;
}
.download-shell.download-theme-game .download-overview,
.download-shell.download-theme-game .download-overview.has-qr{
  position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1.25fr) minmax(260px,.75fr);grid-template-areas:"hero qr" "install qr";gap:24px 42px;align-items:center;text-align:left;
}
.download-shell.download-theme-game .download-hero{grid-area:hero;display:flex;align-items:center;gap:28px;padding:10px 0}
.download-shell.download-theme-game .download-card .download-hero .app-icon{width:132px;height:132px;margin:0;flex:0 0 132px;border-radius:30px;box-shadow:0 18px 42px rgba(0,0,0,.34),0 0 0 1px rgba(98,221,166,.26)}
.download-shell.download-theme-game .download-card h1{font-size:44px;line-height:1.16;text-align:left;color:#fff;letter-spacing:-.035em}
.download-shell.download-theme-game .download-meta{margin:14px 0 0;color:#a9cbbb}
.download-shell.download-theme-game .download-meta-line{justify-content:flex-start}
.download-shell.download-theme-game .download-meta .tag{background:rgba(15,199,130,.16);border:1px solid rgba(76,224,161,.28);color:#82efbd}
.download-shell.download-theme-game .download-install{grid-area:install;max-width:520px;margin:10px 0 0}
.download-shell.download-theme-game .download-install>.install-button{min-height:58px;border:0;border-radius:12px;background:linear-gradient(90deg,#0ad888,#05ad70);color:#062116;font-size:18px;font-weight:800;box-shadow:0 14px 34px rgba(4,196,123,.22)}
.download-shell.download-theme-game .download-qr{grid-area:qr;max-width:none;margin:0;padding:26px;border:1px solid rgba(116,222,173,.2);border-radius:22px;background:rgba(4,20,13,.4)}
.download-shell.download-theme-game .download-qr>.qr{width:196px;height:196px;padding:10px;border-radius:14px;background:#fff}
.download-shell.download-theme-game .download-scan-caption{color:#a9cbbb}
.download-shell.download-theme-game .download-details{position:relative;z-index:1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:38px}
.download-shell.download-theme-game .download-details>.release-notes{margin:0;padding:22px;border:1px solid rgba(116,222,173,.18);border-radius:16px;background:rgba(5,24,16,.42)}
.download-shell.download-theme-game .download-details>.download-intro,
.download-shell.download-theme-game .download-details>.download-preview-gallery,
.download-shell.download-theme-game .download-details>.download-history{grid-column:1/-1}
.download-shell.download-theme-game .download-details h3{color:#fff}
.download-shell.download-theme-game .download-details p,.download-shell.download-theme-game .download-version-row time,.download-shell.download-theme-game .download-checksum{color:#b9d7c8}
.download-shell.download-theme-game .download-version-row{border-color:rgba(116,222,173,.18)}
.download-shell.download-theme-game .textlink{color:#70e8b2}
.download-shell.download-theme-game~.footer-mini,.download-shell.download-theme-game .footer-mini{color:#a7c9b8}

/* Settings preview thumbnails now communicate the structural differences too. */
#extended-settings.settings-shell-v53 .template-mini{position:relative;overflow:hidden}
#extended-settings.settings-shell-v53 .mini-classic{border-radius:12px;background:linear-gradient(#e7f7ee 28%,#fff 28%)}
#extended-settings.settings-shell-v53 .mini-data{align-items:stretch;padding:9px 7px;gap:5px;background:#f4f7f5;border-radius:5px}
#extended-settings.settings-shell-v53 .mini-data i{width:100%;height:16px;border-radius:3px;background:linear-gradient(90deg,#0ca37b 22%,#dce9e2 22% 48%,#edf3f0 48%)}
#extended-settings.settings-shell-v53 .mini-data b{width:100%;height:22px;background:repeating-linear-gradient(90deg,#d8e8df 0 28%,transparent 28% 36%)}
#extended-settings.settings-shell-v53 .mini-data em{width:64%;align-self:flex-start}
#extended-settings.settings-shell-v53 .mini-phone{width:52px;border:5px solid #183d2e;border-radius:18px;padding-top:13px;background:#fff}
#extended-settings.settings-shell-v53 .mini-phone::before{content:"";position:absolute;top:5px;width:18px;height:4px;border-radius:3px;background:#183d2e}
#extended-settings.settings-shell-v53 .mini-minimal{align-items:flex-start;width:82px;height:64px;padding:9px 5px;border:0;border-radius:0;border-top:2px solid #183d2e;border-bottom:1px solid #cadbd2;background:#fff}
#extended-settings.settings-shell-v53 .mini-minimal i{width:18px;height:18px}
#extended-settings.settings-shell-v53 .mini-minimal b{width:60px}
#extended-settings.settings-shell-v53 .mini-minimal em{width:34px;height:7px}
#extended-settings.settings-shell-v53 .mini-qr{justify-content:center;width:76px;background:linear-gradient(90deg,#0ca37b 0 48%,#fff 48%)}
#extended-settings.settings-shell-v53 .mini-qr i{width:30px;height:30px;margin-left:-24px;background:repeating-conic-gradient(#143b2d 0 25%,#fff 0 50%) 0/7px 7px}
#extended-settings.settings-shell-v53 .mini-qr b,#extended-settings.settings-shell-v53 .mini-qr em{margin-left:34px;width:24px}
#extended-settings.settings-shell-v53 .mini-intro{align-items:flex-start;width:96px;padding:12px 9px;background:#fffdf8;border-radius:3px}
#extended-settings.settings-shell-v53 .mini-intro i{width:18px;height:18px;border-radius:2px}
#extended-settings.settings-shell-v53 .mini-intro b{width:68px;height:3px}
#extended-settings.settings-shell-v53 .mini-intro em{width:86%;height:22px;background:linear-gradient(#d7e5dd 0 3px,transparent 3px 7px,#d7e5dd 7px 10px,transparent 10px)}
#extended-settings.settings-shell-v53 .mini-blue{background:linear-gradient(135deg,#d4f1fa,#dcf7ed 55%,#e4eaff);border-color:#c7e5eb;border-radius:18px;box-shadow:inset 0 0 0 4px rgba(255,255,255,.36)}
#extended-settings.settings-shell-v53 .mini-blue i{border-radius:9px;background:#168fa0}
#extended-settings.settings-shell-v53 .mini-blue em{background:linear-gradient(90deg,#168fa0,#0aa477);border-radius:9px}
#extended-settings.settings-shell-v53 .mini-game{background:radial-gradient(circle at 75% 15%,#226c4c,#102d21 58%,#081a12);border-color:#315d49;border-radius:14px}
#extended-settings.settings-shell-v53 .mini-game i{width:30px;height:30px;border-radius:10px;background:#0cd68b;box-shadow:0 0 12px #0cd68b55}
#extended-settings.settings-shell-v53 .mini-game b{background:#789a8a}
#extended-settings.settings-shell-v53 .mini-game em{height:11px;background:#0cd68b;border-radius:8px}

@media(max-width:900px){
  .download-shell.download-theme-data .download-overview,.download-shell.download-theme-data .download-overview.has-qr,
  .download-shell.download-theme-minimal .download-overview,.download-shell.download-theme-minimal .download-overview.has-qr,
  .download-shell.download-theme-qr .download-overview.has-qr,
  .download-shell.download-theme-intro .download-overview,.download-shell.download-theme-intro .download-overview.has-qr,
  .download-shell.download-theme-blue .download-overview,.download-shell.download-theme-blue .download-overview.has-qr,
  .download-shell.download-theme-game .download-overview,.download-shell.download-theme-game .download-overview.has-qr{grid-template-columns:1fr;grid-template-areas:"hero" "install" "qr"}
  .download-shell.download-theme-data .download-hero,.download-shell.download-theme-data .download-card h1,.download-shell.download-theme-data .download-meta,
  .download-shell.download-theme-minimal .download-hero,.download-shell.download-theme-minimal .download-card h1,.download-shell.download-theme-minimal .download-meta,
  .download-shell.download-theme-qr .download-hero,.download-shell.download-theme-qr .download-card h1,.download-shell.download-theme-qr .download-meta,
  .download-shell.download-theme-intro .download-hero,.download-shell.download-theme-intro .download-card h1,.download-shell.download-theme-intro .download-meta,
  .download-shell.download-theme-blue .download-hero,.download-shell.download-theme-blue .download-card h1,.download-shell.download-theme-blue .download-meta,
  .download-shell.download-theme-game .download-hero,.download-shell.download-theme-game .download-card h1,.download-shell.download-theme-game .download-meta{text-align:center}
  .download-shell.download-theme-data .download-hero,.download-shell.download-theme-minimal .download-hero,.download-shell.download-theme-qr .download-hero,.download-shell.download-theme-intro .download-hero,.download-shell.download-theme-blue .download-hero,.download-shell.download-theme-game .download-hero{justify-content:center}
  .download-shell.download-theme-data .download-meta-line,.download-shell.download-theme-minimal .download-meta-line,.download-shell.download-theme-qr .download-meta-line,.download-shell.download-theme-intro .download-meta-line,.download-shell.download-theme-blue .download-meta-line,.download-shell.download-theme-game .download-meta-line{justify-content:center}
  .download-shell.download-theme-data .download-stats{grid-area:auto}
  .download-shell.download-theme-data .download-qr,.download-shell.download-theme-minimal .download-qr,.download-shell.download-theme-qr .download-qr,.download-shell.download-theme-intro .download-qr,.download-shell.download-theme-blue .download-qr,.download-shell.download-theme-game .download-qr{grid-area:qr;align-self:auto}
  .download-shell.download-theme-data .download-install,.download-shell.download-theme-minimal .download-install,.download-shell.download-theme-qr .download-install,.download-shell.download-theme-intro .download-install,.download-shell.download-theme-blue .download-install,.download-shell.download-theme-game .download-install{grid-area:install;margin-left:auto;margin-right:auto;width:100%}
  .download-shell.download-theme-data .download-details,.download-shell.download-theme-blue .download-details,.download-shell.download-theme-game .download-details{grid-template-columns:1fr}
  .download-shell.download-theme-data .download-details>* , .download-shell.download-theme-blue .download-details>* , .download-shell.download-theme-game .download-details>*{grid-column:1!important}
  .download-shell.download-theme-intro .download-details{display:block;padding:30px}
  .download-shell.download-theme-intro .download-details>.download-intro{padding:0 0 28px;border-right:0;border-bottom:1px solid #e5dfd5}
}

@media(max-width:650px){
  .download-shell.download-theme-classic .download-normal-card{padding:30px 20px;border-radius:20px}
  .download-shell.download-theme-data .download-normal-card{padding:18px;border-radius:10px}
  .download-shell.download-theme-data .download-hero{flex-direction:column;text-align:center}
  .download-shell.download-theme-data .download-stats{grid-template-columns:1fr;gap:8px}
  .download-shell.download-theme-data .download-stats>span{display:flex;align-items:center;justify-content:space-between;padding:12px 14px}
  .download-shell.download-theme-data .download-stats strong{margin:0;font-size:18px}
  .download-shell.download-theme-phone{padding:18px 10px 24px}
  .download-shell.download-theme-phone .download-normal-card{width:min(390px,100%);padding:58px 18px 30px;border-width:7px;border-radius:42px}
  .download-shell.download-theme-minimal{padding-top:26px}
  .download-shell.download-theme-minimal .download-overview,.download-shell.download-theme-minimal .download-overview.has-qr{padding:26px 0;gap:22px}
  .download-shell.download-theme-minimal .download-hero{flex-direction:column;align-items:flex-start}
  .download-shell.download-theme-minimal .download-card h1,.download-shell.download-theme-minimal .download-meta{text-align:left}
  .download-shell.download-theme-minimal .download-meta-line{justify-content:flex-start}
  .download-shell.download-theme-minimal .download-qr{flex-direction:column;align-items:flex-start}
  .download-shell.download-theme-qr .download-normal-card{border-radius:18px}
  .download-shell.download-theme-qr .download-hero{flex-direction:column;padding:30px 22px 12px}
  .download-shell.download-theme-qr .download-install{padding:0 22px 28px}
  .download-shell.download-theme-qr .download-qr{padding:28px 20px}
  .download-shell.download-theme-qr .download-qr>.qr{width:190px;height:190px}
  .download-shell.download-theme-qr .download-details{padding:8px 22px 30px}
  .download-shell.download-theme-intro .download-overview,.download-shell.download-theme-intro .download-overview.has-qr{padding:30px 22px;background:#fffdf9}
  .download-shell.download-theme-intro .download-hero{flex-direction:column}
  .download-shell.download-theme-intro .download-card h1{font-size:34px}
  .download-shell.download-theme-intro .download-details{padding:24px 22px 30px}
  .download-shell.download-theme-blue .download-normal-card{padding:20px;border-radius:24px}
  .download-shell.download-theme-blue .download-hero{flex-direction:column;padding:8px}
  .download-shell.download-theme-blue .download-qr{padding:22px}
  .download-shell.download-theme-game .download-normal-card{padding:26px 20px;border-radius:20px}
  .download-shell.download-theme-game .download-hero{flex-direction:column}
  .download-shell.download-theme-game .download-card .download-hero .app-icon{width:112px;height:112px;flex-basis:112px}
  .download-shell.download-theme-game .download-card h1{font-size:35px}
  .download-shell.download-theme-game .download-details{gap:12px}
  .download-shell.download-theme-game .download-details>.release-notes{padding:18px}
}

/* v56.9.8 polish: remove accidental empty bands, make no-QR states intentional,
 * and keep every theme usable on narrow download pages. */
.download-shell .download-normal-card .download-details>.release-notes:first-child{margin-top:0}

/* A theme must not reserve a QR column when the publisher disabled QR. */
.download-shell.download-theme-data .download-overview:not(.has-qr){grid-template-columns:1fr;grid-template-areas:"hero" "stats" "install";max-width:760px;margin-inline:auto}
.download-shell.download-theme-minimal .download-overview:not(.has-qr){grid-template-columns:minmax(0,1fr) minmax(250px,300px);grid-template-areas:"hero install";align-items:center}
.download-shell.download-theme-intro .download-overview:not(.has-qr){grid-template-columns:1fr;grid-template-areas:"hero" "install";background:#fffdf9}
.download-shell.download-theme-blue .download-overview:not(.has-qr){grid-template-columns:1fr;grid-template-areas:"hero" "install";max-width:760px;margin-inline:auto}
.download-shell.download-theme-game .download-overview:not(.has-qr){grid-template-columns:1fr;grid-template-areas:"hero" "install";max-width:820px}

/* The editorial template previously left a blank left column when no app intro existed. */
.download-shell.download-theme-intro .download-details.no-intro{grid-template-columns:1fr;gap:0;max-width:760px;margin-inline:auto}
.download-shell.download-theme-intro .download-details.no-intro>.release-notes:not(.download-intro){grid-column:1;padding:20px 0}
.download-shell.download-theme-intro .download-details.no-intro>.release-notes:first-child{border-top:0;padding-top:0}
.download-shell.download-theme-intro .download-details.no-intro>.download-preview-gallery,
.download-shell.download-theme-intro .download-details.no-intro>.download-previews{grid-column:1}

/* Minimal uses one separator only; no blank double-line band between QR and notes. */
.download-shell.download-theme-minimal .download-details{margin-top:30px}
.download-shell.download-theme-minimal .download-details>.release-notes:first-child{border-top:0;padding-top:0}
.download-shell.download-theme-minimal .download-details>.release-notes:first-child h3{margin-top:0}

@media(max-width:900px){
  .download-shell.download-theme-data .download-overview:not(.has-qr),
  .download-shell.download-theme-minimal .download-overview:not(.has-qr),
  .download-shell.download-theme-intro .download-overview:not(.has-qr),
  .download-shell.download-theme-blue .download-overview:not(.has-qr),
  .download-shell.download-theme-game .download-overview:not(.has-qr){grid-template-columns:1fr;grid-template-areas:"hero" "install"}
  .download-shell.download-theme-data .download-overview:not(.has-qr){grid-template-areas:"hero" "stats" "install"}
}

@media(max-width:650px){
  /* Classic stays a centered app card, but no longer feels oversized. */
  .download-shell.download-theme-classic{padding:16px 12px 24px}
  .download-shell.download-theme-classic .download-normal-card{margin:10px auto 0;padding:28px 20px 24px;border-radius:22px}
  .download-shell.download-theme-classic .download-normal-card .download-hero .app-icon{width:92px;height:92px;margin-bottom:18px}
  .download-shell.download-theme-classic .download-qr{padding:18px;margin-top:22px}
  .download-shell.download-theme-classic .download-qr>.qr{width:156px;height:156px}
  .download-shell.download-theme-classic .download-details{margin-top:26px}

  /* Dashboard: compact metrics, then action and QR; no long empty rail. */
  .download-shell.download-theme-data{padding:14px 10px 24px}
  .download-shell.download-theme-data .download-normal-card{margin:8px auto 0;padding:16px 14px 18px}
  .download-shell.download-theme-data .download-overview,.download-shell.download-theme-data .download-overview.has-qr{gap:14px}
  .download-shell.download-theme-data .download-hero{padding-bottom:14px}
  .download-shell.download-theme-data .download-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
  .download-shell.download-theme-data .download-stats>span{display:block;padding:10px 7px;text-align:center;font-size:10px}
  .download-shell.download-theme-data .download-stats strong{display:block;margin-top:5px;font-size:15px}
  .download-shell.download-theme-data .download-qr{padding:18px 14px}
  .download-shell.download-theme-data .download-qr>.qr{width:148px;height:148px}
  .download-shell.download-theme-data .download-details{margin-top:20px;padding-top:0;border-top:0;gap:10px}
  .download-shell.download-theme-data .download-details>.release-notes{margin-top:0;padding:16px}

  /* Phone frame still reads as a phone, without fighting the physical phone viewport. */
  .download-shell.download-theme-phone{padding:14px 8px 22px}
  .download-shell.download-theme-phone .download-normal-card{width:100%;max-width:372px;margin:6px auto 0;padding:52px 16px 28px;border-width:5px;border-radius:38px}
  .download-shell.download-theme-phone .download-normal-card::before{top:10px;width:78px;height:20px}
  .download-shell.download-theme-phone .download-normal-card::after{bottom:9px;width:88px;height:4px}
  .download-shell.download-theme-phone .download-card .download-hero .app-icon{width:82px;height:82px}
  .download-shell.download-theme-phone .download-qr{padding:15px;margin-top:20px}
  .download-shell.download-theme-phone .download-qr>.qr{width:138px;height:138px}
  .download-shell.download-theme-phone .download-details{margin-top:20px}

  /* Minimal: one clean reading rail. */
  .download-shell.download-theme-minimal{padding:22px 20px 26px}
  .download-shell.download-theme-minimal .download-normal-card{margin:0 auto}
  .download-shell.download-theme-minimal .download-overview,.download-shell.download-theme-minimal .download-overview.has-qr{display:flex;flex-direction:column;align-items:stretch;padding:22px 0 24px;gap:20px;border-bottom:1px solid #d9e4de}
  .download-shell.download-theme-minimal .download-hero{flex-direction:row;align-items:center;gap:16px}
  .download-shell.download-theme-minimal .download-card .download-hero .app-icon{width:66px;height:66px;flex-basis:66px}
  .download-shell.download-theme-minimal .download-card h1{font-size:31px}
  .download-shell.download-theme-minimal .download-install{width:100%;margin:0}
  .download-shell.download-theme-minimal .download-qr{flex-direction:row;align-items:center;gap:14px;width:100%;margin:0}
  .download-shell.download-theme-minimal .download-qr>.qr{width:76px;height:76px;flex:0 0 76px}
  .download-shell.download-theme-minimal .download-details{margin:26px 0 0}
  .download-shell.download-theme-minimal .download-details>.release-notes{padding:22px 0}
  .download-shell.download-theme-minimal .download-details>.release-notes:first-child{padding-top:0}

  /* QR poster: keep the poster identity, but avoid a giant full-width green slab. */
  .download-shell.download-theme-qr{padding:16px 10px 24px}
  .download-shell.download-theme-qr .download-normal-card{margin:8px auto 0;padding:10px;background:rgba(255,255,255,.76);border-radius:22px}
  .download-shell.download-theme-qr .download-overview.has-qr{display:flex;flex-direction:column;align-items:stretch;gap:18px;padding:22px 16px 18px;background:#fff;border-radius:16px}
  .download-shell.download-theme-qr .download-hero{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:16px;padding:0;text-align:left}
  .download-shell.download-theme-qr .download-card .download-hero .app-icon{width:76px;height:76px;flex-basis:76px;margin:0}
  .download-shell.download-theme-qr .download-card h1,.download-shell.download-theme-qr .download-meta{text-align:left}
  .download-shell.download-theme-qr .download-meta-line{justify-content:flex-start}
  .download-shell.download-theme-qr .download-install{padding:0;margin:0}
  .download-shell.download-theme-qr .download-install>.install-button{max-width:none}
  .download-shell.download-theme-qr .download-qr{width:auto;max-width:none;margin:0;padding:20px 16px;border-radius:16px;background:linear-gradient(145deg,#079a74,#0bad83)}
  .download-shell.download-theme-qr .download-qr>.qr{width:154px;height:154px;padding:9px;border-radius:13px}
  .download-shell.download-theme-qr .download-details{padding:24px 10px 10px}
  .download-shell.download-theme-qr .download-details .release-notes{padding:19px 0}

  /* Editorial: graceful when description exists and equally valid when it does not. */
  .download-shell.download-theme-intro{padding:16px 12px 24px}
  .download-shell.download-theme-intro .download-normal-card{margin:8px auto 0;border-radius:4px}
  .download-shell.download-theme-intro .download-overview,.download-shell.download-theme-intro .download-overview.has-qr{display:flex;flex-direction:column;align-items:stretch;gap:20px;padding:26px 20px;background:#fffdf9;border-bottom:1px solid #e7e0d4}
  .download-shell.download-theme-intro .download-hero{flex-direction:row;align-items:center;gap:16px}
  .download-shell.download-theme-intro .download-card .download-hero .app-icon{width:80px;height:80px;flex-basis:80px;margin:0}
  .download-shell.download-theme-intro .download-card h1{font-size:32px}
  .download-shell.download-theme-intro .download-install{max-width:none;margin:0}
  .download-shell.download-theme-intro .download-qr{padding:16px;margin:0;background:#f4f8f5}
  .download-shell.download-theme-intro .download-qr>.qr{width:140px;height:140px}
  .download-shell.download-theme-intro .download-details,.download-shell.download-theme-intro .download-details.no-intro{display:block;padding:24px 20px 28px;margin:0}
  .download-shell.download-theme-intro .download-details>.download-intro{padding:0 0 22px;border:0;border-bottom:1px solid #e5dfd5}
  .download-shell.download-theme-intro .download-details>.release-notes:not(.download-intro){padding:20px 0}
  .download-shell.download-theme-intro .download-details.no-intro>.release-notes:first-child{padding-top:0}

  /* Glass and game keep their identities but use compact QR/details cards. */
  .download-shell.download-theme-blue{padding:16px 10px 24px}
  .download-shell.download-theme-blue .download-normal-card{margin:8px auto 0;padding:18px 16px;border-radius:24px}
  .download-shell.download-theme-blue .download-qr{padding:18px}
  .download-shell.download-theme-blue .download-qr>.qr{width:150px;height:150px}
  .download-shell.download-theme-blue .download-details{margin-top:20px;gap:10px}
  .download-shell.download-theme-blue .download-details>.release-notes{padding:17px}

  .download-shell.download-theme-game{padding:16px 10px 24px}
  .download-shell.download-theme-game .download-normal-card{margin:8px auto 0;padding:24px 16px 22px;border-radius:22px}
  .download-shell.download-theme-game .download-card .download-hero .app-icon{width:96px;height:96px;flex-basis:96px}
  .download-shell.download-theme-game .download-card h1{font-size:32px}
  .download-shell.download-theme-game .download-qr{padding:18px}
  .download-shell.download-theme-game .download-qr>.qr{width:150px;height:150px}
  .download-shell.download-theme-game .download-details{margin-top:22px;gap:10px}
  .download-shell.download-theme-game .download-details>.release-notes{padding:17px}
}

/* v56.9.13.1: public download-only footer and stat wrapping.
 * Keep these selectors in the download template sheet so administrator list styles
 * remain strictly scoped to the admin dialog. */
.download-shell .download-report-footer{width:100%;max-width:680px;margin:18px auto 0;padding:18px 0 6px;border-top:1px solid rgba(30,90,66,.12);text-align:center}
.download-shell .download-report-footer .report-trigger{margin:0;min-width:108px;background:transparent;box-shadow:none}
.download-shell.download-theme-game .download-report-footer{border-color:rgba(173,219,193,.23)}
.download-shell.download-theme-game .download-report-footer .report-trigger{color:#bedbca;border-color:rgba(173,219,193,.28)}
.download-shell .download-stats strong{overflow-wrap:anywhere}


/* v56.9.15: QR presentation is intentionally bare in all eight templates.
 * Keep only the QR bitmap and its caption; no panel, tint, border, radius,
 * padding or decorative shadow may surround either element. */
.download-shell .download-qr,
.download-shell.download-theme-classic .download-qr,
.download-shell.download-theme-data .download-qr,
.download-shell.download-theme-phone .download-qr,
.download-shell.download-theme-minimal .download-qr,
.download-shell.download-theme-qr .download-qr,
.download-shell.download-theme-intro .download-qr,
.download-shell.download-theme-blue .download-qr,
.download-shell.download-theme-game .download-qr{
  background:transparent!important;
  background-image:none!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  padding:0!important;
}
.download-shell .download-qr>.qr,
.download-shell.download-theme-classic .download-qr>.qr,
.download-shell.download-theme-data .download-qr>.qr,
.download-shell.download-theme-phone .download-qr>.qr,
.download-shell.download-theme-minimal .download-qr>.qr,
.download-shell.download-theme-qr .download-qr>.qr,
.download-shell.download-theme-intro .download-qr>.qr,
.download-shell.download-theme-blue .download-qr>.qr,
.download-shell.download-theme-game .download-qr>.qr{
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  padding:0!important;
}
.download-shell.download-theme-qr .download-scan-caption{color:var(--muted)!important}
.download-shell.download-theme-game .download-scan-caption{color:#b5d4c3!important}

/* v56.9.16.2 FIX21: keep the primary download/status button optically centered on narrow screens. */
@media(max-width:650px){
  .download-shell .download-overview>.download-install,
  .download-shell .download-overview.has-qr>.download-install,
  .download-shell.download-theme-classic .download-install,
  .download-shell.download-theme-data .download-install,
  .download-shell.download-theme-phone .download-install,
  .download-shell.download-theme-minimal .download-install,
  .download-shell.download-theme-qr .download-install,
  .download-shell.download-theme-intro .download-install,
  .download-shell.download-theme-blue .download-install,
  .download-shell.download-theme-game .download-install{
    box-sizing:border-box!important;
    width:100%!important;
    max-width:100%!important;
    margin-left:auto!important;
    margin-right:auto!important;
    padding-left:0!important;
    padding-right:0!important;
    align-self:center!important;
    justify-self:center!important;
  }
  .download-shell .download-install>.install-button{
    box-sizing:border-box!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    max-width:100%!important;
    margin-left:auto!important;
    margin-right:auto!important;
    text-align:center!important;
  }
}

/* Data template: desktop download action belongs below the QR column. */
@media(min-width:901px){
 .download-shell.download-theme-data .download-overview.has-qr{grid-template-areas:"hero qr" "stats qr" ". install"}
 .download-shell.download-theme-data .download-overview.has-qr>.download-install{width:100%;max-width:320px;margin:0 auto;justify-self:center;text-align:center}
 .download-shell.download-theme-data .download-overview.has-qr>.download-install>.install-button{width:100%}
 .download-shell.download-theme-data .download-overview.has-qr>.download-install .download-install-help{text-align:center}
}
/* Inline report choices stay inside the dialog at every viewport and zoom level. */
.report-dialog .report-category-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;min-width:0;margin:0 0 16px;padding:0;border:0}
.report-dialog .report-category-picker legend{margin-bottom:8px;font-size:14px}
.report-dialog .report-category-picker label{display:flex;align-items:center;gap:8px;min-width:0;margin:0;padding:10px 12px;border:1px solid #dbe6e0;border-radius:7px;font-size:14px;line-height:1.5;cursor:pointer}
.report-dialog .report-category-picker label:has(input:checked){border-color:#069e76;background:#edf9f4;color:#08795b}
.report-dialog .report-category-picker input{flex:0 0 16px;width:16px;height:16px;margin:0;accent-color:#069e76}
.report-dialog .report-category-picker label:focus-within{outline:2px solid #069e7650;outline-offset:1px}
@media(max-width:360px){.report-dialog .report-category-picker{grid-template-columns:1fr}}

/* Clean app-distribution layout: focused identity, install action and supporting QR. */
.download-shell.download-theme-data{background:#fff;min-height:100vh;min-height:100svh;box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:48px 24px}
.download-shell.download-theme-data>*{flex-shrink:0}
.download-shell.download-theme-data .download-normal-card{display:grid;grid-template-columns:minmax(0,1fr) 220px;column-gap:56px;row-gap:20px;width:100%;max-width:960px;box-sizing:border-box;margin:0 auto;padding:0;border:0;border-radius:0;background:none;box-shadow:none}
.download-data-main,.download-data-aside{display:contents}
.download-shell.download-theme-data .download-hero{grid-column:1;grid-row:1;flex-direction:column;align-items:center;text-align:center;border:0;padding:0;gap:16px}
.download-shell.download-theme-data .download-card .download-hero .app-icon{width:96px;height:96px;flex-basis:96px;border-radius:22px}
.download-shell.download-theme-data .download-card h1{font-size:30px;font-weight:600;line-height:1.3;text-align:center}
.download-shell.download-theme-data .download-meta{margin-top:8px;text-align:center}
.download-shell.download-theme-data .download-meta-line{justify-content:center}
.download-shell.download-theme-data .download-meta-line>span:not(.tag),.download-shell.download-theme-data .download-meta-line:nth-child(2){display:none}
.download-shell.download-theme-data .download-stats{grid-column:1;grid-row:2;display:flex;flex-wrap:wrap;justify-content:center;gap:8px 18px}
.download-shell.download-theme-data .download-stats>span{display:flex;align-items:baseline;gap:5px;border:0;border-radius:0;padding:0;background:none;font-size:13px;line-height:1.6;color:#87918d}
.download-shell.download-theme-data .download-stats strong{font-size:13px;font-weight:400;line-height:1.6;margin:0;color:#626e68;word-break:normal}
.download-shell.download-theme-data .download-data-aside .download-install{grid-column:1;grid-row:3;display:flex;flex-direction:column;align-items:center;gap:12px;width:100%;margin:0;max-width:none;text-align:center}
.download-shell.download-theme-data .download-data-aside .install-button{width:220px;max-width:100%;min-height:48px;padding:12px 24px;font-size:16px;border-radius:24px;box-shadow:none}
.download-shell.download-theme-data .download-data-aside .download-install-help{margin:0;font-size:13px;line-height:1.6;color:#87918d;text-align:center}
.download-shell.download-theme-data .download-data-aside .download-qr{grid-column:2;grid-row:1 / 4;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;width:100%;margin:0;align-self:center}
.download-shell.download-theme-data .download-data-aside .app-qr-code{width:180px;height:180px}
.download-shell.download-theme-data .download-data-aside .download-scan-caption{margin:0;font-size:12px;line-height:1.6;color:#87918d;text-align:center}
.download-shell.download-theme-data .download-data-main>.download-details{grid-column:1 / -1;grid-row:4;display:flex;flex-direction:column;gap:24px;width:100%;max-width:none;margin:18px 0 0;padding:28px 0 0;border:0;border-top:1px solid #edf0ee}
.download-shell.download-theme-data .download-details>.release-notes{margin:0;padding:0;background:none;border:0;border-radius:0}
.download-shell.download-theme-data .download-details h3{margin:0 0 12px;font-size:17px;font-weight:600}
.download-shell.download-theme-data .download-details p{margin:0;font-size:15px;line-height:1.85;color:#78837d}
.download-shell.download-theme-data .download-details>.download-checksum{padding-top:16px;border-top:1px solid #edf0ee;font-size:12px;color:#87918d}
.download-shell.download-theme-data .footer-mini{margin-top:28px;font-size:12px;color:#98a19c}
.download-shell.download-theme-data .download-report-footer{width:100%;max-width:960px;box-sizing:border-box;margin-top:12px;padding-top:0;border:0}
.download-shell.download-theme-data .report-trigger{border:0;background:none;box-shadow:none;font-size:12px;font-weight:400;color:#87918d}
@media(max-width:700px){
 .download-shell.download-theme-data{padding:40px 24px 28px}
 .download-shell.download-theme-data .download-normal-card{display:flex;flex-direction:column;gap:16px}
 .download-shell.download-theme-data .download-hero{order:0}
 .download-shell.download-theme-data .download-card .download-hero .app-icon{width:84px;height:84px;flex-basis:84px;border-radius:20px}
 .download-shell.download-theme-data .download-card h1{font-size:26px}
 .download-shell.download-theme-data .download-stats{order:1;gap:6px 12px}
 .download-shell.download-theme-data .download-data-aside .download-install{order:2}
 .download-shell.download-theme-data .download-data-aside .download-qr{order:3;margin-top:8px}
 .download-shell.download-theme-data .download-data-aside .app-qr-code{width:120px;height:120px}
 .download-shell.download-theme-data .download-data-main>.download-details{order:4;margin-top:8px;padding-top:22px;gap:20px}
 .download-shell.download-theme-data .download-details p{font-size:14px}
}

/* v178: seven clean distribution compositions, isolated from legacy theme layouts. */
.download-shell.download-redesign-v178{--dist-accent:#079d79;--dist-text:#263e34;--dist-muted:#748078;--dist-line:#e8eeea;min-height:100vh;min-height:100svh;display:flex;flex-direction:column;justify-content:center;align-items:center;box-sizing:border-box;padding:48px 24px;background:#fff;color:var(--dist-text)}
.download-shell.download-redesign-v178>*{flex-shrink:0;box-sizing:border-box}
.download-shell.download-redesign-v178 .distribution-card{width:100%;max-width:960px;margin:0 auto;padding:0;border:0;border-radius:0;background:none;box-shadow:none;backdrop-filter:none;overflow:visible;text-align:left;color:var(--dist-text)}
.download-shell.download-redesign-v178 .distribution-card::before,.download-shell.download-redesign-v178 .distribution-card::after{content:none;display:none}
.download-shell.download-redesign-v178 .distribution-overview{display:grid;grid-template-columns:minmax(0,1fr) 220px;grid-template-areas:'hero qr' 'install qr';gap:24px 48px;align-items:center;padding:0;border:0;background:none}
.download-shell.download-redesign-v178 .distribution-overview:not(.has-qr){grid-template-columns:1fr;grid-template-areas:'hero' 'install'}
.download-shell.download-redesign-v178 .distribution-hero{grid-area:hero;display:flex;flex-direction:column;align-items:center;gap:18px;min-width:0;text-align:center}
.download-shell.download-redesign-v178 .distribution-hero>.app-icon{width:96px;height:96px;flex:0 0 96px;margin:0;border-radius:22px;box-shadow:none;object-fit:contain}
.download-shell.download-redesign-v178 .distribution-card h1{margin:0;font-size:30px;font-weight:600;line-height:1.3;letter-spacing:0;color:var(--dist-text);overflow-wrap:anywhere;text-align:inherit}
.download-shell.download-redesign-v178 .distribution-card .download-meta{margin:12px 0 0;font-size:13px;color:var(--dist-muted);text-align:inherit}
.download-shell.download-redesign-v178 .distribution-card .download-meta-line{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 12px;line-height:1.7;color:var(--dist-muted)}
.download-shell.download-redesign-v178 .distribution-card .tag{background:#eef8f3;color:var(--dist-accent);font-size:12px;border:0}
.download-shell.download-redesign-v178 .distribution-overview>.download-install{grid-area:install;width:100%;max-width:none;min-width:0;margin:0;padding:0;display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center}
.download-shell.download-redesign-v178 .distribution-overview>.download-install>.install-button{width:240px!important;max-width:100%!important;min-height:48px;margin:0;padding:12px 22px;border:0;border-radius:24px;background:var(--dist-accent);color:#fff;box-shadow:none;font-size:16px;font-weight:600;display:flex;align-items:center;justify-content:center;gap:8px}
.download-shell.download-redesign-v178 .distribution-card .download-install-help{margin:0;font-size:13px;line-height:1.6;text-align:center;color:var(--dist-muted)}
.download-shell.download-redesign-v178 .distribution-overview>.download-qr{grid-area:qr;width:100%;max-width:none;margin:0;display:flex;flex-direction:column;align-items:center;justify-content:center;align-self:center;gap:12px;color:var(--dist-muted)}
.download-shell.download-redesign-v178 .distribution-overview>.download-qr>.app-qr-code{width:176px;height:176px;flex:0 0 auto}
.download-shell.download-redesign-v178 .distribution-card .download-scan-caption{max-width:220px;margin:0;font-size:12px;line-height:1.7;text-align:center;color:var(--dist-muted)!important}
.download-shell.download-redesign-v178 .distribution-details{width:100%;min-width:0;display:flex;flex-direction:column;gap:24px;margin:36px 0 0;padding:28px 0 0;border-top:1px solid var(--dist-line);text-align:left}
.download-shell.download-redesign-v178 .distribution-details>.release-notes{margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;min-width:0;color:var(--dist-muted)}
.download-shell.download-redesign-v178 .distribution-details h3{margin:0 0 12px;font-size:17px;font-weight:600;letter-spacing:0;color:var(--dist-text)}
.download-shell.download-redesign-v178 .distribution-details p{margin:0;font-size:15px;line-height:1.85;color:var(--dist-muted);overflow-wrap:anywhere}
.download-shell.download-redesign-v178 .distribution-details>.download-checksum{border-top:1px solid var(--dist-line);padding-top:16px;font-size:12px}
.download-shell.download-redesign-v178 .distribution-details .download-version-row{border-color:var(--dist-line)}
.download-shell.download-redesign-v178 .footer-mini{margin:26px 0 0;font-size:12px;color:var(--dist-muted)}
.download-shell.download-redesign-v178 .download-report-footer{max-width:960px;margin:12px 0 0;padding:0;border:0;text-align:center}
.download-shell.download-redesign-v178 .download-report-footer .report-trigger{border:0;background:none;box-shadow:none;font-size:12px;font-weight:400;color:var(--dist-muted)}
/* Classic: a single centered column. */
.download-shell.download-theme-classic.download-redesign-v178 .distribution-card{max-width:760px}
.download-shell.download-theme-classic.download-redesign-v178 .distribution-overview{grid-template-columns:1fr;grid-template-areas:'hero' 'install' 'qr';gap:22px}
.download-shell.download-theme-classic.download-redesign-v178 .distribution-overview>.download-qr>.app-qr-code{width:140px;height:140px}
/* Compact: a modest reading panel, without a decorative phone frame. */
.download-shell.download-theme-phone.download-redesign-v178{background:#f7f9f8}
.download-shell.download-theme-phone.download-redesign-v178 .distribution-card{max-width:560px;padding:30px;background:#fff;border:1px solid #e7ede9;border-radius:12px}
.download-shell.download-theme-phone.download-redesign-v178 .distribution-overview{grid-template-columns:1fr;grid-template-areas:'hero' 'install' 'qr';gap:20px}
.download-shell.download-theme-phone.download-redesign-v178 .distribution-hero{flex-direction:row;text-align:left;gap:16px}
.download-shell.download-theme-phone.download-redesign-v178 .distribution-hero>.app-icon{width:72px;height:72px;flex-basis:72px;border-radius:17px}
.download-shell.download-theme-phone.download-redesign-v178 .distribution-card h1{font-size:25px}
.download-shell.download-theme-phone.download-redesign-v178 .download-meta-line{justify-content:flex-start}
.download-shell.download-theme-phone.download-redesign-v178 .distribution-overview>.download-qr>.app-qr-code{width:128px;height:128px}
/* Minimal: app identity and download controls on separate rails. */
.download-shell.download-theme-minimal.download-redesign-v178 .distribution-overview{grid-template-columns:minmax(0,1fr) 260px;grid-template-areas:'hero install' 'hero qr';gap:20px 48px}
.download-shell.download-theme-minimal.download-redesign-v178 .distribution-hero{flex-direction:row;text-align:left}
.download-shell.download-theme-minimal.download-redesign-v178 .download-meta-line{justify-content:flex-start}
.download-shell.download-theme-minimal.download-redesign-v178 .distribution-overview>.download-qr>.app-qr-code{width:128px;height:128px}
/* Scan first: generous QR with a clear app identity beside it. */
.download-shell.download-theme-qr.download-redesign-v178 .distribution-overview{grid-template-columns:280px minmax(0,1fr);grid-template-areas:'qr hero' 'qr install'}
.download-shell.download-theme-qr.download-redesign-v178 .distribution-overview>.download-qr>.app-qr-code{width:224px;height:224px}
/* Introduction: compact header above a wide, readable description. */
.download-shell.download-theme-intro.download-redesign-v178 .distribution-hero{flex-direction:row;text-align:left}
.download-shell.download-theme-intro.download-redesign-v178 .download-meta-line{justify-content:flex-start}
.download-shell.download-theme-intro.download-redesign-v178 .distribution-overview>.download-install{align-items:flex-start}
.download-shell.download-theme-intro.download-redesign-v178 .distribution-details>.download-intro{padding:0;border:0}
.download-shell.download-theme-intro.download-redesign-v178 .distribution-details>.download-intro p{font-size:16px;line-height:1.9}
/* Blue: the same restrained hierarchy with a cool accent. */
.download-shell.download-theme-blue.download-redesign-v178{--dist-accent:#2584cb;background:#f7fbff}
.download-shell.download-theme-blue.download-redesign-v178 .distribution-card{padding:32px;background:#fff;border-top:3px solid #2584cb}
.download-shell.download-theme-blue.download-redesign-v178 .distribution-card .tag{background:#edf6fd}
/* Dark: neutral dark surface, no neon or oversized promotion blocks. */
.download-shell.download-theme-game.download-redesign-v178{--dist-accent:#079d79;--dist-text:#eaf0ed;--dist-muted:#a8b6ae;--dist-line:#34433c;background:#1c2722}
.download-shell.download-theme-game.download-redesign-v178 .distribution-card .tag{background:#283f33;color:#a5ddc3}
.download-shell.download-theme-game.download-redesign-v178 .textlink{color:#8ad5b5}
.download-shell.download-theme-game.download-redesign-v178 .distribution-hero{flex-direction:row;text-align:left}
.download-shell.download-theme-game.download-redesign-v178 .download-meta-line{justify-content:flex-start}
.download-shell.download-theme-game.download-redesign-v178 .distribution-overview>.download-install{align-items:flex-start}
/* All no-QR variants use the whole available width. */
.download-shell.download-redesign-v178 .distribution-card>.distribution-overview:not(.has-qr){grid-template-columns:1fr;grid-template-areas:'hero' 'install'}
@media(max-width:700px){
 .download-shell.download-redesign-v178{padding:36px 22px 24px}
 .download-shell.download-redesign-v178 .distribution-card{width:100%;padding:0;border:0;border-radius:0;background:none}
 .download-shell.download-redesign-v178 .distribution-card>.distribution-overview{display:flex;flex-direction:column;align-items:stretch;gap:22px;padding:0}
 .download-shell.download-redesign-v178 .distribution-card .distribution-hero{order:0;flex-direction:column;align-items:center;text-align:center;gap:16px}
 .download-shell.download-redesign-v178 .distribution-card .distribution-hero>.app-icon{width:84px;height:84px;flex-basis:84px;border-radius:20px}
 .download-shell.download-redesign-v178 .distribution-card h1{font-size:26px;text-align:center}
 .download-shell.download-redesign-v178 .distribution-card .download-meta-line{justify-content:center}
 .download-shell.download-redesign-v178 .distribution-card>.distribution-overview>.download-install{order:1;align-items:center}
 .download-shell.download-redesign-v178 .distribution-card .download-qr{order:2}
 .download-shell.download-redesign-v178 .distribution-overview>.download-qr>.app-qr-code{width:128px;height:128px}
 .download-shell.download-theme-qr.download-redesign-v178 .distribution-overview>.download-qr>.app-qr-code{width:168px;height:168px}
 .download-shell.download-redesign-v178 .distribution-details{margin-top:28px;padding-top:22px;gap:20px}
 .download-shell.download-redesign-v178 .distribution-details p,.download-shell.download-theme-intro.download-redesign-v178 .distribution-details>.download-intro p{font-size:14px;line-height:1.85}
 .download-shell.download-theme-phone.download-redesign-v178 .distribution-card{padding:22px 18px;background:#fff;border:1px solid #e7ede9;border-radius:10px}
 .download-shell.download-theme-blue.download-redesign-v178 .distribution-card{border-top:3px solid #2584cb;padding-top:24px}
}

/* Empty introduction and screenshot sections must not leave divider lines. */
.download-shell.download-redesign-v178 .distribution-details.no-intro.no-previews,
.download-shell.download-theme-data .download-details.no-intro.no-previews{border-top:0;padding-top:0}
.download-shell.download-redesign-v178 .distribution-details.no-intro.no-previews>.download-checksum:first-child,
.download-shell.download-theme-data .download-details.no-intro.no-previews>.download-checksum:first-child{border-top:0;padding-top:0}

/* Official platform marks share the label baseline across download templates. */
.download-shell .download-platform-tag{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;}
.download-shell .download-platform-tag img{display:block;width:18px;height:18px;object-fit:contain;flex:0 0 18px;}

/* Shared WeChat browser handoff for all eight download templates. */
.wechat-download-guide{position:fixed;inset:0;z-index:10000;background:rgba(12,24,22,.84);color:#fff;overflow:auto;overscroll-behavior:contain;text-align:left;padding:160px 24px 32px;padding-top:max(160px,env(safe-area-inset-top));box-sizing:border-box;}
.wechat-download-guide .wechat-guide-arrow{position:absolute;top:18px;right:22px;width:100px;height:125px;color:#fff;}
.wechat-guide-content{width:100%;max-width:420px;margin:0 auto;}
.wechat-download-guide h2{color:#fff;font-size:25px;line-height:1.4;margin:0 0 12px;font-weight:650;}
.wechat-download-guide p{color:rgba(255,255,255,.78);font-size:15px;line-height:1.7;margin:0;}
.wechat-download-guide ol{list-style:none;padding:0;margin:30px 0 22px;display:grid;gap:24px;}
.wechat-download-guide li{display:flex;gap:14px;align-items:center;font-size:18px;line-height:1.6;}
.wechat-download-guide li>span{display:grid;place-items:center;width:30px;height:30px;flex:0 0 30px;border-radius:50%;background:#00a985;color:#fff;font-weight:600;}
.wechat-guide-dots{display:inline-block;line-height:24px;padding:0 9px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.32);border-radius:6px;letter-spacing:2px;}
.wechat-download-guide button{display:block;margin:30px 0 0;padding:10px 24px;min-height:44px;background:transparent;border:1px solid rgba(255,255,255,.5);border-radius:8px;color:#fff;font:inherit;cursor:pointer;}
.wechat-download-guide button:focus-visible{outline:2px solid #fff;outline-offset:4px;}
@media(max-height:520px){.wechat-download-guide{padding-top:42px;padding-right:125px;}.wechat-download-guide ol{margin:16px 0;gap:12px;}}

.wechat-download-guide .wechat-copy-status{margin-top:14px;font-size:14px;}
.wechat-download-guide .wechat-copy-link{box-sizing:border-box;width:100%;min-height:76px;margin-top:12px;padding:12px;border:1px solid rgba(255,255,255,.4);border-radius:8px;background:rgba(255,255,255,.1);color:#fff;font:14px/1.6 Arial,sans-serif;resize:none;word-break:break-all;}
.wechat-download-guide .wechat-copy-link[hidden]{display:none;}
