.lobby-page {
	align-items: center;
	background: var(--paper);
	display: flex;
	justify-content: center;
	min-height: 100vh;
	padding: 1.5rem;
	position: relative;
	width: 100%;
}

.lobby-panel {
	align-items: center;
	animation: appear .45s ease-out both;
	background: rgba(255, 255, 255, .5);
	border-radius: 1.5rem;
	display: flex;
	flex-direction: column;
	min-height: 32rem;
	max-width: 38rem;
	padding: 4.5rem 2rem 3.5rem;
	position: relative;
	width: min(100%, 38rem);
}

.lobby-header {
	align-items: center;
	display: flex;
	flex-direction: column;
}

.eyebrow {
	color: var(--ink);
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: .18em;
	margin: 0 0 0.625rem;
	text-transform: uppercase;
}

.lobby-header h1 {
	color: var(--paper);
	font-family: var(--title-font);
	font-size: clamp(2rem, 5vw, 3rem);
	letter-spacing: 0;
	line-height: 1;
	margin: 0;
}

.party-info {
	align-items: center;
	display: flex;
	justify-content: space-between;
	margin-top: 2.75rem;
	width: min(100%, 24rem);
}

.party-info > div {
	align-items: center;
	display: flex;
	flex-direction: column;
}

.party-code-wrapper {
	position: relative;
}

.section-label {
	display: none;
}

.party-code {
	background: #fff;
	border-radius: 1.25rem;
	color: var(--dark-blue);
	font-family: var(--button-font);
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: .12em;
	display: block;
	padding: 0.75rem 2.75rem 0.75rem 1rem;
}

.copy-link-button {
	align-items: center;
	background: transparent;
	border: 0;
	cursor: pointer;
	display: flex;
	height: 1.75rem;
	justify-content: center;
	padding: 0;
	position: absolute;
	right: 0.5rem;
	top: 50%;
	transform: translateY(-50%);
	width: 1.75rem;
}

.copy-link-button:hover {
	transform: translateY(-50%) scale(1.08);
}

.copy-link-button img {
	height: 1.1rem;
	width: 1.1rem;
}

.leave-button {
	align-items: center;
	background: #fff;
	border: 0;
	border-radius: 0.625rem;
	color: var(--dark-blue);
	cursor: pointer;
	display: flex;
	font-size: 1.125rem;
	gap: 0.1875rem;
	height: 3.25rem;
	justify-content: center;
	padding: 0;
	position: relative;
	transition: background .2s, transform .2s;
	width: 3.25rem;
}

.leave-button:hover {
	background: #f1f1f1;
	transform: translateY(-0.125rem);
}


.door-icon {
	filter: invert(36%) sepia(8%) saturate(700%) hue-rotate(191deg) brightness(91%) contrast(86%);
	height: 1.5rem;
	position: absolute;
	transition: opacity .2s ease;
	width: 1.5rem;
}

.door-icon-open {
	opacity: 0;
}

.leave-button:hover .door-icon-closed {
	opacity: 0;
}

.leave-button:hover .door-icon-open {
	opacity: 1;
}

.copy-label {
	font-size: 0;
}

.players-heading {
	margin-top: 2rem;
}

.players-count {
	background: var(--dark-blue);
	border-radius: 6.1875rem;
	color: #fff;
	font-size: 0.75rem;
	font-weight: 600;
	margin: 0;
	padding: 0.375rem 1rem;
}

.players-count strong {
	color: var(--yellow);
	font-weight: 600;
}

.player-list {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	list-style: none;
	margin: 1rem 0 1.8125rem;
	padding: 0;
	width: min(100%, 20rem);
}

.player-row {
	align-items: center;
	display: flex;
	gap: 0.875rem;
	height: 3.75rem;
	padding: 0.25rem 0;
	position: relative;
}

.player-avatar {
	border-radius: 50%;
	display: block;
	height: 3.625rem;
	position: relative;
	width: 3.625rem;
}

.avatar-image {
	border-radius: 50%;
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.crown {
	height: 1.5rem;
	right: -0.25rem;
	position: absolute;
	top: -1.25rem;
	transform: rotate(12deg);
	width: 1.5rem;
}

.player-name {
	align-items: center;
	background: rgba(255, 255, 255, .92);
	border: 0;
	border-radius: 0.25rem;
	color: var(--ink);
	display: flex;
	flex: 1;
	font-size: 1rem;
	font-weight: 600;
	height: 2.5rem;
	justify-content: space-between;
	line-height: 2.5rem;
	padding: 0 1rem;
}

.player-stats {
	align-items: center;
	display: flex;
	flex-shrink: 0;
	font-size: 0.9rem;
	font-weight: 600;
	gap: 0.25rem;
	line-height: 1;
	color: var(--ink);
    font-family: var(--title-font);
}

.lobby-footer {
	margin-top: auto;
}

.start-button {
	align-items: center;
	background: var(--dark-blue);
	border: 0;
	border-radius: 1.0625rem;
	color: #fff;
	cursor: pointer;
	display: flex;
	font-size: 1rem;
	font-weight: 700;
	gap: 0.75rem;
	justify-content: center;
	min-width: 14rem;
	padding: 1rem 1.5rem;
	transition: background .2s, transform .2s;
}

.start-button:hover:not(:disabled) {
	background: #656978;
	transform: translateY(-0.125rem);
}

.start-button:disabled {
	background: #a9a9a9;
	cursor: default;
}

.hunter-net-icon {
	height: 1.25rem;
	width: 1.25rem;
}

@keyframes appear {
	from {
		opacity: 0;
		transform: translateY(0.625rem);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 37.5rem) {
	.lobby-panel {
		padding: 3rem 1.25rem 2.375rem;
	}

	.party-info {
		gap: 2rem;
	}
}