/* Applinko Android 1.4 — product-grade catalog. Mobile-first. */

:root {
	--al-primary: #ff5a1f;
	--al-primary-dark: #e0441a;
	--al-green: #1f9d55;
	--al-ink: #111318;
	--al-muted: #4b5563;
	--al-line: #e6e8ec;
	--al-paper: #fff;
	--al-canvas: #f5f6f8;
	--al-max: 1120px;
	--al-header: 60px;
	--al-radius: 16px;
	--al-font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	--al-display: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	--al-shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 8px 24px rgba(16, 24, 40, 0.04);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	color: var(--al-ink);
	font-family: var(--al-font);
	font-size: 16px;
	line-height: 1.5;
	background: var(--al-canvas);
	-webkit-font-smoothing: antialiased;
}
.site-main img,
.app-icon,
.brand img,
.shot img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
	outline: 2px solid var(--al-primary);
	outline-offset: 2px;
}

.catalog-search {
	display: flex; align-items: center; gap: 8px; max-width: 520px;
	margin: 16px auto 0; padding: 8px; background: var(--al-paper);
	border: 1px solid var(--al-line); border-radius: 16px;
}
.catalog-search svg { width: 18px; height: 18px; color: var(--al-muted); flex: 0 0 18px; }
.catalog-search input { flex: 1; min-width: 0; height: 40px; border: 0; background: transparent; outline: none; }
h1, h2, h3, h4 { font-family: var(--al-display); line-height: 1.2; margin: 0 0 0.45em; }
p { margin: 0 0 1em; }
button, input, textarea, select { font: inherit; }

.container {
	width: min(100% - 32px, var(--al-max));
	margin-inline: auto;
}

.screen-reader-text {
	position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0);
}
.skip-link {
	position: absolute; left: -999px; top: 8px; z-index: 300;
	padding: 10px 14px; background: #fff; color: var(--al-ink);
	border-radius: 8px; font-weight: 700;
}
.skip-link:focus {
	left: 12px;
}

/* Header */
.site-header {
	background: rgba(255, 255, 255, 0.88);
	backdrop-filter: saturate(1.4) blur(14px);
	-webkit-backdrop-filter: saturate(1.4) blur(14px);
	border-bottom: 1px solid var(--al-line);
	z-index: 80;
}
.has-sticky-header .site-header { position: sticky; top: 0; }
.site-header__inner {
	height: var(--al-header);
	display: flex;
	align-items: center;
	gap: 8px;
}
.icon-btn, .header-user {
	width: 48px; height: 48px; flex: 0 0 48px;
	border: 0; border-radius: 12px;
	background: transparent; color: var(--al-ink);
	display: grid; place-items: center; cursor: pointer;
}
.brand { min-width: 0; flex: 1; }
.brand__mark, .custom-logo-link {
	display: inline-flex; align-items: center; gap: 8px;
	color: var(--al-ink); font-family: var(--al-display); font-weight: 700;
	font-size: 1.05rem; max-width: 100%;
}
.custom-logo-link img { height: 32px; width: auto; max-width: 140px; object-fit: contain; }
.brand__badge {
	width: 28px; height: 28px; border-radius: 9px;
	background: var(--al-primary); color: #fff; display: grid; place-items: center; flex: 0 0 28px;
}
.brand__badge svg { width: 16px; height: 16px; }
.brand__name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.header-search { display: none; }
.search-toggle { margin-left: auto; }

/* Off-canvas nav */
.site-nav {
	position: fixed; inset: 0 auto 0 0; width: min(82vw, 320px);
	background: #fff; z-index: 120;
	transform: translateX(-105%);
	transition: transform .22s ease;
	padding: 16px;
	box-shadow: 12px 0 40px rgba(0,0,0,.12);
	overflow-y: auto;
}
.site-nav.is-open { transform: translateX(0); }
.nav-close { margin-bottom: 12px; }
.site-nav__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.nav-backdrop {
	position: fixed; inset: 0; background: rgba(17,18,20,.45); z-index: 110;
}
.nav-backdrop[hidden] { display: none; }

.site-nav__list .menu-item { position: relative; }
.site-nav__link {
	display: flex; align-items: center; gap: 4px;
	padding: 12px 8px; font-weight: 650; border-radius: 10px;
	color: inherit;
}
.site-nav__link:hover { background: var(--al-canvas); }
.site-nav__caret { display: none; opacity: .7; }
.site-nav__caret svg { width: 14px; height: 14px; }
.site-nav__more {
	display: inline-flex; align-items: center; justify-content: center;
	width: 40px; height: 40px; margin-left: auto; border: 0;
	border-radius: 10px; background: var(--al-canvas); color: inherit; cursor: pointer;
}
.site-nav__list > .menu-item { display: flex; flex-wrap: wrap; align-items: center; }
.site-nav__list > .menu-item > .site-nav__link { flex: 1; }
.site-nav .sub-menu {
	display: none; list-style: none; margin: 0; padding: 6px 0 6px 12px;
	width: 100%; flex-basis: 100%;
}
.site-nav .menu-item-has-children.is-open > .sub-menu { display: grid; gap: 2px; }
.site-nav .menu-item-has-children.is-open > .site-nav__more { background: #eceef2; }
.site-nav .sub-menu .site-nav__link { font-weight: 550; font-size: 0.94rem; color: var(--al-muted); }

.search-sheet {
	position: absolute; left: 0; right: 0; top: 100%;
	background: #fff; border-bottom: 1px solid var(--al-line);
	padding: 10px 16px 14px; z-index: 90;
}
.search-sheet[hidden] { display: none; }
.search-sheet__form { display: flex; gap: 8px; align-items: center; }
.search-sheet__form input {
	flex: 1; min-width: 0; height: 44px; border: 1px solid var(--al-line);
	border-radius: 12px; padding: 0 12px; background: var(--al-canvas);
}

body.header-style-orange .site-header { background: var(--al-primary); border-bottom-color: transparent; }
body.header-style-orange .brand__mark,
body.header-style-orange .icon-btn,
body.header-style-orange .header-user { color: #fff; }
body.header-style-orange .brand__badge { background: rgba(255,255,255,.2); }

/* Breadcrumbs */
.breadcrumbs { padding: 12px 0 0; color: var(--al-muted); font-size: 0.8rem; }
.breadcrumbs__list { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.breadcrumbs__list li:not(:last-child)::after { content: "/"; margin-left: 6px; color: #c3c7ce; }

/* Buttons */
.btn-install {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	width: 100%; min-height: 46px; padding: 0 18px;
	border: 0; border-radius: 12px;
	background: var(--al-primary); color: #fff !important;
	font-family: var(--al-display); font-weight: 650; font-size: 0.94rem;
	letter-spacing: -0.01em;
}
.btn-install:hover { background: var(--al-primary-dark); color: #fff !important; }
.btn-install svg { width: 18px; height: 18px; }
.btn-install--small { width: auto; min-height: 44px; padding: 0 16px; font-size: 0.88rem; font-weight: 650; }

/* Homepage */
.store-home { padding-bottom: 48px; }
.home-hero { padding: 36px 0 8px; text-align: center; }
.home-hero__kicker {
	margin: 0 0 10px;
	font-size: 0.8125rem; font-weight: 700; letter-spacing: .12em;
	text-transform: uppercase; color: #c2410c;
}
.home-hero h1 {
	margin: 0 auto 12px; max-width: 18em;
	font-size: clamp(1.55rem, 6.2vw, 2.55rem);
	font-weight: 750; letter-spacing: -0.045em; line-height: 1.15;
	overflow-wrap: anywhere; text-wrap: balance;
}
.home-hero__lede {
	margin: 0 auto; max-width: 46ch;
	color: var(--al-muted); font-size: 1.02rem; line-height: 1.55;
}
.home-hero__search {
	margin: 22px auto 0; display: flex; align-items: center; gap: 8px;
	max-width: 520px; height: 52px; padding: 6px 6px 6px 16px;
	background: var(--al-paper); border: 1px solid var(--al-line);
	border-radius: 16px; box-shadow: var(--al-shadow);
}
.home-hero__search svg { width: 18px; height: 18px; color: var(--al-muted); flex: 0 0 18px; }
.home-hero__search input {
	flex: 1; min-width: 0; height: 40px; border: 0; background: transparent; outline: none;
}
.home-hero__search .btn-install { flex: 0 0 auto; }

.pick-grid { display: grid; gap: 12px; }
.pick-card {
	display: flex; align-items: center; gap: 12px;
	padding: 16px; background: var(--al-paper);
	border: 1px solid var(--al-line); border-radius: 20px;
}
.pick-card__main {
	display: flex; align-items: center; gap: 14px; min-width: 0; flex: 1; color: inherit;
}
.pick-card__icon, .pick-card .app-icon {
	width: 72px; height: 72px; flex: 0 0 72px; border-radius: 22%; object-fit: cover;
}
.pick-card__copy { min-width: 0; display: grid; gap: 3px; }
.pick-card__copy strong {
	font-size: 1rem; font-weight: 700; letter-spacing: -0.02em;
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pick-card__copy em { color: var(--al-muted); font-style: normal; font-size: 0.84rem; }
.pick-card__meta {
	display: flex; flex-wrap: wrap; gap: 8px 12px;
	color: var(--al-muted); font-size: 0.81rem; font-weight: 600;
}
.pick-card__meta svg { width: 12px; height: 12px; fill: #f5b301; vertical-align: -1px; }

.shelf-block { padding: 22px 0 4px; }
.shelf-block--feature { padding-top: 28px; }
.shelf-block__head {
	display: flex; justify-content: space-between; align-items: baseline;
	margin-bottom: 14px;
}
.shelf-block__head h2 {
	margin: 0; font-size: 1.18rem; font-weight: 750; letter-spacing: -0.03em;
}
.shelf-more {
	color: var(--al-muted); font-weight: 650; font-size: 0.88rem;
	min-height: 44px; display: inline-flex; align-items: center; padding: 8px 4px;
}
.shelf-more:hover { color: var(--al-ink); }
.shelf-wrap { position: relative; }
.shelf {
	display: flex; gap: 16px; overflow-x: auto; -webkit-overflow-scrolling: touch;
	scroll-snap-type: x proximity; padding: 4px 16px 18px;
	scrollbar-width: none;
}
.shelf::-webkit-scrollbar { display: none; }
.shelf--inset { padding-left: 0; padding-right: 0; }

.shelf-app {
	flex: 0 0 84px; width: 84px; scroll-snap-align: start;
	display: flex; flex-direction: column; align-items: center; gap: 7px;
	color: inherit; text-align: center;
}
.shelf-app__icon { position: relative; width: 72px; height: 72px; }
.shelf-app__img, .shelf-app .app-icon {
	width: 72px; height: 72px; border-radius: 22%; object-fit: cover;
	box-shadow: 0 1px 2px rgba(16,24,40,.08);
}
.shelf-app__name {
	font-size: 0.81rem; font-weight: 700; line-height: 1.25;
	max-width: 84px; height: 2.5em;
	overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.shelf-app__rating {
	display: inline-flex; align-items: center; gap: 3px; margin-top: -2px;
	color: var(--al-muted); font-size: 0.75rem; font-weight: 650;
}
.shelf-app__rating svg { width: 11px; height: 11px; fill: #f5b301; }

.app-tile {
	flex: 0 0 92px; width: 92px; scroll-snap-align: start;
	display: flex; flex-direction: column; align-items: center; gap: 8px; color: inherit;
	text-align: center;
}
.app-tile__icon {
	width: 72px; height: 72px;
	display: grid; place-items: center;
}
.app-tile__icon, .app-tile__img {
	width: 72px; height: 72px; object-fit: cover; background: #fff;
}
.app-tile__name {
	font-size: 0.78rem; font-weight: 650; line-height: 1.25;
	height: 2.5em; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.app-tile__rating { display: flex; align-items: center; justify-content: center; gap: 3px; font-size: 0.75rem; color: var(--al-muted); }
.app-tile__rating svg { width: 12px; height: 12px; fill: #f5b301; color: #f5b301; }

.editorial-block { padding: 8px 0 28px; }
.editorial-grid { display: grid; gap: 12px; }
.editorial-card {
	display: grid; gap: 10px; background: var(--al-paper); border-radius: 18px;
	overflow: hidden; border: 1px solid var(--al-line); color: inherit;
}
.editorial-card__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #eef0f3; }
.editorial-card__img { width: 100%; height: 100%; object-fit: cover; }
.editorial-card__body { display: grid; gap: 6px; padding: 0 14px 14px; }
.editorial-card__body strong { font-size: 1rem; }
.editorial-card__body em { color: var(--al-muted); font-style: normal; font-size: 0.86rem; }

.page-store {
	background: var(--al-paper); border-radius: 20px; border: 1px solid var(--al-line);
	padding: 0 0 28px; margin: 16px auto 36px; overflow: hidden; max-width: 760px;
}
.page-store__cover { margin: 0; }
.page-store__img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.page-store__head { padding: 22px 22px 0; }
.page-store__head h1 { font-size: clamp(1.4rem, 4vw, 2rem); letter-spacing: -0.03em; }
.page-store__meta { color: var(--al-muted); font-size: 0.85rem; margin: 0 0 8px; }
.page-store__body { padding: 8px 22px 0; color: #3c4149; }

.trust-row { display: grid; gap: 10px; padding: 28px 0 8px; }
.trust-item {
	display: flex; gap: 12px; align-items: flex-start;
	background: var(--al-paper); border: 1px solid var(--al-line);
	border-radius: var(--al-radius); padding: 16px;
}
.trust-item svg { width: 22px; height: 22px; color: var(--al-primary); flex: 0 0 22px; margin-top: 2px; }
.trust-item strong { display: block; font-size: 0.92rem; }
.trust-item span { color: var(--al-muted); font-size: 0.82rem; }

/* App page */
.app-page { padding: 12px 0 28px; }
.app-head {
	background: var(--al-paper); border-radius: 20px; padding: 18px;
	border: 1px solid var(--al-line); margin-bottom: 12px;
}
.app-head__top { display: flex; gap: 14px; align-items: flex-start; }
.app-head__icon, .app-head__img {
	width: 80px; height: 80px; flex: 0 0 80px; border-radius: 18px; object-fit: cover; background: #eef0f3;
}
.app-head__copy { min-width: 0; flex: 1; }
.app-head__title {
	font-size: clamp(1.15rem, 4.6vw, 1.7rem);
	letter-spacing: -0.03em; margin: 0 0 6px;
	overflow-wrap: anywhere;
}
.app-head__dev { margin: 0 0 8px; color: var(--al-muted); font-size: 0.88rem; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.app-head__stats {
	display: flex; flex-wrap: wrap; gap: 8px 12px;
	color: var(--al-muted); font-size: 0.8rem;
}
.app-head__stats strong { color: var(--al-ink); font-style: normal; }
.app-head__stats em { font-style: normal; }
.app-head__meta-line { margin: 8px 0 0; color: var(--al-muted); font-size: 0.84rem; font-weight: 600; }
.app-head__cta { margin-top: 14px; display: grid; gap: 8px; justify-items: start; }
.report-link { font-size: 0.82rem; color: var(--al-muted); text-decoration: underline; text-underline-offset: 2px; }

.badge-verified {
	display: inline-flex; align-items: center; gap: 4px;
	color: var(--al-green); font-weight: 700; font-size: 0.8rem;
}
.badge-verified svg { width: 12px; height: 12px; }

.info-chips {
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px; margin-bottom: 16px;
}
.info-chip {
	background: var(--al-paper); border-radius: 14px; padding: 12px;
	border: 1px solid var(--al-line); min-height: 74px;
}
.info-chip__icon { color: var(--al-muted); width: 22px; height: 22px; margin-bottom: 6px; }
.info-chip__label { display: block; font-size: 0.75rem; color: var(--al-muted); text-transform: uppercase; letter-spacing: .04em; }
.info-chip__value { font-family: var(--al-display); font-weight: 700; font-size: 0.92rem; overflow-wrap: anywhere; }

.app-block {
	background: var(--al-paper); border-radius: 18px; padding: 16px;
	border: 1px solid var(--al-line); margin-bottom: 12px;
}
.app-block h2 { font-size: 1.05rem; margin-bottom: 12px; }
.app-content { color: #3c4149; overflow-wrap: anywhere; }
.app-content iframe,
.app-content video,
.app-content .wp-block-embed { max-width: 100%; }
.page-links { margin-top: 16px; font-weight: 650; }
.feature-list { margin: 0; padding-left: 1.1em; }
.feature-list li + li { margin-top: 6px; }

.app-toc {
	margin: 0 0 16px;
	border: 1px solid var(--al-line);
	border-radius: 14px;
	background: #f8f9fb;
}
.app-toc__summary {
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	padding: 12px 14px; cursor: pointer; list-style: none;
}
.app-toc__summary::-webkit-details-marker { display: none; }
.app-toc__lead, .app-toc__meta { display: inline-flex; align-items: center; gap: 8px; }
.app-toc__icon {
	width: 32px; height: 32px; border-radius: 9px;
	background: #fff; color: var(--al-primary);
	display: grid; place-items: center; border: 1px solid var(--al-line);
}
.app-toc__title { font-weight: 750; font-size: 0.95rem; }
.app-toc__meta { color: var(--al-muted); font-size: 0.8rem; font-weight: 650; }
.app-toc__caret { display: inline-flex; transition: transform .18s ease; }
.app-toc[open] .app-toc__caret { transform: rotate(180deg); }
.app-toc__nav { padding: 0 12px 12px; }
.app-toc__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.app-toc__item a {
	display: block; padding: 8px 10px; border-radius: 10px;
	color: #3d4450; font-weight: 600; font-size: 0.92rem;
}
.app-toc__item a:hover { background: #fff; color: var(--al-ink); }
.app-toc__item--h3 a { padding-left: 22px; font-weight: 550; font-size: 0.88rem; color: var(--al-muted); }

.mod-panel {
	background: var(--al-paper); border: 1px solid var(--al-line);
	border-radius: 18px; padding: 16px; margin-bottom: 12px;
}
.mod-panel__head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.mod-panel__badge {
	width: 40px; height: 40px; border-radius: 12px; flex: 0 0 40px;
	display: grid; place-items: center;
	background: rgba(255, 90, 31, 0.1); color: var(--al-primary);
}
.mod-panel__head h2 { margin: 0 0 2px; font-size: 1.05rem; }
.mod-panel__head p { margin: 0; color: var(--al-muted); font-size: 0.86rem; }
.mod-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.mod-grid__item {
	display: flex; align-items: flex-start; gap: 10px;
	padding: 11px 12px; border-radius: 12px;
	background: #f7f8fa; border: 1px solid #eef0f3;
	font-weight: 600; font-size: 0.94rem; overflow-wrap: anywhere;
}
.mod-grid__check {
	width: 22px; height: 22px; border-radius: 50%; flex: 0 0 22px;
	display: grid; place-items: center; margin-top: 1px;
	background: var(--al-green); color: #fff;
}
.mod-grid__check svg { width: 12px; height: 12px; }

@media (min-width: 640px) {
	.mod-grid { grid-template-columns: 1fr 1fr; }
}

.app-icon, .app-head__img, .app-tile__img, .app-row__img, .dl-mini__icon, .sticky-dl__icon {
	border-radius: 22%;
	background: #fff;
	box-shadow: 0 1px 2px rgba(16, 24, 40, 0.08);
	object-fit: cover;
}

.shot-slider__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.shot-slider__head h2 { margin: 0; }
.shot-slider__nav { display: flex; gap: 6px; }
.shot-nav {
	width: 34px; height: 34px; border: 0; border-radius: 10px; background: var(--al-canvas);
	font-size: 1.3rem; line-height: 1; cursor: pointer;
}
.shot-slider__viewport {
	position: relative;
	height: 268px;
	overflow: hidden;
	contain: strict;
	touch-action: pan-y;
}
.shot-slider__track {
	display: flex;
	gap: 12px;
	height: 262px;
	will-change: transform;
	transition: transform .45s cubic-bezier(.22,.7,.3,1);
}
.shot-slider__track .shot {
	margin: 0;
	flex: 0 0 148px;
	width: 148px;
	height: 262px;
	border-radius: 22px;
	overflow: hidden;
	background: #eef0f3;
	border: 1px solid var(--al-line);
}
.shot-slider__track .shot img { width: 148px; height: 262px; object-fit: cover; }
.shot-slider__dots { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
.shot-slider__dots button {
	width: 7px; height: 7px; padding: 0; border: 0; border-radius: 99px; background: #d5d8de; cursor: pointer;
}
.shot-slider__dots button.is-active { width: 18px; background: var(--al-primary); }

.shot-row {
	display: flex; gap: 10px; overflow-x: auto; -webkit-overflow-scrolling: touch;
	scroll-snap-type: x mandatory; scrollbar-width: none;
}
.shot-row::-webkit-scrollbar { display: none; }

.sticky-dl {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
	display: flex; align-items: center; gap: 10px;
	padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
	background: rgba(255,255,255,.96); backdrop-filter: blur(10px);
	box-shadow: 0 -10px 28px rgba(0,0,0,.08);
}
.sticky-dl__icon, img.sticky-dl__icon { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 10px; }
.sticky-dl .btn-install, .sticky-dl__btn { flex: 1; min-height: 44px; }
.has-sticky-dl .site-footer { padding-bottom: 84px; }

/* Download page */
.download-page { padding: 12px 0 32px; }
.dl-mini {
	display: flex; gap: 12px; align-items: center;
	background: var(--al-paper); border-radius: 18px; padding: 14px;
	border: 1px solid var(--al-line); margin-bottom: 12px;
}
.dl-mini__icon { width: 64px; height: 64px; flex: 0 0 64px; border-radius: 16px; object-fit: cover; }
.dl-mini__title { font-size: 1.1rem; margin: 0 0 6px; overflow-wrap: anywhere; }
.dl-mini__meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; color: var(--al-muted); font-weight: 650; font-size: 0.85rem; }
.dl-verify {
	background: var(--al-paper); border-radius: 18px; padding: 20px 16px;
	border: 1px solid var(--al-line);
	text-align: center; margin-bottom: 12px;
}
.dl-verify__ring { width: 96px; height: 96px; margin: 0 auto 12px; position: relative; }
.dl-verify__ring svg { transform: rotate(-90deg); }
.dl-verify__track, .dl-verify__progress { fill: none; stroke-width: 8; }
.dl-verify__track { stroke: #eef1f5; }
.dl-verify__progress {
	stroke: var(--al-green); stroke-linecap: round;
	stroke-dasharray: 327; stroke-dashoffset: 327;
	animation: al-ring calc(var(--seconds, 5) * 1s) linear forwards;
}
.dl-verify.is-ready .dl-verify__progress { stroke-dashoffset: 0; animation: none; }
.dl-verify__count {
	position: absolute; inset: 0; display: grid; place-items: center;
	font-family: var(--al-display); font-weight: 800; font-size: 1.6rem;
}
.dl-verify__action { margin-top: 16px; }
.dl-verify__action[hidden] { display: none; }
.mirror-list, .version-table { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.mirror-link, .version-row {
	display: flex; justify-content: space-between; align-items: center;
	min-height: 48px; padding: 0 12px; border-radius: 12px; background: var(--al-canvas); font-weight: 650;
}
.install-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.install-steps li { display: flex; gap: 10px; }
.install-steps__num {
	width: 26px; height: 26px; flex: 0 0 26px; border-radius: 999px;
	background: var(--al-primary); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 0.78rem;
}
.dl-back { text-align: center; font-weight: 700; }
.dl-back a { color: var(--al-primary); }

/* Archives */
.archive-wrap { padding: 12px 0 32px; }
.archive-head { padding: 6px 0 14px; }
.archive-layout { display: grid; gap: 16px; }
.app-row {
	background: var(--al-paper); border-radius: 16px; border: 1px solid var(--al-line);
}
.app-grid { display: grid; gap: 10px; }
.app-row__link { display: flex; align-items: center; gap: 12px; padding: 12px; }
.app-row__icon, .app-row__img { width: 64px; height: 64px; flex: 0 0 64px; border-radius: 14px; object-fit: cover; }
.app-row__title { font-size: 0.98rem; margin: 0 0 4px; overflow-wrap: anywhere; }
.app-row__meta { display: flex; flex-wrap: wrap; gap: 8px; color: var(--al-muted); font-size: 0.78rem; }
.app-row__stars { display: inline-flex; align-items: center; gap: 3px; }
.app-row__stars svg { width: 12px; height: 12px; fill: #f5b301; }

.stars { display: inline-flex; gap: 1px; vertical-align: middle; }
.star { position: relative; width: 14px; height: 14px; color: #d9dde3; }
.star svg { width: 14px; height: 14px; fill: currentColor; }
.star::after {
	content: ""; position: absolute; inset: 0; width: var(--star-fill, 0%);
	background: #f5b301;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 3.6 14.7 9l6 .9-4.4 4.2 1 5.9L12 17.2 6.7 20l1-5.9L3.3 9.9l6-.9z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.app-icon--fallback {
	display: grid; place-items: center;
	background: linear-gradient(160deg, #ff8a4c, var(--al-primary));
	color: #fff; font-family: var(--al-display); font-weight: 800;
}

.page-plain { background: var(--al-paper); border-radius: 18px; border: 1px solid var(--al-line); padding: 20px 16px; margin: 16px auto 32px; }
.not-found { text-align: center; }

.site-footer { background: #121317; color: #c5ccd6; padding: 40px 0 0; margin-top: 24px; }
.site-footer__grid { display: grid; gap: 18px; padding-bottom: 20px; }
.site-footer__name { font-family: var(--al-display); color: #fff; font-weight: 700; margin: 0 0 6px; }
.site-footer a { color: #edf0f4; }
.footer-menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.footer-menu a { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer__legal { border-top: 1px solid rgba(255,255,255,.08); padding: 12px 0; font-size: 0.82rem; }
.side-widget { background: var(--al-paper); border-radius: 16px; border: 1px solid var(--al-line); padding: 14px; margin-bottom: 12px; }
.side-widget__title { color: var(--al-ink); font-size: 1rem; }
.mini-app-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.mini-app__link { display: flex; align-items: center; gap: 10px; }
.mini-app__icon { width: 44px; height: 44px; border-radius: 10px; }
.ad-slot { margin: 12px 0; }
.pagination, .nav-links { display: flex; gap: 8px; justify-content: center; padding: 18px 0; }
.page-numbers { min-width: 36px; height: 36px; display: grid; place-items: center; background: #fff; border-radius: 10px; }
.page-numbers.current { background: var(--al-primary); color: #fff; }
.comment-list { list-style: none; margin: 0 0 16px; padding: 0; }
.comment-form input, .comment-form textarea { width: 100%; border: 1px solid var(--al-line); border-radius: 12px; padding: 10px 12px; }
.comment-form .submit { background: var(--al-primary); color: #fff; border: 0; min-height: 44px; font-weight: 700; }

@keyframes al-ring { to { stroke-dashoffset: 0; } }

@media (min-width: 768px) {
	:root { --al-header: 64px; }
	.nav-toggle, .search-toggle, .nav-close, .nav-backdrop, .search-sheet { display: none !important; }
	.site-nav {
		position: static; width: auto; transform: none; box-shadow: none;
		padding: 0; flex: 1; overflow: visible; background: transparent;
		display: flex; justify-content: center; min-width: 0;
	}
	.site-nav__list {
		display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
		gap: 2px 6px; overflow: visible;
	}
	.site-nav__list > .menu-item { flex: 0 0 auto; flex-wrap: nowrap; }
	.site-nav__list > .menu-item > .site-nav__link {
		padding: 8px 12px; font-size: 0.92rem; font-weight: 650; color: #3d4450;
		border-radius: 999px;
	}
	.site-nav__list > .menu-item > .site-nav__link:hover,
	.site-nav__list > .menu-item:hover > .site-nav__link,
	.site-nav__list > .menu-item:focus-within > .site-nav__link {
		background: #f3f4f6; color: var(--al-ink);
	}
	.site-nav__more { display: none; }
	.site-nav__caret { display: inline-flex; }
	.site-nav__list > .current-menu-item > .site-nav__link,
	.site-nav__list > .current-menu-ancestor > .site-nav__link {
		background: #f3f4f6; color: var(--al-ink);
	}
	.site-nav .sub-menu {
		display: none; position: absolute; top: calc(100% + 6px); left: 0;
		min-width: 220px; width: max-content; max-width: min(360px, 70vw);
		padding: 8px; flex-basis: auto;
		background: #fff; border: 1px solid var(--al-line);
		border-radius: 14px; box-shadow: var(--al-shadow);
		z-index: 90;
	}
	.site-nav .menu-item-has-children:hover > .sub-menu,
	.site-nav .menu-item-has-children:focus-within > .sub-menu,
	.site-nav .menu-item-has-children.is-open > .sub-menu {
		display: grid; gap: 2px;
	}
	.site-nav .sub-menu .site-nav__link {
		padding: 9px 12px; border-radius: 10px; font-size: 0.9rem; color: #3d4450;
	}
	.site-nav .sub-menu .site-nav__link:hover { background: var(--al-canvas); color: var(--al-ink); }
	.site-nav .sub-menu .sub-menu {
		top: -8px; left: calc(100% + 6px);
	}
	body.header-style-orange .site-nav__list > .menu-item > .site-nav__link { color: #fff; }
	body.header-style-orange .site-nav__list > .menu-item > .site-nav__link:hover,
	body.header-style-orange .site-nav__list > .menu-item:hover > .site-nav__link {
		background: rgba(255,255,255,.16); color: #fff;
	}
	body.header-style-orange .site-nav .sub-menu .site-nav__link { color: #3d4450; }
	.header-search {
		display: flex; align-items: center; gap: 8px;
		width: min(42vw, 420px); height: 42px; margin-left: auto;
		background: var(--al-canvas); border-radius: 999px; padding: 0 14px; flex: 0 1 420px;
	}
	.header-search input { flex: 1; border: 0; background: transparent; min-width: 0; height: 42px; }
	.header-search input:focus { outline: none; }
	.header-search svg { color: var(--al-muted); width: 18px; height: 18px; }
	.brand { flex: 0 0 auto; }
	.header-search { background: #f3f4f6; }
	.home-hero { padding: 56px 0 12px; }
	.home-hero h1 { max-width: 18em; }
	.pick-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
	.pick-card { padding: 18px; }
	.pick-card__icon, .pick-card .app-icon { width: 80px; height: 80px; flex-basis: 80px; }
	.shelf-app { flex-basis: 92px; width: 92px; }
	.shelf-app__icon, .shelf-app__img, .shelf-app .app-icon { width: 80px; height: 80px; }
	.shelf-app__name { max-width: 92px; }
	.editorial-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.info-chips { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.app-head { padding: 22px; }
	.app-head__icon, .app-head__img { width: 112px; height: 112px; flex-basis: 112px; border-radius: 24px; }
	.app-head__cta { grid-template-columns: minmax(200px, 240px) auto; align-items: center; }
	.app-head__cta .btn-install { width: auto; min-width: 200px; }
	.sticky-dl { display: none; }
	.has-sticky-dl .site-footer { padding-bottom: 0; }
	.shelf { padding-left: max(16px, calc((100vw - var(--al-max)) / 2)); padding-right: 16px; }
	.shelf--inset { padding-left: 0; }
	.app-tile { flex-basis: 108px; width: 108px; }
	.app-tile__icon, .app-tile__img { width: 88px; height: 88px; }
	.shot-slider__viewport { height: 312px; }
	.shot-slider__track { height: 306px; }
	.shot-slider__track .shot,
	.shot-slider__track .shot img { width: 172px; height: 306px; flex-basis: 172px; }
	.trust-row { grid-template-columns: repeat(3, 1fr); }
	.site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
	.archive-layout { grid-template-columns: minmax(0, 1fr) 260px; }
	.dl-verify {
		display: grid; grid-template-columns: 96px 1fr; grid-template-areas: "ring copy" "action action";
		text-align: left; align-items: center; gap: 8px 18px; padding: 24px;
	}
	.dl-verify__ring { grid-area: ring; margin: 0; }
	.dl-verify__copy { grid-area: copy; }
	.dl-verify__action { grid-area: action; }
	.header-user { margin-left: 0; }
}

@media (max-width: 767px) {
	.pick-card { flex-wrap: wrap; }
	.pick-card__main { flex: 1 1 100%; }
	.pick-card .btn-install { width: 100%; }
	.home-hero h1 { max-width: none; }
	.home-hero__search {
		height: 48px; flex-wrap: nowrap; width: 100%;
		padding: 4px 4px 4px 12px; border-radius: 14px; gap: 6px;
	}
	.home-hero__search input { flex: 1 1 auto; min-width: 0; padding-left: 0; font-size: 16px; }
	.home-hero__search .btn-install { width: auto; min-height: 40px; padding: 0 14px; flex: 0 0 auto; }
}

@media (max-width: 380px) {
	.header-user { display: none; }
	.app-head__icon, .app-head__img { width: 72px; height: 72px; flex-basis: 72px; }
}
