body.is-core {
	background: radial-gradient(1100px 600px at 50% -10%, rgba(185, 219, 242, 0.5), transparent 55%),
		linear-gradient(180deg, #f8fbff 0%, #f5f5f5 50%, #fff6ee 100%);
	overflow: hidden;
}

body.is-core .page {
	height: 100vh;
	overflow: hidden;
	padding-bottom: 0;
}

/* Stage — fills viewport below nav */
.core-stage {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}

/* Center cluster */
.core-center {
	text-align: center;
	z-index: 2;
	position: relative;
}

.core-center h1 {
	font-family: var(--font-display);
	font-size: clamp(42px, 7vw, 80px);
	font-weight: 700;
	letter-spacing: -1px;
	margin: 0 0 12px;
	color: var(--ink);
	cursor: pointer;
	transition: transform 0.2s ease;
	user-select: none;
}

.core-center h1:hover {
	transform: scale(1.04);
}

.core-center .premise {
	font-size: clamp(14px, 1.8vw, 17px);
	color: var(--ink-soft);
	margin: 0 0 20px;
	line-height: 1.6;
}

.view-counter {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 4px 14px;
	border-radius: 999px;
	background: rgba(15, 27, 45, 0.04);
	border: 1px solid var(--line);
	margin-bottom: 12px;
}

.view-count {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 16px;
	color: var(--ink);
}

.view-label {
	font-size: 11px;
	color: var(--ink-soft);
	letter-spacing: 0.5px;
}

/* Resolve Bar */
.resolve-bar {
	max-width: 420px;
	margin: 0 auto;
}

.resolve-bar input {
	width: 100%;
	padding: 12px 18px;
	border-radius: 999px;
	border: 1px solid var(--line);
	background: var(--white);
	font-family: var(--font-body);
	font-size: 14px;
	color: var(--ink);
	box-shadow: 0 6px 20px rgba(15, 27, 45, 0.06);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	outline: none;
}

.resolve-bar input:focus {
	border-color: var(--blue-strong);
	box-shadow: 0 8px 28px rgba(90, 143, 185, 0.16);
}

.resolve-bar input::placeholder {
	color: rgba(42, 59, 82, 0.4);
}

/* Bubble Ring — positioned via JS with transform from center */
.bubble-ring {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0;
	height: 0;
	z-index: 1;
}

.bubble {
	position: absolute;
	padding: 10px 18px;
	border-radius: 999px;
	background: var(--white);
	border: 1px solid var(--line);
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 13px;
	color: var(--ink);
	cursor: pointer;
	box-shadow: 0 8px 22px rgba(15, 27, 45, 0.08);
	white-space: nowrap;
	opacity: 0;
	transform: translate(-50%, -50%) scale(0.6);
	transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
	pointer-events: none;
}

.bubble-ring.expanded .bubble {
	opacity: 1;
	pointer-events: all;
}

.bubble:hover {
	box-shadow: 0 12px 30px rgba(15, 27, 45, 0.16);
	border-color: var(--blue-strong);
	z-index: 5;
}

.bubble.active {
	background: var(--white);
	color: var(--blue-strong);
	border-color: var(--ink);
	box-shadow: 0 12px 30px rgba(15, 27, 45, 0.18);
	transform: translate(-50%, -50%) scale(1.08) !important;
}

/* Overlay */
.overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(15, 27, 45, 0.5);
	backdrop-filter: blur(6px);
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 1000;
}

.overlay.open {
	display: flex;
	animation: fadeIn 0.15s ease;
}

@keyframes fadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

.overlay-card {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 32px 36px;
	max-width: 600px;
	width: 90%;
	max-height: 80vh;
	overflow-y: auto;
	box-shadow: 0 24px 60px rgba(15, 27, 45, 0.25);
	position: relative;
	animation: cardIn 0.2s ease;
}

@keyframes cardIn {
	from { opacity: 0; transform: scale(0.95) translateY(10px); }
	to { opacity: 1; transform: scale(1) translateY(0); }
}

.overlay-close {
	position: absolute;
	top: 14px;
	right: 16px;
	background: none;
	border: none;
	font-size: 24px;
	color: var(--ink-soft);
	cursor: pointer;
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	transition: background 0.15s ease;
}

.overlay-close:hover {
	background: rgba(15, 27, 45, 0.06);
}

.overlay-chip {
	font-weight: 700;
	font-size: 14px;
	color: var(--blue-strong);
	letter-spacing: 0.3px;
	margin-bottom: 18px;
	text-transform: uppercase;
}

.overlay-body ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.overlay-body li {
	font-size: 14px;
	line-height: 1.7;
	color: var(--ink);
	padding-left: 14px;
	border-left: 2px solid var(--blue);
}

.overlay-body li strong {
	color: var(--ink);
	display: block;
	margin-bottom: 2px;
}

/* Responsive */
@media (max-width: 720px) {
	.bubble-ring {
		position: static;
		display: flex;
		flex-wrap: wrap;
		gap: 8px;
		justify-content: center;
		margin-top: 24px;
		width: auto;
		height: auto;
	}

	.bubble {
		position: static !important;
		transform: none !important;
		opacity: 1 !important;
		pointer-events: all !important;
	}

	.core-stage {
		flex-direction: column;
		justify-content: flex-start;
		padding-top: 40px;
		overflow-y: auto;
	}
}
