.gplay-vchecker {
	--gp-accent: #01875f;
	--gp-accent-soft: rgba(1, 135, 95, .08);
	--gp-border: #e3e6e4;
	--gp-card: #fff;
	--gp-text: #202522;
	--gp-muted: #69716d;
	box-sizing: border-box;
}

.gplay-vchecker *,
.gplay-vchecker *::before,
.gplay-vchecker *::after {
	box-sizing: border-box;
}

.actions .gplay-vchecker-control {
	display: inline-flex;
	align-items: center;
	vertical-align: middle;
}

.actions .gplay-vchecker-btn {
	appearance: none;
	-webkit-appearance: none;
	position: relative;
	display: inline-grid;
	grid-template-columns: 20px auto;
	align-items: center;
	justify-content: center;
	column-gap: 8px;
	min-width: 166px;
	height: 42px;
	margin: 0 10px;
	padding: 0 14px;
	border: 1px solid #dde2df;
	border-radius: 4px;
	background: transparent;
	box-shadow: none;
	color: #202522;
	font: inherit;
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
	transition: border-color .18s ease, background-color .18s ease, color .18s ease;
}

.actions .gplay-vchecker-btn:hover:not(:disabled) {
	border-color: #cdd7d2;
	background: #f4f7f5;
	box-shadow: none;
	color: #087853;
}

.actions .gplay-vchecker-btn:focus-visible {
	outline: 3px solid rgba(42, 174, 126, .25);
	outline-offset: 2px;
}

.actions .gplay-vchecker-btn:disabled {
	cursor: default;
	opacity: .72;
}

.actions .gplay-vchecker-btn .gplay-vchecker-btn-icon {
	grid-column: 1;
	grid-row: 1;
	position: static;
	top: auto;
	width: 20px;
	height: 20px;
	flex: 0 0 auto;
	transform: none;
	transition: opacity .16s ease;
}

.actions .gplay-vchecker-btn .gplay-vchecker-spinner {
	grid-column: 1;
	grid-row: 1;
	position: static;
	top: auto;
	width: 18px;
	height: 18px;
	margin: auto;
	border: 2px solid rgba(1, 135, 95, .22);
	border-top-color: currentColor;
	border-radius: 50%;
	opacity: 0;
	pointer-events: none;
}

.gplay-vchecker-btn.is-loading .gplay-vchecker-btn-icon {
	opacity: 0;
}

.gplay-vchecker-btn.is-loading .gplay-vchecker-spinner {
	opacity: 1;
	animation: gplay-spin .7s linear infinite;
}

.gplay-vchecker-btn.is-complete {
	border-color: rgba(1, 135, 95, .24);
	background: var(--gp-accent-soft);
	color: #087853;
}

.gplay-vchecker-result[hidden] {
	display: none !important;
}

.gplay-vchecker-result {
	--gp-status: #01875f;
	--gp-status-soft: rgba(1, 135, 95, .1);
	max-width: 660px;
	margin: 10px 0 24px;
	opacity: 0;
	transform: translateY(-6px);
}

.gplay-vchecker-result.is-visible {
	animation: gplay-card-in .46s cubic-bezier(.2, .75, .25, 1) forwards;
}

.gplay-vchecker-result.is-update_available,
.gplay-vchecker-result.is-no_file {
	--gp-status: #c66d08;
	--gp-status-soft: rgba(224, 125, 15, .11);
}

.gplay-vchecker-result.is-already_requested,
.gplay-vchecker-result.is-varies_by_device {
	--gp-status: #3973c7;
	--gp-status-soft: rgba(57, 115, 199, .11);
}

.gplay-vchecker-result.is-stale_cache,
.gplay-vchecker-result.is-temporary_error,
.gplay-vchecker-result.is-app_unavailable {
	--gp-status: #c64b43;
	--gp-status-soft: rgba(198, 75, 67, .1);
}

.gplay-vchecker-card {
	display: grid;
	grid-template-columns: 36px minmax(0, 1fr);
	gap: 12px;
	padding: 14px 16px;
	border: 1px solid var(--gp-border);
	border-radius: 6px;
	background: var(--gp-card);
	box-shadow: 0 2px 4px rgba(0, 0, 0, .035);
	color: var(--gp-text);
}

.gplay-vchecker-status-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border: 0;
	border-radius: 50%;
	background: var(--gp-status-soft);
	color: var(--gp-status);
	transform: none;
	animation: gplay-icon-in .28s .06s ease-out both;
}

.gplay-vchecker-status-icon svg {
	width: 19px;
	height: 19px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.gplay-vchecker-card-body {
	min-width: 0;
}

.gplay-vchecker-title {
	display: block;
	margin: 0 0 3px;
	color: var(--gp-text);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.25;
}

.gplay-vchecker-copy {
	margin: 0;
	color: var(--gp-muted);
	font-size: 13px;
	line-height: 1.45;
}

.gplay-vchecker-versions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0;
	margin-top: 11px;
	border-top: 1px solid var(--gp-border);
}

.gplay-vchecker-version-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-width: 0;
	padding: 9px 10px 2px 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	opacity: 0;
	transform: translateY(4px);
	animation: gplay-row-in .34s .16s ease forwards;
}

.gplay-vchecker-version-row:nth-child(2) {
	padding-right: 0;
	padding-left: 10px;
	border-left: 1px solid var(--gp-border);
	animation-delay: .23s;
}

.gplay-vchecker-version-row span {
	overflow: hidden;
	color: var(--gp-muted);
	font-size: 12px;
	font-weight: 600;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.gplay-vchecker-version-row strong {
	overflow: hidden;
	color: var(--gp-text);
	font-size: 13px;
	font-weight: 700;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.gplay-vchecker-meta {
	display: block;
	margin-top: 9px;
	color: var(--gp-muted);
	font-size: 11px;
	line-height: 1.35;
}

.gplay-vchecker-meta:empty {
	display: none;
}

[data-theme=dark] .gplay-vchecker {
	--gp-border: #363b38;
	--gp-card: #1b1d1f;
	--gp-text: #edf2ef;
	--gp-muted: #a5afaa;
}

[data-theme=dark] .actions .gplay-vchecker-btn {
	border-color: #3c413f;
	background: transparent;
	color: #d3d3d3;
}

[data-theme=dark] .actions .gplay-vchecker-btn:hover:not(:disabled) {
	border-color: #4a514d;
	background: #252927;
	color: #85d9b5;
}

[data-theme=dark] .actions .gplay-vchecker-btn.is-complete {
	border-color: rgba(67, 197, 146, .24);
	background: rgba(1, 135, 95, .1);
	color: #85d9b5;
}

[data-theme=dark] .gplay-vchecker-card {
	box-shadow: 0 2px 4px rgba(0, 0, 0, .16);
}

@media (max-width: 768px) {
	.actions .gplay-vchecker-control {
		margin: 0 3px;
	}

	.actions .gplay-vchecker-btn {
		min-width: 156px;
		margin: 0 3px;
		padding: 0 12px;
		font-size: 14px;
	}

	.gplay-vchecker-result {
		margin-top: 4px;
	}
}

@media (max-width: 520px) {
	.gplay-vchecker-card {
		grid-template-columns: 34px minmax(0, 1fr);
		gap: 10px;
		padding: 13px;
		border-radius: 6px;
	}

	.gplay-vchecker-status-icon {
		width: 32px;
		height: 32px;
	}

	.gplay-vchecker-status-icon svg {
		width: 18px;
		height: 18px;
	}

	.gplay-vchecker-title {
		font-size: 16px;
	}

	.gplay-vchecker-copy {
		font-size: 13px;
	}

	.gplay-vchecker-versions {
		grid-template-columns: 1fr;
		gap: 0;
		margin-top: 11px;
	}

	.gplay-vchecker-version-row,
	.gplay-vchecker-version-row:nth-child(2) {
		padding: 8px 0 2px;
		border-left: 0;
	}

	.gplay-vchecker-version-row:nth-child(2) {
		border-top: 1px solid var(--gp-border);
	}
}

@keyframes gplay-spin {
	to { transform: rotate(360deg); }
}

@keyframes gplay-card-in {
	to { opacity: 1; transform: translateY(0); }
}

@keyframes gplay-icon-in {
	from { opacity: 0; transform: scale(.9); }
	to { opacity: 1; transform: scale(1); }
}

@keyframes gplay-row-in {
	to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
	.actions .gplay-vchecker-btn,
	.gplay-vchecker-btn-icon,
	.gplay-vchecker-result,
	.gplay-vchecker-status-icon,
	.gplay-vchecker-version-row {
		animation: none !important;
		transition: none !important;
		transform: none !important;
		opacity: 1;
	}
}
