/**
 * apkstore frontend UI style presets.
 * Applied via .apkstore-theme--{id} on .apkstore-page / .apkstore-toc.
 */

/* —— Shared polish on base tokens —— */
.apkstore-page {
	--apkstore-radius: 12px;
	--apkstore-radius-sm: 10px;
	--apkstore-shadow: 0 1px 2px rgba(16, 42, 67, 0.06), 0 8px 24px rgba(16, 42, 67, 0.06);
	--apkstore-surface: #fff;
	--apkstore-btn-fg: #fff;
	--apkstore-star: #f5a623;
}

.apkstore-page .apkstore-download-btn {
	box-shadow: 0 6px 16px rgba(11, 110, 79, 0.28);
	transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
}

.apkstore-page .apkstore-download-btn:hover,
.apkstore-page .apkstore-download-btn:focus {
	transform: translateY(-1px);
	filter: brightness(1.06);
}

.apkstore-page .apkstore-details-table,
.apkstore-page .apkstore-changelog-list > li,
.apkstore-page .apkstore-faq-item,
.apkstore-page .apkstore-review-item,
.apkstore-page .apkstore-shot-item {
	background: var(--apkstore-surface);
	border-radius: var(--apkstore-radius-sm);
}

.apkstore-page .apkstore-section-title {
	letter-spacing: -0.01em;
}

/* —— Ocean —— */
.apkstore-theme--ocean {
	--apkstore-accent: #0e7490;
	--apkstore-border: #a5f3fc;
	--apkstore-bg: #ecfeff;
	--apkstore-text: #164e63;
	--apkstore-muted: #0f766e;
	--apkstore-surface: #ffffff;
	--apkstore-star: #f59e0b;
}

.apkstore-theme--ocean .apkstore-download-btn {
	background: linear-gradient(135deg, #0891b2, #0e7490);
	border-radius: 999px;
	padding: 0.8rem 1.5rem;
}

.apkstore-theme--ocean .apkstore-section {
	padding: 0.65rem 0 0.65rem 1rem;
	border-left: 3px solid #67e8f9;
	margin: 1.35rem 0;
}

.apkstore-theme--ocean .apkstore-intro {
	border-left-width: 4px;
	border-left-color: #0e7490;
	padding-left: 1.15rem;
}

.apkstore-theme--ocean .apkstore-intro-top {
	align-items: center;
	gap: 1.5rem;
}

.apkstore-theme--ocean .apkstore-logo-img {
	width: 108px;
	height: 108px;
	border-radius: 50%;
	border: 3px solid #a5f3fc;
	box-shadow: 0 8px 20px rgba(14, 116, 144, 0.18);
}

.apkstore-theme--ocean .apkstore-screenshots-grid {
	display: flex;
	flex-wrap: nowrap;
	overflow-x: auto;
	gap: 0.85rem;
	padding-bottom: 0.35rem;
	scroll-snap-type: x mandatory;
	grid-template-columns: none;
}

.apkstore-theme--ocean .apkstore-shot-item {
	flex: 0 0 min(160px, 42vw);
	scroll-snap-align: start;
	border-radius: 16px;
	border-color: #a5f3fc;
}

.apkstore-theme--ocean .apkstore-changelog-list > li,
.apkstore-theme--ocean .apkstore-faq-item,
.apkstore-theme--ocean .apkstore-review-item {
	box-shadow: var(--apkstore-shadow);
	border-color: #cffafe;
	border-radius: 999px 12px 12px 999px;
	padding-left: 1.15rem;
}

.apkstore-theme--ocean.apkstore-toc,
.apkstore-toc.apkstore-theme--ocean {
	--apkstore-accent: #0e7490;
	border-color: #a5f3fc;
}

.apkstore-toc.apkstore-theme--ocean .apkstore-toc-header {
	background: #ecfeff;
	border-bottom-color: #a5f3fc;
}

.apkstore-toc.apkstore-theme--ocean .apkstore-toc-item a:hover,
.apkstore-toc.apkstore-theme--ocean .apkstore-toc-item a:focus,
.apkstore-toc.apkstore-theme--ocean .apkstore-toc-item.is-active a {
	background: #cffafe;
	color: #0e7490;
}

/* —— Midnight —— */
.apkstore-theme--midnight {
	--apkstore-accent: #38bdf8;
	--apkstore-border: #334155;
	--apkstore-bg: #1e293b;
	--apkstore-text: #e2e8f0;
	--apkstore-muted: #94a3b8;
	--apkstore-surface: #1e293b;
	--apkstore-btn-fg: #0f172a;
	--apkstore-star: #fbbf24;
	--apkstore-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
	color: var(--apkstore-text);
}

/* Page chrome only (do not pad/paint float-nav / shell). */
.apkstore-page.apkstore-theme--midnight {
	background: #0f172a;
	padding: 1.25rem 1.25rem 0.5rem;
	border-radius: 16px;
	color: #e2e8f0;
}

/* Beat theme heading colors so titles stay readable on dark bg. */
.apkstore-page.apkstore-theme--midnight .apkstore-section-title,
.apkstore-page.apkstore-theme--midnight h2.apkstore-section-title,
.apkstore-page.apkstore-theme--midnight .apkstore-h1,
.apkstore-page.apkstore-theme--midnight h1.apkstore-h1 {
	color: #f8fafc !important;
}

.apkstore-page.apkstore-theme--midnight .apkstore-section-title {
	border-bottom: 1px solid #334155;
	padding-bottom: 0.4rem;
	letter-spacing: -0.01em;
}

.apkstore-theme--midnight .apkstore-download-btn {
	background: linear-gradient(135deg, #38bdf8, #818cf8);
	color: var(--apkstore-btn-fg) !important;
	border-radius: 12px;
}

.apkstore-theme--midnight .apkstore-intro-top {
	flex-direction: column;
	align-items: stretch;
	flex-wrap: nowrap;
	gap: 1rem;
}

.apkstore-theme--midnight .apkstore-intro-main {
	flex: 0 1 auto;
	width: 100%;
}

.apkstore-theme--midnight .apkstore-logo-img {
	width: 88px;
	height: 88px;
	border: 2px solid #334155;
	border-radius: 16px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.apkstore-theme--midnight .apkstore-details-table tbody {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.55rem;
}

.apkstore-theme--midnight .apkstore-details-table,
.apkstore-theme--midnight .apkstore-details-table tbody,
.apkstore-theme--midnight .apkstore-details-table tr,
.apkstore-theme--midnight .apkstore-details-table th,
.apkstore-theme--midnight .apkstore-details-table td {
	border: 0;
}

.apkstore-theme--midnight .apkstore-details-table tr {
	display: flex;
	flex-direction: column;
	border: 1px solid #334155;
	border-radius: 10px;
	overflow: hidden;
	background: #1e293b;
}

.apkstore-theme--midnight .apkstore-details-table th,
.apkstore-theme--midnight .apkstore-details-table td {
	display: block;
	width: auto;
}

.apkstore-theme--midnight .apkstore-details-table th {
	background: #0f172a;
	color: #94a3b8;
	padding: 0.45rem 0.75rem;
	font-size: 0.82rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.apkstore-theme--midnight .apkstore-screenshots-grid {
	grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
	gap: 0.55rem;
}

.apkstore-theme--midnight .apkstore-shot-item {
	border-radius: 6px;
	border-color: #475569;
}

.apkstore-theme--midnight .apkstore-block-children {
	border-left-color: #475569;
}

@media (max-width: 640px) {
	.apkstore-theme--midnight .apkstore-details-table tbody {
		grid-template-columns: 1fr;
	}
}

.apkstore-toc.apkstore-theme--midnight {
	background: #1e293b;
	border-color: #334155;
	color: #e2e8f0;
}

.apkstore-toc.apkstore-theme--midnight .apkstore-toc-header {
	background: #0f172a;
	border-bottom-color: #334155;
}

.apkstore-page-progress.apkstore-theme--midnight {
	background: rgba(15, 23, 42, 0.96);
	border-top-color: #334155;
}

.apkstore-page-progress.apkstore-theme--midnight .apkstore-page-progress-track {
	background: #334155;
}

.apkstore-page-progress.apkstore-theme--midnight .apkstore-page-progress-bar,
.apkstore-toc.apkstore-theme--midnight .apkstore-toc-progress-bar {
	background: #38bdf8;
	background-image: none;
}

.apkstore-page-progress.apkstore-theme--midnight .apkstore-page-progress-text {
	color: #94a3b8;
}

.apkstore-toc.apkstore-theme--midnight .apkstore-toc-toggle-label {
	color: #94a3b8;
}

.apkstore-toc.apkstore-theme--midnight .apkstore-toc-item a:hover,
.apkstore-toc.apkstore-theme--midnight .apkstore-toc-item a:focus,
.apkstore-toc.apkstore-theme--midnight .apkstore-toc-item.is-active a {
	background: #0f172a;
	color: #38bdf8;
}

/* —— Ember —— */
.apkstore-theme--ember {
	--apkstore-accent: #ea580c;
	--apkstore-border: #fdba74;
	--apkstore-bg: #fff7ed;
	--apkstore-text: #1c1917;
	--apkstore-muted: #9a3412;
	--apkstore-surface: #fffbeb;
	--apkstore-star: #f59e0b;
}

.apkstore-theme--ember .apkstore-download-btn {
	background: linear-gradient(135deg, #f97316, #ea580c);
	border-radius: 14px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	font-size: 0.95rem;
}

.apkstore-theme--ember .apkstore-h1 {
	font-weight: 800;
}

.apkstore-theme--ember .apkstore-intro-top {
	flex-direction: column;
	align-items: center;
	text-align: center;
	flex-wrap: nowrap;
	gap: 0.85rem;
}

/* Column layout: do not keep row flex-basis (220px) — it becomes empty height. */
.apkstore-theme--ember .apkstore-intro-main {
	display: flex;
	flex-direction: column;
	align-items: center;
	flex: 0 1 auto;
	width: 100%;
	max-width: 36rem;
}

.apkstore-theme--ember .apkstore-short-intro {
	margin: 0;
}

.apkstore-theme--ember .apkstore-rating:empty {
	display: none;
}

.apkstore-theme--ember .apkstore-section.apkstore-intro {
	margin-bottom: 0.65rem;
}

.apkstore-theme--ember .apkstore-section.apkstore-download {
	margin-top: 0.35rem;
	margin-bottom: 1.5rem;
	text-align: center;
}

.apkstore-theme--ember .apkstore-download-wrap {
	margin: 0;
}

.apkstore-theme--ember .apkstore-logo-img {
	width: 120px;
	height: 120px;
	border-radius: 28px;
	transform: rotate(-2deg);
	box-shadow: 0 12px 28px rgba(234, 88, 12, 0.22);
}

.apkstore-theme--ember .apkstore-section-title {
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-size: 1.05rem;
	border-bottom: 3px solid #fb923c;
	display: inline-block;
	padding-bottom: 0.35rem;
	margin-bottom: 0.9rem;
}

.apkstore-theme--ember .apkstore-screenshots-grid {
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	gap: 1rem;
}

.apkstore-theme--ember .apkstore-shot-item {
	border-radius: 18px;
	border-width: 2px;
	border-color: #fdba74;
	transform: rotate(0.4deg);
}

.apkstore-theme--ember .apkstore-review-item,
.apkstore-theme--ember .apkstore-faq-item,
.apkstore-theme--ember .apkstore-changelog-list > li {
	border-color: #fed7aa;
	box-shadow: 0 4px 14px rgba(234, 88, 12, 0.08);
	border-radius: 18px 6px 18px 6px;
}

.apkstore-toc.apkstore-theme--ember {
	border-color: #fdba74;
}

.apkstore-toc.apkstore-theme--ember .apkstore-toc-header {
	background: #fff7ed;
	border-bottom-color: #fdba74;
}

.apkstore-toc.apkstore-theme--ember .apkstore-toc-progress-bar {
	background: #ea580c;
}

.apkstore-toc.apkstore-theme--ember .apkstore-toc-item a:hover,
.apkstore-toc.apkstore-theme--ember .apkstore-toc-item a:focus,
.apkstore-toc.apkstore-theme--ember .apkstore-toc-item.is-active a {
	background: #ffedd5;
	color: #c2410c;
}

/* —— Graphite —— */
.apkstore-theme--graphite {
	--apkstore-accent: #334155;
	--apkstore-border: #e2e8f0;
	--apkstore-bg: #f8fafc;
	--apkstore-text: #0f172a;
	--apkstore-muted: #64748b;
	--apkstore-surface: #ffffff;
	--apkstore-radius: 6px;
	--apkstore-radius-sm: 4px;
	--apkstore-shadow: none;
	--apkstore-star: #ca8a04;
}

.apkstore-theme--graphite .apkstore-download-btn {
	background: #0f172a;
	border-radius: 4px;
	box-shadow: none;
	font-weight: 500;
}

.apkstore-theme--graphite .apkstore-logo-img {
	border-radius: 8px;
}

.apkstore-theme--graphite .apkstore-changelog-list > li,
.apkstore-theme--graphite .apkstore-faq-item,
.apkstore-theme--graphite .apkstore-review-item {
	border-radius: 4px;
	box-shadow: none;
}

.apkstore-theme--graphite .apkstore-section {
	padding-left: 1rem;
	border-left: 1px solid #cbd5e1;
	margin: 1.5rem 0;
}

.apkstore-theme--graphite .apkstore-section-title {
	border-bottom: 1px solid var(--apkstore-border);
	padding-bottom: 0.45rem;
	font-weight: 500;
	letter-spacing: 0.02em;
}

.apkstore-theme--graphite .apkstore-intro-top {
	gap: 2rem;
}

.apkstore-theme--graphite .apkstore-screenshots-grid {
	grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
	gap: 0.4rem;
}

.apkstore-theme--graphite .apkstore-shot-item {
	border-radius: 2px;
	border-color: #e2e8f0;
}

.apkstore-toc.apkstore-theme--graphite {
	border-radius: 4px;
	border-color: #e2e8f0;
}

.apkstore-toc.apkstore-theme--graphite .apkstore-toc-header {
	background: #f8fafc;
}

.apkstore-toc.apkstore-theme--graphite .apkstore-toc-progress-bar {
	background: #334155;
}

.apkstore-toc.apkstore-theme--graphite .apkstore-toc-item a:hover,
.apkstore-toc.apkstore-theme--graphite .apkstore-toc-item a:focus,
.apkstore-toc.apkstore-theme--graphite .apkstore-toc-item.is-active a {
	background: #f1f5f9;
	color: #0f172a;
}

/* —— Playstore —— */
.apkstore-theme--playstore {
	--apkstore-accent: #01875f;
	--apkstore-border: #e3e3e3;
	--apkstore-bg: #f8faf8;
	--apkstore-text: #202124;
	--apkstore-muted: #5f6368;
	--apkstore-surface: #ffffff;
	--apkstore-star: #fbbc04;
	--apkstore-radius: 8px;
	--apkstore-radius-sm: 8px;
}

.apkstore-theme--playstore .apkstore-download-btn {
	background: #01875f;
	border-radius: 8px;
	min-width: 160px;
	text-align: center;
	box-shadow: 0 1px 2px rgba(60, 64, 67, 0.3), 0 1px 3px 1px rgba(60, 64, 67, 0.15);
}

.apkstore-theme--playstore .apkstore-logo-img {
	width: 72px;
	height: 72px;
	border-radius: 20%;
	box-shadow: 0 1px 2px rgba(60, 64, 67, 0.3);
}

.apkstore-theme--playstore .apkstore-intro {
	background: #fff;
	border: 1px solid #e3e3e3;
	border-radius: 12px;
	padding: 1.25rem 1.35rem;
	margin-bottom: 1.5rem;
}

.apkstore-theme--playstore .apkstore-intro-top {
	gap: 1.5rem;
	align-items: center;
	flex-wrap: nowrap;
}

.apkstore-theme--playstore .apkstore-h1 {
	font-size: clamp(1.25rem, 2vw, 1.55rem);
	font-weight: 500;
	margin: 0 0 0.35rem;
}

.apkstore-theme--playstore .apkstore-short-intro {
	font-size: 0.92rem;
}

.apkstore-theme--playstore .apkstore-section-title {
	font-weight: 500;
	font-size: 1.2rem;
	border-bottom: 0;
	margin-bottom: 0.85rem;
}

.apkstore-theme--playstore .apkstore-screenshots-grid {
	display: flex;
	flex-wrap: nowrap;
	overflow-x: auto;
	gap: 0.65rem;
	grid-template-columns: none;
	padding-bottom: 0.25rem;
}

.apkstore-theme--playstore .apkstore-shot-item {
	flex: 0 0 120px;
	border-radius: 12px;
	border-color: #e3e3e3;
}

.apkstore-theme--playstore .apkstore-details-table th {
	background: #f8faf8;
	color: #5f6368;
	font-weight: 500;
}

@media (max-width: 640px) {
	.apkstore-theme--playstore .apkstore-intro-top {
		flex-wrap: wrap;
	}
}

.apkstore-toc.apkstore-theme--playstore .apkstore-toc-progress-bar {
	background: #01875f;
}

.apkstore-toc.apkstore-theme--playstore .apkstore-toc-item a:hover,
.apkstore-toc.apkstore-theme--playstore .apkstore-toc-item a:focus,
.apkstore-toc.apkstore-theme--playstore .apkstore-toc-item.is-active a {
	background: #e6f4ea;
	color: #137333;
}

/* —— Softcard —— */
.apkstore-theme--softcard {
	--apkstore-accent: #2563eb;
	--apkstore-border: transparent;
	--apkstore-bg: #eff6ff;
	--apkstore-text: #1e293b;
	--apkstore-muted: #64748b;
	--apkstore-surface: #ffffff;
	--apkstore-radius: 20px;
	--apkstore-radius-sm: 16px;
	--apkstore-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
	--apkstore-star: #f59e0b;
}

.apkstore-theme--softcard .apkstore-section {
	background: var(--apkstore-surface);
	border-radius: var(--apkstore-radius);
	padding: 1.25rem 1.35rem;
	margin: 1.25rem 0;
	box-shadow: var(--apkstore-shadow);
}

.apkstore-theme--softcard .apkstore-download-btn {
	background: linear-gradient(135deg, #3b82f6, #2563eb);
	border-radius: 999px;
	padding: 0.85rem 1.6rem;
}

.apkstore-theme--softcard .apkstore-details-table,
.apkstore-theme--softcard .apkstore-changelog-list > li,
.apkstore-theme--softcard .apkstore-faq-item,
.apkstore-theme--softcard .apkstore-review-item {
	border: 0;
	box-shadow: none;
	background: #f8fafc;
}

.apkstore-theme--softcard .apkstore-block-children {
	border-left: 0;
	margin-left: 0;
	padding-left: 0;
}

.apkstore-theme--softcard .apkstore-block-children .apkstore-section {
	margin-top: 0.75rem;
}

.apkstore-toc.apkstore-theme--softcard {
	border: 0;
	border-radius: 20px;
	box-shadow: var(--apkstore-shadow);
}

.apkstore-toc.apkstore-theme--softcard .apkstore-toc-header {
	background: #eff6ff;
	border-bottom: 0;
}

.apkstore-toc.apkstore-theme--softcard .apkstore-toc-progress-bar {
	background: #2563eb;
}

.apkstore-toc.apkstore-theme--softcard .apkstore-toc-item a:hover,
.apkstore-toc.apkstore-theme--softcard .apkstore-toc-item a:focus,
.apkstore-toc.apkstore-theme--softcard .apkstore-toc-item.is-active a {
	background: #dbeafe;
	color: #1d4ed8;
}

/* —— Compact —— */
.apkstore-theme--compact {
	--apkstore-accent: #15803d;
	--apkstore-border: #d1d5db;
	--apkstore-bg: #f9fafb;
	--apkstore-text: #14532d;
	--apkstore-muted: #4b5563;
	--apkstore-surface: #ffffff;
	--apkstore-radius: 6px;
	--apkstore-radius-sm: 4px;
	line-height: 1.5;
}

.apkstore-theme--compact .apkstore-section {
	margin: 1.1rem 0;
}

.apkstore-theme--compact .apkstore-h1 {
	font-size: clamp(1.35rem, 2vw, 1.75rem);
	margin-bottom: 0.65rem;
}

.apkstore-theme--compact .apkstore-section-title {
	font-size: 1.15rem;
	margin-bottom: 0.65rem;
}

.apkstore-theme--compact .apkstore-logo-img {
	width: 72px;
	height: 72px;
	border-radius: 12px;
}

.apkstore-theme--compact .apkstore-download-btn {
	padding: 0.55rem 1rem;
	border-radius: 6px;
	font-size: 0.92rem;
	box-shadow: none;
}

.apkstore-theme--compact .apkstore-details-table th,
.apkstore-theme--compact .apkstore-details-table td {
	padding: 0.4rem 0.6rem;
	font-size: 0.92rem;
}

.apkstore-theme--compact .apkstore-changelog-list > li,
.apkstore-theme--compact .apkstore-faq-item,
.apkstore-theme--compact .apkstore-review-item {
	padding: 0.55rem 0.7rem;
	margin-bottom: 0.45rem;
	border-radius: 4px;
}

.apkstore-theme--compact .apkstore-screenshots-grid {
	gap: 0.45rem;
	grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
}

.apkstore-toc.apkstore-theme--compact {
	border-radius: 6px;
}

.apkstore-toc.apkstore-theme--compact .apkstore-toc-item a {
	padding: 0.28rem 0.85rem;
	font-size: 0.92rem;
}

.apkstore-toc.apkstore-theme--compact .apkstore-toc-item a:hover,
.apkstore-toc.apkstore-theme--compact .apkstore-toc-item a:focus,
.apkstore-toc.apkstore-theme--compact .apkstore-toc-item.is-active a {
	background: #dcfce7;
	color: #166534;
}

/* —— Cocoa Brown (#603d3d) —— */
.apkstore-theme--cocoa {
	--apkstore-accent: #603d3d;
	--apkstore-border: #d6c2b2;
	--apkstore-bg: #f7f0e8;
	--apkstore-text: #3f2929;
	--apkstore-muted: #7a5a5a;
	--apkstore-surface: #fffaf4;
	--apkstore-radius: 14px;
	--apkstore-radius-sm: 12px;
	--apkstore-shadow: 0 8px 22px rgba(96, 61, 61, 0.1);
	--apkstore-star: #c47b2c;
}

.apkstore-page.apkstore-theme--cocoa {
	background: linear-gradient(180deg, #f7f0e8 0%, #fffaf4 40%, #f3e7da 100%);
	padding: 1rem 1.1rem 0.35rem;
	border-radius: 18px;
}

.apkstore-theme--cocoa .apkstore-download-btn {
	background: linear-gradient(135deg, #7a524f, #603d3d);
	border-radius: 999px;
	padding: 0.8rem 1.55rem;
	box-shadow: 0 8px 18px rgba(96, 61, 61, 0.28);
}

.apkstore-theme--cocoa .apkstore-section {
	margin: 1.4rem 0;
	padding: 0.85rem 1rem 0.85rem 1.15rem;
	border-left: 6px double #603d3d;
	background: rgba(255, 250, 244, 0.72);
	border-radius: 0 14px 14px 0;
}

.apkstore-theme--cocoa .apkstore-intro-top {
	align-items: center;
	gap: 1.4rem;
}

.apkstore-theme--cocoa .apkstore-logo-img {
	width: 104px;
	height: 104px;
	border-radius: 22px;
	border: 3px solid #d6c2b2;
	box-shadow: 0 10px 24px rgba(96, 61, 61, 0.16);
}

.apkstore-theme--cocoa .apkstore-section-title {
	font-weight: 700;
	letter-spacing: 0.01em;
	color: #603d3d;
}

.apkstore-theme--cocoa .apkstore-details-table th {
	background: #efe2d4;
	color: #603d3d;
}

.apkstore-theme--cocoa .apkstore-screenshots-grid {
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 0.9rem;
}

.apkstore-theme--cocoa .apkstore-shot-item {
	border-radius: 16px;
	border-color: #d6c2b2;
	box-shadow: var(--apkstore-shadow);
}

.apkstore-theme--cocoa .apkstore-changelog-list > li,
.apkstore-theme--cocoa .apkstore-faq-item,
.apkstore-theme--cocoa .apkstore-review-item {
	border-color: #e4d2c2;
	border-radius: 16px;
	background: #fffaf4;
	box-shadow: var(--apkstore-shadow);
}

.apkstore-toc.apkstore-theme--cocoa {
	border-color: #d6c2b2;
	background: #fffaf4;
	border-radius: 16px;
}

.apkstore-toc.apkstore-theme--cocoa .apkstore-toc-header {
	background: #efe2d4;
	border-bottom-color: #d6c2b2;
}

.apkstore-toc.apkstore-theme--cocoa .apkstore-toc-progress-bar {
	background: #603d3d;
}

.apkstore-toc.apkstore-theme--cocoa .apkstore-toc-item a:hover,
.apkstore-toc.apkstore-theme--cocoa .apkstore-toc-item a:focus,
.apkstore-toc.apkstore-theme--cocoa .apkstore-toc-item.is-active a {
	background: #efe2d4;
	color: #603d3d;
}

/* —— Crimson Modern (#830606) —— */
.apkstore-theme--crimson {
	--apkstore-accent: #830606;
	--apkstore-border: #fecaca;
	--apkstore-bg: #fff5f5;
	--apkstore-text: #3b0606;
	--apkstore-muted: #9f1239;
	--apkstore-surface: rgba(255, 255, 255, 0.78);
	--apkstore-radius: 22px;
	--apkstore-radius-sm: 16px;
	--apkstore-shadow: 0 14px 36px rgba(131, 6, 6, 0.12);
	--apkstore-star: #f59e0b;
	--apkstore-btn-fg: #fff;
}

.apkstore-page.apkstore-theme--crimson {
	background:
		radial-gradient(1100px 400px at 8% -8%, rgba(131, 6, 6, 0.16), transparent 55%),
		radial-gradient(800px 360px at 100% 0%, rgba(220, 38, 38, 0.1), transparent 48%),
		linear-gradient(180deg, #fff8f8 0%, #fff5f5 50%, #ffffff 100%);
	padding: 1.35rem 1.25rem 0.5rem;
	border-radius: 28px;
}

.apkstore-theme--crimson .apkstore-download-btn {
	background: linear-gradient(135deg, #b91c1c, #830606 50%, #7f1d1d);
	border-radius: 999px;
	padding: 0.9rem 1.75rem;
	font-weight: 700;
	letter-spacing: 0.01em;
	text-transform: none;
	box-shadow: 0 12px 28px rgba(131, 6, 6, 0.32);
}

.apkstore-theme--crimson .apkstore-download-btn:hover,
.apkstore-theme--crimson .apkstore-download-btn:focus {
	transform: translateY(-2px);
	filter: brightness(1.05);
	box-shadow: 0 14px 32px rgba(131, 6, 6, 0.38);
}

.apkstore-theme--crimson .apkstore-section {
	margin: 1.35rem 0;
	padding: 1.2rem 1.25rem;
	background: rgba(255, 255, 255, 0.7);
	border: 1px solid rgba(254, 202, 202, 0.95);
	border-radius: 22px;
	box-shadow: 0 10px 28px rgba(59, 6, 6, 0.05);
	backdrop-filter: blur(10px);
}

.apkstore-theme--crimson .apkstore-intro-top {
	align-items: center;
	gap: 1.5rem;
}

.apkstore-theme--crimson .apkstore-logo-img {
	width: 100px;
	height: 100px;
	border-radius: 28px;
	border: 0;
	box-shadow:
		0 0 0 3px rgba(255, 255, 255, 0.95),
		0 0 0 6px rgba(131, 6, 6, 0.28),
		0 16px 32px rgba(131, 6, 6, 0.22);
}

.apkstore-theme--crimson .apkstore-h1 {
	font-weight: 800;
	letter-spacing: -0.03em;
	background: linear-gradient(90deg, #3b0606, #830606);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.apkstore-theme--crimson .apkstore-section-title {
	font-weight: 700;
	letter-spacing: -0.02em;
	text-transform: none;
	font-size: 1.2rem;
	color: #3b0606;
	border-bottom: 0;
	padding-bottom: 0.4rem;
	margin-bottom: 0.9rem;
	display: block;
	background-image: linear-gradient(90deg, #830606, transparent);
	background-size: 64px 3px;
	background-repeat: no-repeat;
	background-position: left bottom;
}

.apkstore-theme--crimson .apkstore-details-table {
	border-collapse: separate;
	border-spacing: 0;
	overflow: hidden;
	border-radius: 16px;
	border: 1px solid #fecaca;
}

.apkstore-theme--crimson .apkstore-details-table th,
.apkstore-theme--crimson .apkstore-details-table td {
	border-color: #fee2e2;
}

.apkstore-theme--crimson .apkstore-details-table th {
	background: #fff1f2;
	color: #830606;
	font-weight: 700;
}

.apkstore-theme--crimson .apkstore-details-table td {
	background: rgba(255, 255, 255, 0.9);
}

.apkstore-theme--crimson .apkstore-screenshots-grid {
	display: flex;
	flex-wrap: nowrap;
	overflow-x: auto;
	gap: 0.85rem;
	grid-template-columns: none;
	padding: 0.25rem 0.15rem 0.55rem;
	scroll-snap-type: x mandatory;
}

.apkstore-theme--crimson .apkstore-shot-item {
	flex: 0 0 min(150px, 40vw);
	scroll-snap-align: start;
	border: 0;
	border-radius: 20px;
	box-shadow: 0 12px 28px rgba(131, 6, 6, 0.16);
	overflow: hidden;
}

.apkstore-theme--crimson .apkstore-changelog-list > li,
.apkstore-theme--crimson .apkstore-faq-item,
.apkstore-theme--crimson .apkstore-review-item {
	border: 1px solid #fecaca;
	border-radius: 18px;
	border-left: 1px solid #fecaca;
	background: rgba(255, 255, 255, 0.85);
	box-shadow: 0 8px 20px rgba(59, 6, 6, 0.05);
}

.apkstore-toc.apkstore-theme--crimson {
	border: 0;
	border-radius: 22px;
	background: rgba(255, 255, 255, 0.85);
	box-shadow: var(--apkstore-shadow);
}

.apkstore-toc.apkstore-theme--crimson .apkstore-toc-header {
	background: linear-gradient(135deg, #fff5f5, #ffe4e6);
	border-bottom: 0;
	color: #3b0606;
}

.apkstore-toc.apkstore-theme--crimson .apkstore-toc-title,
.apkstore-toc.apkstore-theme--crimson .apkstore-toc-toggle-label {
	color: #3b0606;
}

.apkstore-toc.apkstore-theme--crimson .apkstore-toc-progress-bar {
	background: linear-gradient(90deg, #f87171, #830606);
}

.apkstore-toc.apkstore-theme--crimson .apkstore-toc-item a:hover,
.apkstore-toc.apkstore-theme--crimson .apkstore-toc-item a:focus,
.apkstore-toc.apkstore-theme--crimson .apkstore-toc-item.is-active a {
	background: #fff1f2;
	color: #830606;
	border-radius: 12px;
	border-left-color: transparent;
}

/* —— Violet Modern (#954af1) —— */
.apkstore-theme--violet {
	--apkstore-accent: #954af1;
	--apkstore-border: #e9d5ff;
	--apkstore-bg: #f5f0ff;
	--apkstore-text: #2e1065;
	--apkstore-muted: #6b21a8;
	--apkstore-surface: rgba(255, 255, 255, 0.72);
	--apkstore-radius: 22px;
	--apkstore-radius-sm: 18px;
	--apkstore-shadow: 0 12px 40px rgba(149, 74, 241, 0.14);
	--apkstore-star: #f59e0b;
	--apkstore-btn-fg: #fff;
}

.apkstore-page.apkstore-theme--violet {
	background:
		radial-gradient(1200px 420px at 10% -10%, rgba(149, 74, 241, 0.22), transparent 55%),
		radial-gradient(900px 380px at 95% 0%, rgba(192, 132, 252, 0.18), transparent 50%),
		linear-gradient(180deg, #faf5ff 0%, #f5f0ff 55%, #ffffff 100%);
	padding: 1.35rem 1.25rem 0.5rem;
	border-radius: 28px;
}

.apkstore-theme--violet .apkstore-download-btn {
	background: linear-gradient(135deg, #a78bfa, #954af1 45%, #7c3aed);
	border-radius: 999px;
	padding: 0.9rem 1.75rem;
	box-shadow: 0 10px 28px rgba(149, 74, 241, 0.35);
	letter-spacing: 0.01em;
}

.apkstore-theme--violet .apkstore-section {
	margin: 1.35rem 0;
	padding: 1.2rem 1.25rem;
	background: rgba(255, 255, 255, 0.66);
	border: 1px solid rgba(233, 213, 255, 0.9);
	border-radius: 22px;
	box-shadow: 0 10px 30px rgba(46, 16, 101, 0.06);
	backdrop-filter: blur(10px);
}

.apkstore-theme--violet .apkstore-intro-top {
	align-items: center;
	gap: 1.5rem;
}

.apkstore-theme--violet .apkstore-logo-img {
	width: 100px;
	height: 100px;
	border-radius: 28px;
	border: 0;
	box-shadow:
		0 0 0 3px rgba(255, 255, 255, 0.9),
		0 0 0 6px rgba(149, 74, 241, 0.35),
		0 16px 32px rgba(149, 74, 241, 0.25);
}

.apkstore-theme--violet .apkstore-h1 {
	font-weight: 800;
	letter-spacing: -0.03em;
	background: linear-gradient(90deg, #2e1065, #954af1);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.apkstore-theme--violet .apkstore-section-title {
	font-weight: 700;
	letter-spacing: -0.02em;
	padding-bottom: 0.4rem;
	border-bottom: 0;
	background-image: linear-gradient(90deg, #954af1, transparent);
	background-size: 64px 3px;
	background-repeat: no-repeat;
	background-position: left bottom;
}

.apkstore-theme--violet .apkstore-details-table {
	border-collapse: separate;
	border-spacing: 0;
	overflow: hidden;
	border-radius: 16px;
	border: 1px solid #e9d5ff;
}

.apkstore-theme--violet .apkstore-details-table th,
.apkstore-theme--violet .apkstore-details-table td {
	border-color: #f3e8ff;
}

.apkstore-theme--violet .apkstore-details-table th {
	background: #f3e8ff;
	color: #6b21a8;
}

.apkstore-theme--violet .apkstore-screenshots-grid {
	display: flex;
	flex-wrap: nowrap;
	overflow-x: auto;
	gap: 0.85rem;
	grid-template-columns: none;
	padding: 0.25rem 0.15rem 0.55rem;
	scroll-snap-type: x mandatory;
}

.apkstore-theme--violet .apkstore-shot-item {
	flex: 0 0 min(150px, 40vw);
	scroll-snap-align: start;
	border: 0;
	border-radius: 20px;
	box-shadow: 0 12px 28px rgba(149, 74, 241, 0.18);
	overflow: hidden;
}

.apkstore-theme--violet .apkstore-changelog-list > li,
.apkstore-theme--violet .apkstore-faq-item,
.apkstore-theme--violet .apkstore-review-item {
	border: 1px solid #e9d5ff;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.8);
	box-shadow: 0 8px 20px rgba(46, 16, 101, 0.05);
}

.apkstore-toc.apkstore-theme--violet {
	border: 0;
	border-radius: 22px;
	background: rgba(255, 255, 255, 0.8);
	box-shadow: var(--apkstore-shadow);
}

.apkstore-toc.apkstore-theme--violet .apkstore-toc-header {
	background: linear-gradient(135deg, #f5f0ff, #ede9fe);
	border-bottom: 0;
}

.apkstore-toc.apkstore-theme--violet .apkstore-toc-progress-bar {
	background: linear-gradient(90deg, #c084fc, #954af1);
}

.apkstore-toc.apkstore-theme--violet .apkstore-toc-item a:hover,
.apkstore-toc.apkstore-theme--violet .apkstore-toc-item a:focus,
.apkstore-toc.apkstore-theme--violet .apkstore-toc-item.is-active a {
	background: #f3e8ff;
	color: #7c3aed;
	border-radius: 12px;
	border-left-color: transparent;
}

/* —— Solar Yellow (#f6bb03) —— */
.apkstore-theme--solar {
	--apkstore-accent: #f6bb03;
	--apkstore-border: #fde68a;
	--apkstore-bg: #fffbeb;
	--apkstore-text: #111827;
	--apkstore-muted: #6b7280;
	--apkstore-surface: #ffffff;
	--apkstore-radius: 16px;
	--apkstore-radius-sm: 12px;
	--apkstore-shadow: 0 16px 40px rgba(17, 24, 39, 0.08);
	--apkstore-star: #f6bb03;
	--apkstore-btn-fg: #111827;
}

.apkstore-page.apkstore-theme--solar {
	background: #ffffff;
	padding: 1.25rem 1.2rem 0.45rem;
	border-radius: 20px;
	border: 1px solid #f3f4f6;
	box-shadow: 0 20px 50px rgba(17, 24, 39, 0.06);
}

.apkstore-theme--solar .apkstore-download-btn {
	background: #f6bb03;
	color: #111827 !important;
	border-radius: 14px;
	padding: 0.9rem 1.6rem;
	font-weight: 800;
	letter-spacing: -0.01em;
	box-shadow: 0 10px 24px rgba(246, 187, 3, 0.4);
}

.apkstore-theme--solar .apkstore-download-btn:hover,
.apkstore-theme--solar .apkstore-download-btn:focus {
	filter: brightness(1.03);
	transform: translateY(-2px);
}

.apkstore-theme--solar .apkstore-section {
	margin: 1.5rem 0;
	padding: 0;
	border: 0;
}

.apkstore-theme--solar .apkstore-intro {
	display: grid;
	gap: 1rem;
	padding: 1.15rem 1.2rem;
	border-radius: 18px;
	background: linear-gradient(135deg, #fffbeb 0%, #ffffff 60%);
	border: 1px solid #fde68a;
}

.apkstore-theme--solar .apkstore-intro-top {
	align-items: center;
	gap: 1.25rem;
}

.apkstore-theme--solar .apkstore-logo-img {
	width: 88px;
	height: 88px;
	border-radius: 20px;
	border: 2px solid #111827;
	box-shadow: 6px 6px 0 #f6bb03;
}

.apkstore-theme--solar .apkstore-h1 {
	font-weight: 900;
	letter-spacing: -0.04em;
	font-size: clamp(1.55rem, 2.6vw, 2.05rem);
	color: #111827;
}

.apkstore-theme--solar .apkstore-short-intro {
	color: #4b5563;
	max-width: 42rem;
}

.apkstore-theme--solar .apkstore-section-title {
	font-weight: 800;
	letter-spacing: -0.03em;
	font-size: 1.25rem;
	display: flex;
	align-items: center;
	gap: 0.55rem;
	margin-bottom: 0.95rem;
}

.apkstore-theme--solar .apkstore-section-title::before {
	content: "";
	width: 10px;
	height: 10px;
	border-radius: 3px;
	background: #f6bb03;
	box-shadow: 0 0 0 3px rgba(246, 187, 3, 0.25);
	flex: 0 0 auto;
}

.apkstore-theme--solar .apkstore-details-table {
	border: 0;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: inset 0 0 0 1px #f3f4f6;
}

.apkstore-theme--solar .apkstore-details-table th,
.apkstore-theme--solar .apkstore-details-table td {
	border-color: #f3f4f6;
}

.apkstore-theme--solar .apkstore-details-table th {
	background: #111827;
	color: #f6bb03;
	font-weight: 700;
	width: 32%;
}

.apkstore-theme--solar .apkstore-screenshots-grid {
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: 0.85rem;
}

.apkstore-theme--solar .apkstore-shot-item {
	border: 0;
	border-radius: 16px;
	box-shadow: 0 12px 28px rgba(17, 24, 39, 0.1);
	overflow: hidden;
}

.apkstore-theme--solar .apkstore-changelog-list > li,
.apkstore-theme--solar .apkstore-faq-item,
.apkstore-theme--solar .apkstore-review-item {
	border: 1px solid #f3f4f6;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 8px 20px rgba(17, 24, 39, 0.04);
	border-left: 4px solid #f6bb03;
}

.apkstore-toc.apkstore-theme--solar {
	border: 1px solid #f3f4f6;
	border-radius: 16px;
	background: #fff;
	box-shadow: var(--apkstore-shadow);
}

.apkstore-toc.apkstore-theme--solar .apkstore-toc-header {
	background: #111827;
	border-bottom: 0;
	color: #fff;
}

.apkstore-toc.apkstore-theme--solar .apkstore-toc-title,
.apkstore-toc.apkstore-theme--solar .apkstore-toc-toggle-label {
	color: #fff;
}

.apkstore-toc.apkstore-theme--solar .apkstore-toc-progress-bar {
	background: #f6bb03;
}

.apkstore-toc.apkstore-theme--solar .apkstore-toc-item a:hover,
.apkstore-toc.apkstore-theme--solar .apkstore-toc-item a:focus,
.apkstore-toc.apkstore-theme--solar .apkstore-toc-item.is-active a {
	background: #fffbeb;
	color: #111827;
	border-left-color: #f6bb03;
}

/* Classic keeps default tokens; light polish only */
.apkstore-theme--classic .apkstore-download-btn {
	background: linear-gradient(135deg, #0d9488, #0b6e4f);
}

.apkstore-theme--classic .apkstore-section {
	margin: 1.75rem 0;
}

.apkstore-theme--classic .apkstore-section-title {
	border-left: 4px solid #0b6e4f;
	padding-left: 0.65rem;
}

.apkstore-theme--classic .apkstore-logo-img {
	border-radius: 20px;
}

.apkstore-theme--classic .apkstore-changelog-list > li,
.apkstore-theme--classic .apkstore-faq-item,
.apkstore-theme--classic .apkstore-review-item {
	box-shadow: var(--apkstore-shadow);
}

/* —— Float hover TOC: per-style panel + hover —— */
.apkstore-float-nav.apkstore-theme--classic {
	--apkstore-accent: #0b6e4f;
	--apkstore-float-bg: #ffffff;
	--apkstore-float-fg: #102a43;
	--apkstore-float-muted: #486581;
	--apkstore-float-border: #c5e1d4;
	--apkstore-float-head-bg: #eef8f3;
	--apkstore-float-link: #0b6e4f;
	--apkstore-float-hover-bg: #d8f3e7;
	--apkstore-float-hover-fg: #065f46;
	--apkstore-float-radius: 10px;
}

.apkstore-float-nav.apkstore-theme--ocean {
	--apkstore-accent: #0e7490;
	--apkstore-float-bg: #ecfeff;
	--apkstore-float-fg: #164e63;
	--apkstore-float-muted: #0f766e;
	--apkstore-float-border: #67e8f9;
	--apkstore-float-head-bg: #cffafe;
	--apkstore-float-link: #0e7490;
	--apkstore-float-hover-bg: #a5f3fc;
	--apkstore-float-hover-fg: #155e75;
	--apkstore-float-radius: 14px;
	--apkstore-float-shadow: -3px 4px 16px rgba(14, 116, 144, 0.18);
}

.apkstore-float-nav.apkstore-theme--ocean .apkstore-toc-item a:hover,
.apkstore-float-nav.apkstore-theme--ocean .apkstore-toc-item a:focus,
.apkstore-float-nav.apkstore-theme--ocean .apkstore-toc-item.is-active a {
	border-radius: 999px;
	border-left-color: transparent;
	margin: 0 0.4rem;
	padding-left: 0.75rem;
}

.apkstore-float-nav.apkstore-theme--midnight {
	--apkstore-accent: #38bdf8;
	--apkstore-float-bg: #0f172a;
	--apkstore-float-fg: #e2e8f0;
	--apkstore-float-muted: #94a3b8;
	--apkstore-float-border: #334155;
	--apkstore-float-head-bg: #1e293b;
	--apkstore-float-link: #7dd3fc;
	--apkstore-float-hover-bg: rgba(56, 189, 248, 0.16);
	--apkstore-float-hover-fg: #e0f2fe;
	--apkstore-float-handle-fg: #0f172a;
	--apkstore-float-radius: 8px;
	--apkstore-float-shadow: -4px 4px 20px rgba(0, 0, 0, 0.35);
}

.apkstore-float-nav.apkstore-theme--midnight .apkstore-toc-item a {
	text-decoration: underline;
	text-underline-offset: 2px;
}

.apkstore-float-nav.apkstore-theme--ember {
	--apkstore-accent: #ea580c;
	--apkstore-float-bg: #fff7ed;
	--apkstore-float-fg: #1c1917;
	--apkstore-float-muted: #9a3412;
	--apkstore-float-border: #fdba74;
	--apkstore-float-head-bg: #ffedd5;
	--apkstore-float-link: #c2410c;
	--apkstore-float-hover-bg: #fed7aa;
	--apkstore-float-hover-fg: #9a3412;
	--apkstore-float-radius: 14px;
	--apkstore-float-shadow: -3px 4px 16px rgba(234, 88, 12, 0.16);
}

.apkstore-float-nav.apkstore-theme--ember .apkstore-toc-item a:hover,
.apkstore-float-nav.apkstore-theme--ember .apkstore-toc-item a:focus,
.apkstore-float-nav.apkstore-theme--ember .apkstore-toc-item.is-active a {
	border-left-width: 4px;
	font-weight: 700;
}

.apkstore-float-nav.apkstore-theme--graphite {
	--apkstore-accent: #0f172a;
	--apkstore-float-bg: #f8fafc;
	--apkstore-float-fg: #0f172a;
	--apkstore-float-muted: #64748b;
	--apkstore-float-border: #e2e8f0;
	--apkstore-float-head-bg: #ffffff;
	--apkstore-float-link: #334155;
	--apkstore-float-hover-bg: #e2e8f0;
	--apkstore-float-hover-fg: #020617;
	--apkstore-float-radius: 4px;
	--apkstore-float-shadow: none;
}

.apkstore-float-nav.apkstore-theme--graphite .apkstore-toc-item a {
	border-left-width: 0;
	border-bottom: 1px solid transparent;
}

.apkstore-float-nav.apkstore-theme--graphite .apkstore-toc-item a:hover,
.apkstore-float-nav.apkstore-theme--graphite .apkstore-toc-item a:focus,
.apkstore-float-nav.apkstore-theme--graphite .apkstore-toc-item.is-active a {
	border-left-color: transparent;
	border-bottom-color: #0f172a;
}

.apkstore-float-nav.apkstore-theme--playstore {
	--apkstore-accent: #01875f;
	--apkstore-float-bg: #ffffff;
	--apkstore-float-fg: #202124;
	--apkstore-float-muted: #5f6368;
	--apkstore-float-border: #e3e3e3;
	--apkstore-float-head-bg: #f8faf8;
	--apkstore-float-link: #01875f;
	--apkstore-float-hover-bg: #e6f4ea;
	--apkstore-float-hover-fg: #137333;
	--apkstore-float-radius: 8px;
	--apkstore-float-shadow: 0 1px 3px 1px rgba(60, 64, 67, 0.15);
}

.apkstore-float-nav.apkstore-theme--playstore .apkstore-toc-item a:hover,
.apkstore-float-nav.apkstore-theme--playstore .apkstore-toc-item a:focus,
.apkstore-float-nav.apkstore-theme--playstore .apkstore-toc-item.is-active a {
	border-radius: 8px;
	margin: 0 0.35rem;
	border-left-color: transparent;
}

.apkstore-float-nav.apkstore-theme--softcard {
	--apkstore-accent: #2563eb;
	--apkstore-float-bg: #ffffff;
	--apkstore-float-fg: #1e293b;
	--apkstore-float-muted: #64748b;
	--apkstore-float-border: #dbeafe;
	--apkstore-float-head-bg: #eff6ff;
	--apkstore-float-link: #2563eb;
	--apkstore-float-hover-bg: #dbeafe;
	--apkstore-float-hover-fg: #1d4ed8;
	--apkstore-float-radius: 20px;
	--apkstore-float-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
}

.apkstore-float-nav.apkstore-theme--softcard .apkstore-toc-item a:hover,
.apkstore-float-nav.apkstore-theme--softcard .apkstore-toc-item a:focus,
.apkstore-float-nav.apkstore-theme--softcard .apkstore-toc-item.is-active a {
	border-radius: 12px;
	margin: 0 0.45rem;
	border-left-color: transparent;
	box-shadow: inset 0 0 0 1px #93c5fd;
}

.apkstore-float-nav.apkstore-theme--compact {
	--apkstore-accent: #15803d;
	--apkstore-float-bg: #f9fafb;
	--apkstore-float-fg: #14532d;
	--apkstore-float-muted: #4b5563;
	--apkstore-float-border: #d1d5db;
	--apkstore-float-head-bg: #ffffff;
	--apkstore-float-link: #166534;
	--apkstore-float-hover-bg: #dcfce7;
	--apkstore-float-hover-fg: #14532d;
	--apkstore-float-radius: 6px;
	--apkstore-float-shadow: -1px 1px 6px rgba(20, 83, 45, 0.1);
}

.apkstore-float-nav.apkstore-theme--compact .apkstore-float-nav-head {
	padding: 0.45rem 0.7rem;
}

.apkstore-float-nav.apkstore-theme--compact .apkstore-toc-item a {
	padding: 0.25rem 0.7rem;
	font-size: 0.88rem;
}

.apkstore-float-nav.apkstore-theme--compact .apkstore-toc-item a:hover,
.apkstore-float-nav.apkstore-theme--compact .apkstore-toc-item a:focus,
.apkstore-float-nav.apkstore-theme--compact .apkstore-toc-item.is-active a {
	border-left-width: 2px;
}

.apkstore-float-nav.apkstore-theme--cocoa {
	--apkstore-accent: #603d3d;
	--apkstore-float-bg: #fffaf4;
	--apkstore-float-fg: #3f2929;
	--apkstore-float-muted: #7a5a5a;
	--apkstore-float-border: #d6c2b2;
	--apkstore-float-head-bg: #efe2d4;
	--apkstore-float-link: #603d3d;
	--apkstore-float-hover-bg: #efe2d4;
	--apkstore-float-hover-fg: #3f2929;
	--apkstore-float-radius: 16px;
	--apkstore-float-shadow: -4px 6px 18px rgba(96, 61, 61, 0.16);
}

.apkstore-float-nav.apkstore-theme--cocoa .apkstore-toc-item a:hover,
.apkstore-float-nav.apkstore-theme--cocoa .apkstore-toc-item a:focus,
.apkstore-float-nav.apkstore-theme--cocoa .apkstore-toc-item.is-active a {
	border-radius: 999px;
	border-left-color: transparent;
	margin: 0 0.45rem;
	padding-left: 0.85rem;
}

.apkstore-float-nav.apkstore-theme--crimson {
	--apkstore-accent: #830606;
	--apkstore-float-bg: rgba(255, 255, 255, 0.94);
	--apkstore-float-fg: #3b0606;
	--apkstore-float-muted: #9f1239;
	--apkstore-float-border: #fecaca;
	--apkstore-float-head-bg: linear-gradient(135deg, #fff5f5, #ffe4e6);
	--apkstore-float-link: #830606;
	--apkstore-float-hover-bg: #fff1f2;
	--apkstore-float-hover-fg: #7f1d1d;
	--apkstore-float-handle-fg: #ffffff;
	--apkstore-float-radius: 22px;
	--apkstore-float-shadow: -6px 10px 28px rgba(131, 6, 6, 0.2);
}

.apkstore-float-nav.apkstore-theme--crimson .apkstore-float-nav-head {
	background: linear-gradient(135deg, #fff5f5, #ffe4e6);
	border-bottom: 0;
}

.apkstore-float-nav.apkstore-theme--crimson .apkstore-float-nav-title {
	color: #3b0606;
}

.apkstore-float-nav.apkstore-theme--crimson .apkstore-toc-item a:hover,
.apkstore-float-nav.apkstore-theme--crimson .apkstore-toc-item a:focus,
.apkstore-float-nav.apkstore-theme--crimson .apkstore-toc-item.is-active a {
	border-radius: 12px;
	margin: 0 0.4rem;
	border-left-color: transparent;
}

.apkstore-float-nav.apkstore-theme--violet {
	--apkstore-accent: #954af1;
	--apkstore-float-bg: rgba(255, 255, 255, 0.92);
	--apkstore-float-fg: #2e1065;
	--apkstore-float-muted: #6b21a8;
	--apkstore-float-border: #e9d5ff;
	--apkstore-float-head-bg: linear-gradient(135deg, #f5f0ff, #ede9fe);
	--apkstore-float-link: #7c3aed;
	--apkstore-float-hover-bg: #f3e8ff;
	--apkstore-float-hover-fg: #6b21a8;
	--apkstore-float-radius: 22px;
	--apkstore-float-shadow: -6px 10px 28px rgba(149, 74, 241, 0.22);
}

.apkstore-float-nav.apkstore-theme--violet .apkstore-float-nav-head {
	background: linear-gradient(135deg, #f5f0ff, #ede9fe);
	border-bottom: 0;
}

.apkstore-float-nav.apkstore-theme--violet .apkstore-toc-item a:hover,
.apkstore-float-nav.apkstore-theme--violet .apkstore-toc-item a:focus,
.apkstore-float-nav.apkstore-theme--violet .apkstore-toc-item.is-active a {
	border-radius: 12px;
	margin: 0 0.4rem;
	border-left-color: transparent;
}

.apkstore-float-nav.apkstore-theme--solar {
	--apkstore-accent: #f6bb03;
	--apkstore-float-bg: #ffffff;
	--apkstore-float-fg: #111827;
	--apkstore-float-muted: #6b7280;
	--apkstore-float-border: #f3f4f6;
	--apkstore-float-head-bg: #111827;
	--apkstore-float-link: #111827;
	--apkstore-float-hover-bg: #fffbeb;
	--apkstore-float-hover-fg: #111827;
	--apkstore-float-handle-fg: #111827;
	--apkstore-float-radius: 16px;
	--apkstore-float-shadow: -4px 8px 24px rgba(17, 24, 39, 0.14);
}

.apkstore-float-nav.apkstore-theme--solar .apkstore-float-nav-title {
	color: #fff;
}

.apkstore-float-nav.apkstore-theme--solar .apkstore-toc-item a:hover,
.apkstore-float-nav.apkstore-theme--solar .apkstore-toc-item a:focus,
.apkstore-float-nav.apkstore-theme--solar .apkstore-toc-item.is-active a {
	border-left-width: 4px;
	font-weight: 700;
}

/* —— Float-nav handle shapes + glyphs (collapsed look must differ per preset) —— */
.apkstore-float-nav-glyph {
	display: block;
	line-height: 1;
	font-weight: 700;
}

/* Classic: small edge tab + hamburger */
.apkstore-float-nav.apkstore-theme--classic {
	top: 42%;
}

.apkstore-float-nav.apkstore-theme--classic .apkstore-float-nav-handle {
	width: 22px;
	height: 36px;
	border-radius: 8px 0 0 8px;
	opacity: 0.9;
}

.apkstore-float-nav.apkstore-theme--classic .apkstore-float-nav-mark {
	font-size: 13px;
}

/* Ocean: circular FAB + ring glyph */
.apkstore-float-nav.apkstore-theme--ocean {
	top: 38%;
	right: 10px;
}

.apkstore-float-nav.apkstore-theme--ocean .apkstore-float-nav-handle {
	width: 44px;
	height: 44px;
	min-height: 44px;
	margin: 0;
	border-radius: 50%;
	box-shadow: 0 6px 16px rgba(14, 116, 144, 0.35);
	opacity: 1;
}

.apkstore-float-nav.apkstore-theme--ocean.is-collapsed .apkstore-float-nav-handle {
	transform: scale(0.92);
}

.apkstore-float-nav.apkstore-theme--ocean .apkstore-float-nav-mark {
	font-size: 18px;
}

.apkstore-float-nav.apkstore-theme--ocean:not(.is-collapsed) .apkstore-float-nav-panel {
	border-radius: 16px;
	border-right: 1px solid var(--apkstore-float-border);
	margin-right: 8px;
}

/* Midnight: tall thin rail + diamond */
.apkstore-float-nav.apkstore-theme--midnight {
	top: 50%;
	right: 0;
}

.apkstore-float-nav.apkstore-theme--midnight .apkstore-float-nav-handle {
	width: 18px;
	height: 72px;
	min-height: 72px;
	margin: 0;
	border-radius: 10px 0 0 10px;
	opacity: 1;
	box-shadow: -2px 0 12px rgba(0, 0, 0, 0.35);
}

.apkstore-float-nav.apkstore-theme--midnight .apkstore-float-nav-mark {
	font-size: 11px;
	transform: scale(0.95);
}

.apkstore-float-nav.apkstore-theme--midnight:not(.is-collapsed) .apkstore-float-nav-panel {
	border-radius: 8px 0 0 8px;
	width: min(240px, 80vw);
	max-width: min(240px, 80vw);
}

/* Ember: diamond rotated handle + star */
.apkstore-float-nav.apkstore-theme--ember {
	top: 36%;
	right: 14px;
}

.apkstore-float-nav.apkstore-theme--ember .apkstore-float-nav-handle {
	width: 40px;
	height: 40px;
	min-height: 40px;
	margin: 0;
	border-radius: 10px;
	transform: rotate(45deg);
	box-shadow: 0 8px 18px rgba(234, 88, 12, 0.35);
	opacity: 1;
}

.apkstore-float-nav.apkstore-theme--ember .apkstore-float-nav-mark {
	font-size: 15px;
	transform: rotate(-45deg);
}

.apkstore-float-nav.apkstore-theme--ember:not(.is-collapsed) .apkstore-float-nav-handle {
	transform: rotate(45deg) scale(1.05);
}

.apkstore-float-nav.apkstore-theme--ember:not(.is-collapsed) .apkstore-float-nav-panel {
	border-radius: 16px;
	border-right: 1px solid var(--apkstore-float-border);
	margin-right: 10px;
}

/* Graphite: sharp square tab + triple bar */
.apkstore-float-nav.apkstore-theme--graphite {
	top: 58%;
	right: 0;
}

.apkstore-float-nav.apkstore-theme--graphite .apkstore-float-nav-handle {
	width: 28px;
	height: 28px;
	min-height: 28px;
	margin: 0;
	border-radius: 0;
	border: 1px solid #0f172a;
	background: #f8fafc;
	color: #0f172a;
	opacity: 1;
	box-shadow: none;
}

.apkstore-float-nav.apkstore-theme--graphite .apkstore-float-nav-mark {
	font-size: 14px;
	font-weight: 500;
	letter-spacing: -0.06em;
}

.apkstore-float-nav.apkstore-theme--graphite:not(.is-collapsed) .apkstore-float-nav-panel {
	border-radius: 0;
	border-right: 1px solid var(--apkstore-float-border);
	box-shadow: none;
}

/* Playstore: rectangular FAB + grid glyph */
.apkstore-float-nav.apkstore-theme--playstore {
	top: 44%;
	right: 12px;
}

.apkstore-float-nav.apkstore-theme--playstore .apkstore-float-nav-handle {
	width: 48px;
	height: 48px;
	min-height: 48px;
	margin: 0;
	border-radius: 12px;
	box-shadow: 0 1px 3px 1px rgba(60, 64, 67, 0.2);
	opacity: 1;
}

.apkstore-float-nav.apkstore-theme--playstore .apkstore-float-nav-mark {
	font-size: 16px;
}

.apkstore-float-nav.apkstore-theme--playstore:not(.is-collapsed) .apkstore-float-nav-panel {
	border-radius: 12px;
	border-right: 1px solid var(--apkstore-float-border);
	margin-right: 8px;
	width: min(260px, 82vw);
	max-width: min(260px, 82vw);
}

/* Softcard: large round FAB + dot */
.apkstore-float-nav.apkstore-theme--softcard {
	top: 40%;
	right: 16px;
}

.apkstore-float-nav.apkstore-theme--softcard .apkstore-float-nav-handle {
	width: 56px;
	height: 56px;
	min-height: 56px;
	margin: 0;
	border-radius: 50%;
	box-shadow: 0 12px 28px rgba(37, 99, 235, 0.35);
	opacity: 1;
}

.apkstore-float-nav.apkstore-theme--softcard .apkstore-float-nav-mark {
	font-size: 14px;
}

.apkstore-float-nav.apkstore-theme--softcard:not(.is-collapsed) .apkstore-float-nav-panel {
	border-radius: 20px;
	border-right: 1px solid var(--apkstore-float-border);
	margin-right: 10px;
	box-shadow: 0 16px 40px rgba(15, 23, 42, 0.16);
}

/* Compact: slim chevron chip */
.apkstore-float-nav.apkstore-theme--compact {
	top: 48%;
	right: 0;
}

.apkstore-float-nav.apkstore-theme--compact .apkstore-float-nav-handle {
	width: 18px;
	height: 48px;
	min-height: 48px;
	margin: 0;
	border-radius: 6px 0 0 6px;
	opacity: 0.95;
}

.apkstore-float-nav.apkstore-theme--compact .apkstore-float-nav-mark {
	font-size: 18px;
	font-weight: 800;
	line-height: 1;
}

.apkstore-float-nav.apkstore-theme--compact:not(.is-collapsed) .apkstore-float-nav-panel {
	border-radius: 6px 0 0 6px;
	width: min(200px, 74vw);
	max-width: min(200px, 74vw);
}

.apkstore-float-nav.apkstore-theme--compact .apkstore-float-nav-glyph--compact {
	transform: translateX(1px);
}

/* Cocoa: horizontal capsule + clover glyph */
.apkstore-float-nav.apkstore-theme--cocoa {
	top: 41%;
	right: 12px;
}

.apkstore-float-nav.apkstore-theme--cocoa .apkstore-float-nav-handle {
	width: 52px;
	height: 28px;
	min-height: 28px;
	margin: 0;
	border-radius: 999px;
	box-shadow: 0 6px 14px rgba(96, 61, 61, 0.28);
	opacity: 1;
}

.apkstore-float-nav.apkstore-theme--cocoa .apkstore-float-nav-mark {
	font-size: 14px;
}

.apkstore-float-nav.apkstore-theme--cocoa:not(.is-collapsed) .apkstore-float-nav-panel {
	border-radius: 18px;
	border-right: 1px solid var(--apkstore-float-border);
	margin-right: 8px;
}

/* Crimson: soft glowing orb + ring glyph */
.apkstore-float-nav.apkstore-theme--crimson {
	top: 40%;
	right: 14px;
}

.apkstore-float-nav.apkstore-theme--crimson .apkstore-float-nav-handle {
	width: 50px;
	height: 50px;
	min-height: 50px;
	margin: 0;
	border-radius: 50%;
	clip-path: none;
	background: linear-gradient(145deg, #ef4444, #830606 55%, #7f1d1d);
	box-shadow:
		0 0 0 4px rgba(131, 6, 6, 0.16),
		0 12px 28px rgba(131, 6, 6, 0.38);
	opacity: 1;
}

.apkstore-float-nav.apkstore-theme--crimson .apkstore-float-nav-mark {
	font-size: 15px;
}

.apkstore-float-nav.apkstore-theme--crimson:not(.is-collapsed) .apkstore-float-nav-panel {
	border-radius: 22px;
	border: 1px solid var(--apkstore-float-border);
	border-right: 1px solid var(--apkstore-float-border);
	margin-right: 10px;
	width: min(230px, 80vw);
	max-width: min(230px, 80vw);
	backdrop-filter: blur(10px);
}

/* Violet: glowing orb + diamond glyph */
.apkstore-float-nav.apkstore-theme--violet {
	top: 39%;
	right: 14px;
}

.apkstore-float-nav.apkstore-theme--violet .apkstore-float-nav-handle {
	width: 50px;
	height: 50px;
	min-height: 50px;
	margin: 0;
	border-radius: 50%;
	background: linear-gradient(145deg, #c084fc, #954af1 55%, #7c3aed);
	box-shadow:
		0 0 0 4px rgba(149, 74, 241, 0.18),
		0 12px 28px rgba(149, 74, 241, 0.4);
	opacity: 1;
}

.apkstore-float-nav.apkstore-theme--violet .apkstore-float-nav-mark {
	font-size: 16px;
}

.apkstore-float-nav.apkstore-theme--violet:not(.is-collapsed) .apkstore-float-nav-panel {
	border-radius: 22px;
	border-right: 1px solid var(--apkstore-float-border);
	margin-right: 10px;
	backdrop-filter: blur(10px);
}

/* Solar: rounded square gold FAB + star */
.apkstore-float-nav.apkstore-theme--solar {
	top: 43%;
	right: 12px;
}

.apkstore-float-nav.apkstore-theme--solar .apkstore-float-nav-handle {
	width: 46px;
	height: 46px;
	min-height: 46px;
	margin: 0;
	border-radius: 14px;
	background: #f6bb03;
	color: #111827;
	border: 2px solid #111827;
	box-shadow: 4px 4px 0 #111827;
	opacity: 1;
}

.apkstore-float-nav.apkstore-theme--solar .apkstore-float-nav-mark {
	font-size: 15px;
}

.apkstore-float-nav.apkstore-theme--solar:not(.is-collapsed) .apkstore-float-nav-panel {
	border-radius: 16px;
	border: 1px solid #f3f4f6;
	border-right: 1px solid #f3f4f6;
	margin-right: 8px;
}
