.home-main {
	display: flex;
	flex-direction: column;
	gap: 2rem;
	padding: 0 1rem 2rem;
	max-width: 72rem;
	width: 100%;
}

.home-hero {
	text-align: center;
	padding: 1.5rem 1rem;
	background: radial-gradient(ellipse at center, rgba(26, 61, 46, 0.35) 0%, transparent 70%);
	border-radius: 12px;
}

.home-hero .phase-subtitle {
	margin-bottom: 0;
}

.home-create {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.home-create__panel {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	padding: 1.5rem;
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: 10px;
}

.home-create__panel form {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	align-items: stretch;
}

.home-create__panel input {
	width: 100%;
	box-sizing: border-box;
}

.home-create__panel .btn {
	align-self: center;
}

.room-link-container {
	display: none;
	flex-direction: column;
	align-items: center;
	gap: 0.75rem;
	padding: 1rem;
	background: linear-gradient(135deg, rgba(197, 150, 38, 0.1) 0%, var(--color-surface) 100%);
	border: 1px solid var(--color-accent);
	border-radius: 10px;
}

.room-link-container:not(.hidden) {
	display: flex;
}

.room-link-container .flex {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.home-rooms {
	display: none;
	flex-direction: column;
	gap: 1rem;
}

.home-rooms:not(.hidden) {
	display: flex;
}

.home-rooms__list {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	list-style: none;
	padding: 0;
	margin: 0;
}

.room-card {
	display: flex;
	align-items: stretch;
	background: var(--color-surface);
	border: 1px solid var(--color-border-muted);
	border-radius: 10px;
	overflow: hidden;
	transition: background-color 0.15s, border-color 0.15s, box-shadow 0.2s, transform 0.15s;
	min-width: 260px;
	flex: 1 1 260px;
	max-width: 360px;
}

.room-card:hover {
	background: var(--color-surface-hover);
	border-color: var(--color-border);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
	transform: translateY(-1px);
}

.room-card:hover .room-card__stripe {
	background: var(--color-accent);
}

.room-card__stripe {
	width: 4px;
	flex-shrink: 0;
	background: var(--color-felt);
	transition: background 0.2s;
}

.room-card__link {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	padding: 1rem;
	color: inherit;
	text-decoration: none;
	min-width: 0;
}

.room-card__header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 0.5rem;
}

.room-card--owned .room-card__stripe {
	background: linear-gradient(180deg, #fedb37 0%, var(--color-accent) 100%);
}

.room-card__title-row {
	display: flex;
	align-items: center;
	gap: 0.375rem;
	min-width: 0;
}

.room-card__owner-badge {
	flex-shrink: 0;
	font-size: 0.875rem;
	line-height: 1;
	filter: drop-shadow(0 0 4px var(--color-accent-glow));
}

.room-card__name {
	font-family: var(--font-display);
	font-size: 1.125rem;
	font-weight: 600;
	color: var(--color-text);
	margin: 0;
}

.room-card__meta {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	font-size: 0.875rem;
	color: var(--color-text-muted);
}

.room-card__meta p {
	margin: 0;
}

.room-card__activity {
	font-size: 0.8rem;
}
