.nook-home,
.nook-home * {
	box-sizing: border-box;
}

.nook-home {
	width: 100%;
	max-width: 1140px;
	margin: 0 auto;
	padding-left: 16px;
	padding-right: 16px;
	font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: #0e1133;
}

@media (min-width: 1400px) {
	.nook-home {
		max-width: 1200px;
	}
}

.nook-home-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin: 0 0 14px;
}

.nook-home-heading {
	flex: 1 1 auto;
	margin: 0;
	font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-weight: 600;
	letter-spacing: -0.03em;
	line-height: 1.2;
	color: #0e1133;
}

.nook-home-head h1.nook-home-heading { font-size: 2.35rem; }
.nook-home-head h2.nook-home-heading { font-size: 1.7rem; }
.nook-home-head h3.nook-home-heading { font-size: 1.45rem; }
.nook-home-head h4.nook-home-heading { font-size: 1.25rem; }
.nook-home-head h5.nook-home-heading { font-size: 1.1rem; }
.nook-home-head h6.nook-home-heading { font-size: 1rem; }

.nook-home-head a {
	color: #0018a8;
	font-weight: 600;
	text-decoration: none;
}

.nook-home-head a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.nook-home-stage {
	position: relative;
}

.nook-home-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.nook-home-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 18px;
	align-items: center;
	padding: 16px 18px;
	background: #fff;
	border: 1px solid #e3e6ee;
	border-radius: 18px;
	box-shadow: 0 10px 24px rgba(14, 17, 51, 0.05);
	color: inherit;
	text-decoration: none;
}

a.nook-home-row:hover {
	border-color: #c5cbe0;
	color: inherit;
}

.nook-home-main {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.nook-home-kicker {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #001270;
}

.nook-home-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	flex: 0 0 auto;
}

.nook-home-pill {
	display: inline-flex;
	align-items: center;
	border-radius: 999px;
	padding: 2px 8px;
	background: #f3f4f8;
	color: #6d6e75;
	letter-spacing: 0;
	text-transform: none;
	font-size: 0.75rem;
	font-weight: 600;
}

.nook-home-pill.is-gold {
	background: #fff4d6;
	color: #7a5414;
}

.nook-home-title {
	display: block;
	margin: 4px 0;
	font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 1.35rem;
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: -0.02em;
	overflow-wrap: anywhere;
}

.nook-home-excerpt {
	color: #6d6e75;
	font-size: 0.98rem;
	line-height: 1.4;
	overflow-wrap: anywhere;
}

.nook-home-meta {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px;
	min-width: 150px;
	color: #6d6e75;
	font-size: 0.92rem;
	text-align: right;
}

.nook-home-who {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #0e1133;
	font-weight: 600;
}

.nook-home-who .avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	color: #fff;
	font-size: 0.68rem;
	font-weight: 700;
	line-height: 1;
	flex: 0 0 auto;
}

.nook-home-who img.avatar {
	object-fit: cover;
	display: inline-block;
	background: #e3e6ee;
}

.nook-home-stats strong {
	color: #0e1133;
	font-size: 1.05rem;
}

.nook-home-empty {
	margin: 0;
	color: #6d6e75;
}

.nook-home.is-locked .nook-home-list {
	filter: blur(7px);
	user-select: none;
	pointer-events: none;
}

.nook-home-gate {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px 16px;
	text-decoration: none;
	background: linear-gradient(180deg, rgba(243, 244, 248, 0.08), rgba(243, 244, 248, 0.55) 42%, rgba(243, 244, 248, 0.08));
}

.nook-home-gate-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	width: min(100%, 400px);
	padding: 28px 28px 24px;
	background: #fff;
	border: 1px solid #e3e6ee;
	border-radius: 22px;
	box-shadow: 0 22px 48px rgba(14, 17, 51, 0.14);
	text-align: center;
	color: #0e1133;
}

.nook-home-gate-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 14px;
	background: #eef1fb;
	color: #0018a8;
}

.nook-home-gate-mark svg {
	display: block;
	width: 22px;
	height: 22px;
}

.nook-home-gate-card strong {
	font-size: 1.12rem;
	font-weight: 600;
	line-height: 1.45;
	letter-spacing: -0.02em;
}

.nook-home-gate-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 2px;
	background: #0018a8;
	color: #fff;
	border-radius: 999px;
	padding: 12px 22px;
	font-weight: 600;
}

.nook-home-gate:hover .nook-home-gate-card {
	border-color: #c5cbe0;
}

.nook-home-gate:hover .nook-home-gate-btn {
	background: #001270;
}

.nook-home-gate:focus-visible .nook-home-gate-card {
	outline: 2px solid #0018a8;
	outline-offset: 3px;
}

@media (max-width: 900px) {
	.nook-home-head {
		align-items: flex-start;
		flex-direction: column;
		gap: 6px;
	}

	.nook-home-row {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
	}

	.nook-home-meta {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		width: 100%;
		min-width: 0;
		text-align: left;
	}
}

@media (max-width: 560px) {
	.nook-home {
		padding-left: 12px;
		padding-right: 12px;
	}

	.nook-home-head h1.nook-home-heading { font-size: 1.8rem; }
	.nook-home-head h2.nook-home-heading { font-size: 1.45rem; }
	.nook-home-head h3.nook-home-heading { font-size: 1.3rem; }
	.nook-home-head h4.nook-home-heading { font-size: 1.15rem; }
	.nook-home-head h5.nook-home-heading { font-size: 1.05rem; }
	.nook-home-head h6.nook-home-heading { font-size: 1rem; }

	.nook-home-row {
		padding: 14px;
	}

	.nook-home-title {
		font-size: 1.12rem;
	}

	.nook-home-meta {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}

	.nook-home-gate {
		padding: 16px 12px;
	}

	.nook-home-gate-card {
		padding: 22px 18px 18px;
		border-radius: 18px;
	}

	.nook-home-gate-card strong {
		font-size: 1rem;
	}
}
