/* Google Play app detail — layout clone (web) */
:root {
	--gp-bg: #fff;
	--gp-text: #202124;
	--gp-text-2: #5f6368;
	--gp-border: #dadce0;
	--gp-link: #1a73e8;
	--gp-green: #01875f;
	--gp-green-hover: #056449;
	--gp-max: 1264px;
	--gp-font: "Google Sans", Roboto, Arial, sans-serif;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body.gp-play {
	margin: 0;
	font-family: var(--gp-font);
	background: var(--gp-bg);
	color: var(--gp-text);
	font-size: 14px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

a {
	color: var(--gp-link);
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

.gp-topbar {
	border-bottom: 1px solid var(--gp-border);
	position: sticky;
	top: 0;
	z-index: 100;
	background: #fff;
}

.gp-topbar-inner {
	max-width: var(--gp-max);
	margin: 0 auto;
	padding: 0 24px;
	height: 64px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.gp-logo {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--gp-text-2);
	font-size: 22px;
	font-weight: 500;
	text-decoration: none;
	margin-right: 24px;
}

.gp-logo:hover {
	text-decoration: none;
}

.gp-logo svg {
	width: 40px;
	height: 40px;
	flex-shrink: 0;
}

.gp-topbar-spacer {
	flex: 1;
}

.gp-icon-btn {
	width: 48px;
	height: 48px;
	border: none;
	background: transparent;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--gp-text-2);
}

.gp-icon-btn:hover {
	background: #f1f3f4;
}

.gp-nav {
	border-bottom: 1px solid var(--gp-border);
	background: #fff;
}

.gp-nav-inner {
	max-width: var(--gp-max);
	margin: 0 auto;
	padding: 0 24px;
	display: flex;
	gap: 32px;
}

.gp-nav a {
	display: inline-block;
	padding: 16px 0;
	color: var(--gp-text-2);
	font-size: 14px;
	font-weight: 500;
	border-bottom: 3px solid transparent;
	margin-bottom: -1px;
	text-decoration: none;
}

.gp-nav a:hover {
	color: var(--gp-text);
}

.gp-nav a.is-active {
	color: var(--gp-green);
	border-bottom-color: var(--gp-green);
}

.gp-main {
	max-width: var(--gp-max);
	margin: 0 auto;
	padding: 32px 24px 80px;
}

.gp-hero {
	display: grid;
	grid-template-columns: 180px 1fr;
	gap: 32px;
	align-items: start;
}

.gp-app-icon {
	width: 180px;
	height: 180px;
	border-radius: 20%;
	box-shadow: 0 1px 2px rgba(60, 64, 67, 0.3), 0 1px 3px 1px rgba(60, 64, 67, 0.15);
}

.gp-title {
	font-size: 48px;
	font-weight: 500;
	line-height: 1.15;
	margin: 0 0 8px;
	letter-spacing: -0.5px;
}

.gp-dev {
	font-size: 16px;
	font-weight: 500;
	margin: 0 0 16px;
}

.gp-meta-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 0;
	margin-bottom: 24px;
	font-size: 12px;
	color: var(--gp-text);
}

.gp-meta-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 96px;
	padding: 0 16px;
	border-right: 1px solid var(--gp-border);
}

.gp-meta-item:first-child {
	padding-left: 0;
}

.gp-meta-item:last-child {
	border-right: none;
}

.gp-meta-value {
	font-size: 14px;
	font-weight: 500;
	display: flex;
	align-items: center;
	gap: 2px;
}

.gp-meta-label {
	color: var(--gp-text-2);
	margin-top: 2px;
	text-align: center;
}

.gp-star {
	color: var(--gp-text);
	font-size: 12px;
}

.gp-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 16px;
	margin-bottom: 12px;
}

.gp-btn-install {
	background: var(--gp-green);
	color: #fff;
	border: none;
	border-radius: 8px;
	padding: 10px 24px;
	font-size: 14px;
	font-weight: 500;
	font-family: inherit;
	cursor: pointer;
	min-width: 120px;
	text-align: center;
	text-decoration: none;
	display: inline-block;
}

.gp-btn-install:hover {
	background: var(--gp-green-hover);
	text-decoration: none;
	color: #fff;
}

.gp-btn-ghost {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--gp-green);
	font-weight: 500;
	font-size: 14px;
	background: none;
	border: none;
	cursor: pointer;
	font-family: inherit;
	padding: 8px;
	border-radius: 4px;
}

.gp-btn-ghost:hover {
	background: #e6f4ef;
	text-decoration: none;
}

.gp-badge-row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 8px;
	font-size: 12px;
	color: var(--gp-text-2);
}

.gp-screenshots {
	margin: 40px 0 48px;
	position: relative;
}

.gp-screenshots-track {
	display: flex;
	gap: 12px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding-bottom: 8px;
	scrollbar-width: thin;
}

.gp-screenshots-track img {
	height: 296px;
	width: auto;
	border-radius: 8px;
	scroll-snap-align: start;
	box-shadow: 0 1px 2px rgba(60, 64, 67, 0.3);
}

.gp-scroll-btn {
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 48px;
	height: 48px;
	border-radius: 50%;
	border: 1px solid var(--gp-border);
	background: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}

.gp-section {
	margin-bottom: 48px;
}

.gp-section-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 16px;
	cursor: pointer;
}

.gp-section-head h2 {
	font-size: 18px;
	font-weight: 500;
	margin: 0;
}

.gp-section-head svg {
	color: var(--gp-text-2);
	flex-shrink: 0;
}

.gp-about {
	color: var(--gp-text);
	font-size: 14px;
	max-width: 960px;
	line-height: 1.6;
}

.gp-about p {
	margin: 0 0 10px;
}

.gp-about a {
	color: var(--gp-link);
	text-decoration: none;
}

.gp-about a:hover {
	text-decoration: underline;
}

.gp-tags {
	margin-top: 24px;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.gp-tag {
	border: 1px solid var(--gp-border);
	border-radius: 16px;
	padding: 6px 16px;
	font-size: 14px;
	color: var(--gp-text);
	text-decoration: none;
}

.gp-tag:hover {
	background: #f8f9fa;
	text-decoration: none;
}

.gp-updated {
	margin-top: 24px;
	font-size: 14px;
	color: var(--gp-text-2);
}

.gp-safety-text {
	color: var(--gp-text-2);
	font-size: 14px;
	max-width: 960px;
	margin-bottom: 24px;
}

.gp-safety-list {
	list-style: none;
	padding: 0;
	margin: 0;
	max-width: 960px;
}

.gp-safety-list li {
	display: flex;
	gap: 16px;
	padding: 16px 0;
	border-top: 1px solid var(--gp-border);
	font-size: 14px;
}

.gp-safety-list li:first-child {
	border-top: none;
}

.gp-safety-icon {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	color: var(--gp-text-2);
}

.gp-rating-summary {
	display: flex;
	gap: 48px;
	flex-wrap: wrap;
	margin-bottom: 32px;
}

.gp-rating-big {
	font-size: 56px;
	font-weight: 400;
	line-height: 1;
}

.gp-rating-bars {
	flex: 1;
	min-width: 200px;
	max-width: 320px;
}

.gp-bar-row {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	color: var(--gp-text-2);
	margin-bottom: 4px;
}

.gp-bar {
	flex: 1;
	height: 10px;
	background: #e8eaed;
	border-radius: 2px;
	overflow: hidden;
}

.gp-bar fill {
	display: block;
	height: 100%;
	background: var(--gp-green);
	border-radius: 2px;
}

.gp-review {
	padding: 24px 0;
	border-top: 1px solid var(--gp-border);
}

.gp-review-head {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 8px;
}

.gp-review-avatar {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: #e8eaed;
}

.gp-review-name {
	font-size: 14px;
	color: var(--gp-text-2);
}

.gp-support-grid {
	display: grid;
	gap: 16px;
	max-width: 640px;
}

.gp-support-row {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	font-size: 14px;
}

.gp-similar-scroll {
	display: flex;
	gap: 16px;
	overflow-x: auto;
	padding-bottom: 8px;
}

.gp-similar-card {
	flex: 0 0 180px;
	text-decoration: none;
	color: inherit;
}

.gp-similar-card:hover {
	text-decoration: none;
}

.gp-similar-icon {
	width: 56px;
	height: 56px;
	border-radius: 12px;
	margin-bottom: 8px;
}

.gp-similar-title {
	font-size: 14px;
	font-weight: 400;
	line-height: 1.3;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.gp-similar-dev {
	font-size: 12px;
	color: var(--gp-text-2);
	margin-top: 4px;
}

.gp-footer {
	border-top: 1px solid var(--gp-border);
	padding: 32px 24px;
	background: #f8f9fa;
	margin-top: 48px;
}

.gp-footer-inner {
	max-width: var(--gp-max);
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	gap: 24px 48px;
	font-size: 12px;
	color: var(--gp-text-2);
}

.gp-footer a {
	color: var(--gp-text-2);
}

@media (max-width: 960px) {
	.gp-hero {
		grid-template-columns: 96px 1fr;
		gap: 16px;
	}

	.gp-app-icon {
		width: 96px;
		height: 96px;
	}

	.gp-title {
		font-size: 24px;
	}

	.gp-meta-item {
		min-width: 72px;
		padding: 0 8px;
	}
}

@media (max-width: 600px) {
	.gp-nav-inner {
		gap: 16px;
		overflow-x: auto;
	}

	.gp-title {
		font-size: 22px;
	}
}
