* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	-webkit-tap-highlight-color: transparent;
}
html, body {
	height: 100%;
	width: 100%;
	overflow-x: hidden;
}
body {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	color: #2d3748;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 15px;
	line-height: 1.5;
}
.container {
	width: 100%;
	max-width: 500px;
	background: white;
	border-radius: 16px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
	overflow: hidden;
	display: flex;
	flex-direction: column;
}
.header {
	background: linear-gradient(to right, #0088cc, #34b7f1);
	color: white;
	padding: 25px 20px;
	text-align: center;
	flex-shrink: 0;
}
.logo {
	width: 70px;
	height: 70px;
	margin: 0 auto 15px;
	background: white;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
.logo svg {
	width: 40px;
	height: 40px;
}
h1 {
	font-size: 1.8rem;
	margin-bottom: 8px;
	font-weight: 700;
}
.subtitle {
	font-size: 0.95rem;
	opacity: 0.9;
	line-height: 1.4;
}
.content {
	padding: 25px 20px;
	flex: 1;
	display: flex;
	flex-direction: column;
	overflow-y: auto;
	max-height: calc(100vh - 200px);
}
.action-buttons {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: 25px;
	flex: 1;
}
.action-button {
	padding: 18px 20px;
	background: #f8fafc;
	border-radius: 12px;
	text-decoration: none;
	color: #2d3748;
	transition: all 0.2s ease;
	border: 2px solid #e2e8f0;
	display: flex;
	align-items: center;
	gap: 15px;
	cursor: pointer;
	-webkit-user-select: none;
	user-select: none;
}
.action-button:active {
	transform: scale(0.98);
	background: #edf2f7;
}
.action-button:hover {
	border-color: #0088cc;
	box-shadow: 0 5px 15px rgba(0, 136, 204, 0.1);
}
.button-icon {
	font-size: 1.8rem;
	color: #0088cc;
	min-width: 40px;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
}
.button-icon svg {
	width: 28px;
	height: 28px;
	fill: currentColor;
}
.button-text {
	flex: 1;
	min-width: 0;
}
.button-title {
	font-weight: 600;
	margin-bottom: 4px;
	font-size: 1.05rem;
}
.button-description {
	font-size: 0.85rem;
	color: #64748b;
	line-height: 1.3;
}
.button-arrow {
	color: #94a3b8;
	font-size: 1.2rem;
	display: flex;
	align-items: center;
	justify-content: center;
}
.button-arrow svg {
	width: 16px;
	height: 16px;
	fill: currentColor;
}
.copy-section {
	background: linear-gradient(135deg, #f0f9ff 0%, #f0fdf4 100%);
	padding: 20px;
	border-radius: 12px;
	border: 2px solid #bae6fd;
	margin-bottom: 20px;
	flex-shrink: 0;
}
.copy-title {
	font-size: 1.1rem;
	font-weight: 600;
	margin-bottom: 12px;
	color: #0369a1;
	display: flex;
	align-items: center;
	gap: 8px;
}
.copy-title svg {
	width: 20px;
	height: 20px;
	fill: currentColor;
}
.copy-text {
	font-size: 0.9rem;
	color: #475569;
	margin-bottom: 15px;
	line-height: 1.4;
}
.tag-display {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.tag-box {
	background: white;
	padding: 16px;
	border-radius: 10px;
	border: 2px solid #cbd5e1;
	font-family: 'Courier New', monospace;
	font-size: 1.1rem;
	text-align: center;
	user-select: all;
	word-break: break-all;
	color: #0f172a;
	font-weight: 600;
}
.copy-button {
	padding: 16px;
	background: linear-gradient(to right, #10b981, #34d399);
	color: white;
	border: none;
	border-radius: 10px;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
}
.copy-button svg {
	width: 20px;
	height: 20px;
	fill: currentColor;
}
.copy-button:active {
	transform: scale(0.98);
	background: linear-gradient(to right, #0da271, #2bb884);
}
.notification {
	position: fixed;
	top: 20px;
	right: 20px;
	left: 20px;
	background: #10b981;
	color: white;
	padding: 16px 20px;
	border-radius: 12px;
	box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
	display: none;
	z-index: 1000;
	text-align: center;
	animation: slideIn 0.3s ease-out;
}
.notification svg {
	width: 24px;
	height: 24px;
	fill: currentColor;
	margin-right: 8px;
	vertical-align: middle;
}
@keyframes slideIn {
	from {
		transform: translateY(-20px);
		opacity: 0;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}
.footer {
	text-align: center;
	padding: 20px;
	background: #f1f5f9;
	border-top: 1px solid #e2e8f0;
	color: #64748b;
	font-size: 0.85rem;
	flex-shrink: 0;
}
.back-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #0088cc;
	text-decoration: none;
	font-weight: 600;
	padding: 10px 20px;
	border-radius: 8px;
	background: white;
	border: 2px solid #e2e8f0;
	transition: all 0.2s ease;
}
.back-link svg {
	width: 16px;
	height: 16px;
	fill: currentColor;
}
.back-link:active {
	transform: scale(0.98);
	background: #f8fafc;
}
/* Десктопные стили */
@media (min-width: 768px) {
	.container {
		max-width: 580px;
		max-height: 90vh;
	}
	.header {
		padding: 30px 25px;
	}
	.logo {
		width: 80px;
		height: 80px;
		margin-bottom: 20px;
	}
	.logo svg {
		width: 45px;
		height: 45px;
	}
	h1 {
		font-size: 2rem;
	}
	.subtitle {
		font-size: 1rem;
	}
	.content {
		padding: 30px 25px;
	}
	.action-button {
		padding: 20px 25px;
	}
	.button-icon svg {
		width: 32px;
		height: 32px;
	}
	.button-title {
		font-size: 1.1rem;
	}
	.button-description {
		font-size: 0.9rem;
	}
	.tag-display {
		flex-direction: row;
		align-items: center;
	}
	.tag-box {
		flex: 1;
		min-width: 0;
	}
	.copy-button {
		width: auto;
		min-width: 160px;
	}
	.notification {
		left: auto;
		right: 20px;
		width: auto;
		min-width: 300px;
	}
}
/* Мобильные стили */
@media (max-width: 767px) {
	body {
		padding: 10px;
	}
	.container {
		border-radius: 20px;
		max-height: 95vh;
	}
	.header {
		padding: 20px 15px;
	}
	h1 {
		font-size: 1.5rem;
	}
	.subtitle {
		font-size: 0.9rem;
	}
	.content {
		padding: 20px 15px;
		max-height: calc(100vh - 180px);
	}
	.action-button {
		padding: 16px;
	}
	.button-icon svg {
		width: 24px;
		height: 24px;
	}
	.button-title {
		font-size: 1rem;
	}
	.button-description {
		font-size: 0.8rem;
	}
	.copy-section {
		padding: 16px;
	}
	.copy-title {
		font-size: 1rem;
	}
	.copy-text {
		font-size: 0.85rem;
	}
	.footer {
		padding: 15px;
	}
}
/* Очень маленькие экраны */
@media (max-width: 360px) {
	.header {
		padding: 15px 12px;
	}
	.logo {
		width: 60px;
		height: 60px;
		margin-bottom: 12px;
	}
	.logo svg {
		width: 35px;
		height: 35px;
	}
	h1 {
		font-size: 1.3rem;
	}
	.content {
		padding: 15px 12px;
	}
	.action-button {
		padding: 14px;
		gap: 12px;
	}
	.button-icon {
		min-width: 35px;
	}
	.button-icon svg {
		width: 22px;
		height: 22px;
	}
}
/* Предотвращение скролла на iOS */
@supports (-webkit-touch-callout: none) {
	body {
		height: -webkit-fill-available;
	}
	.container {
		max-height: -webkit-fill-available;
	}
}