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

:root {
	--green: #22c55e;
	--green-dim: #15803d;
	--green-soft: rgba(34, 197, 94, 0.12);
	--black: #0c0c0c;
	--black-soft: #141414;
	--surface: #1a1a1a;
	--gray: #2a2a2a;
	--gray-muted: #737373;
	--radius: 12px;
	--radius-sm: 8px;
}

body {
	margin: 0;
	min-height: 100vh;
	font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	background: var(--black);
	color: #e5e5e5;
	-webkit-font-smoothing: antialiased;
}

.header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.875rem 1.25rem;
	background: var(--black-soft);
	border-bottom: 1px solid var(--gray);
}

.header__back {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	margin: -0.25rem 0 -0.25rem -0.25rem;
	color: var(--gray-muted);
	text-decoration: none;
	font-size: 1.25rem;
	line-height: 1;
	border-radius: var(--radius-sm);
	transition: color 0.15s, background 0.15s;
}

.header__back:hover {
	color: #fafafa;
	background: var(--gray);
}

.header:not(:has(.header__back)) .header__title {
	margin-right: auto;
}

.header__title {
	margin: 0;
	font-size: 1.125rem;
	font-weight: 600;
	color: #fafafa;
	letter-spacing: -0.02em;
	flex: 1;
	text-align: center;
}

.header:has(.header__back) .header__title {
	text-align: center;
}

.header__badge {
	font-size: 0.6875rem;
	font-weight: 500;
	padding: 0.2rem 0.45rem;
	background: var(--green-soft);
	color: var(--green);
	border-radius: 6px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.main {
	max-width: 420px;
	margin: 0 auto;
	padding: 1rem 1rem 1.5rem;
}

.main__subtitle {
	margin: 0 0 1rem;
	font-size: 0.8125rem;
	font-weight: 500;
	color: var(--gray-muted);
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.asset-list {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.asset-card {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1rem 1.25rem;
	background: var(--surface);
	border: 1px solid var(--gray);
	border-radius: var(--radius);
	color: #fafafa;
	text-decoration: none;
	font-size: 1rem;
	font-weight: 500;
	transition: border-color 0.15s, background 0.15s;
}

.asset-card:hover:not(.asset-card--disabled) {
	border-color: var(--green-dim);
	background: rgba(34, 197, 94, 0.06);
}

.asset-card--disabled {
	opacity: 0.5;
	cursor: default;
	pointer-events: none;
}

.asset-card__icon {
	font-size: 1.5rem;
	line-height: 1;
}

.asset-card__label {
	flex: 1;
}

.asset-card__arrow {
	font-size: 1rem;
	color: var(--gray-muted);
}

.asset-card:hover:not(.asset-card--disabled) .asset-card__arrow {
	color: var(--green);
}

.embed-wrapper {
	background: var(--surface);
	border: 1px solid var(--gray);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
	min-height: 420px;
}

.embed-iframe {
	display: block;
	width: 100%;
	height: 520px;
	border: none;
}

@media (min-width: 480px) {
	.main {
		padding: 1.25rem 1.25rem 2rem;
	}

	.embed-wrapper {
		min-height: 480px;
	}

	.embed-iframe {
		height: 580px;
	}
}
