.rse-section,
.rse-section *,
.rse-note,
.rse-note * {
	box-sizing: border-box;
}

.rse-section {
	--rse-border: #e2e8f0;
	--rse-border-strong: rgba(148, 163, 184, 0.34);
	--rse-heading: #0f172a;
	--rse-text: #334155;
	--rse-muted: #64748b;
	--rse-surface: rgba(255, 255, 255, 0.96);
	--rse-surface-alt: rgba(248, 250, 252, 0.9);
	--rse-icon-bg: rgba(248, 250, 252, 0.92);
	--rse-icon-color: #0f172a;
	--rse-heading-font: "Cormorant Garamond", "Zen Old Mincho", "Noto Sans JP", serif;
	--rse-body-font: "Zen Old Mincho", "Noto Sans JP", serif;
	margin-top: 3.8rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--rse-border);
	color: var(--rse-text);
}

.rse-section__header {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	margin-bottom: 1.45rem;
}

.rse-section__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 2.65rem;
	height: 2.65rem;
	border: 1px solid var(--rse-border);
	background: var(--rse-icon-bg);
	color: var(--rse-icon-color);
}

.rse-section__icon-svg {
	width: 1.1rem;
	height: 1.1rem;
}

.rse-section__title {
	margin: 0;
	color: var(--rse-heading);
	font-family: var(--rse-heading-font);
	font-size: clamp(1.12rem, 1.45vw, 1.34rem);
	font-weight: 500;
	line-height: 1.35;
	letter-spacing: 0.12em;
}

.rse-section__list {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--rse-border);
}

.rse-section__item {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 0.85rem;
	align-items: start;
	padding: 1rem 0;
	border-bottom: 1px solid var(--rse-border);
}

.rse-section__index {
	display: inline-block;
	padding-top: 0.1rem;
	color: var(--rse-muted);
	font-family: "Cormorant Garamond", "Zen Old Mincho", serif;
	font-size: 0.9rem;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.14em;
	white-space: nowrap;
}

.rse-section__link,
.post-content .rse-section__link,
.post-content .rse-section a {
	display: grid;
	gap: 0.18rem;
	min-width: 0;
	color: inherit;
	text-decoration: none !important;
	border-bottom: 0 !important;
	box-shadow: none !important;
}

.rse-section__text {
	color: var(--rse-heading);
	font-family: var(--rse-body-font);
	font-size: 0.98rem;
	line-height: 1.8;
	letter-spacing: 0.04em;
	word-break: break-word;
}

.rse-section__url {
	color: var(--rse-muted);
	font-size: 0.78rem;
	line-height: 1.7;
	letter-spacing: 0.03em;
	overflow-wrap: anywhere;
}

.rse-section__link:hover .rse-section__text,
.rse-section__link:focus-visible .rse-section__text {
	color: var(--rse-text);
}

.rse-note {
	margin-left: 0.15em;
	font-size: 0.72em;
	line-height: 1;
	vertical-align: super;
}

.rse-note__link,
.post-content .rse-note__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.1rem;
	padding: 0 0.08rem;
	color: var(--rse-muted, #64748b);
	font-family: "Cormorant Garamond", "Zen Old Mincho", serif;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.08em;
	text-decoration: none !important;
	border-bottom: 0 !important;
	box-shadow: none !important;
}

.rse-note__link:hover,
.rse-note__link:focus-visible {
	color: var(--rse-heading, #0f172a);
}

.rse-tooltip {
	position: absolute;
	z-index: 9999;
	max-width: min(24rem, calc(100vw - 1.5rem));
	padding: 0.95rem 1rem;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(11, 18, 29, 0.97);
	color: rgba(255, 255, 255, 0.86);
	box-shadow: 0 22px 44px rgba(2, 6, 23, 0.38);
	opacity: 0;
	pointer-events: none;
	transform: translateY(6px);
	transition: opacity 0.16s ease, transform 0.16s ease;
}

.rse-tooltip.is-active {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

.rse-tooltip__index {
	margin-bottom: 0.2rem;
	color: rgba(255, 255, 255, 0.52);
	font-family: "Cormorant Garamond", "Zen Old Mincho", serif;
	font-size: 0.72rem;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.16em;
}

.rse-tooltip__title {
	color: #ffffff;
	font-family: "Zen Old Mincho", "Noto Sans JP", serif;
	font-size: 0.88rem;
	line-height: 1.75;
	letter-spacing: 0.04em;
}

.rse-tooltip__url,
.post-content .rse-tooltip__url {
	display: inline-block;
	margin-top: 0.35rem;
	color: rgba(226, 232, 240, 0.74);
	font-size: 0.74rem;
	line-height: 1.6;
	text-decoration: none !important;
	border-bottom: 0 !important;
	box-shadow: none !important;
	overflow-wrap: anywhere;
}

.rse-tooltip__url:hover,
.rse-tooltip__url:focus-visible {
	color: #ffffff;
}

.rse-section--preset-awaken {
	--rse-border: var(--awaken-color-border, #e2e8f0);
	--rse-border-strong: rgba(148, 163, 184, 0.24);
	--rse-heading: var(--awaken-color-primary, #0b121d);
	--rse-text: var(--awaken-color-secondary, #475569);
	--rse-muted: var(--awaken-color-text-soft, #64748b);
	--rse-surface: rgba(255, 255, 255, 0.98);
	--rse-surface-alt: rgba(248, 250, 252, 0.82);
	--rse-icon-bg: rgba(248, 250, 252, 0.88);
	--rse-icon-color: var(--awaken-color-secondary, #475569);
	--rse-heading-font: "Cormorant Garamond", "Zen Old Mincho", "Noto Sans JP", serif;
	--rse-body-font: "Zen Old Mincho", "Noto Sans JP", serif;
}

.rse-section--preset-awaken .rse-section__title {
	font-size: clamp(1.1rem, 1.35vw, 1.3rem);
	letter-spacing: 0.14em;
}

.rse-section--preset-awaken .rse-section__text {
	font-size: 0.96rem;
	line-height: 1.9;
}

.rse-section--preset-awaken .rse-section__url {
	font-size: 0.76rem;
	letter-spacing: 0.04em;
}

.rse-section--preset-awaken .rse-section__item {
	padding: 0.95rem 0;
}

.rse-section--preset-editorial {
	--rse-border: rgba(15, 23, 42, 0.12);
	--rse-heading: #111827;
	--rse-text: #334155;
	--rse-muted: #6b7280;
	--rse-icon-bg: rgba(15, 23, 42, 0.03);
	--rse-icon-color: #111827;
}

.rse-section--preset-editorial .rse-section__title {
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.rse-section--preset-minimal {
	--rse-border: rgba(148, 163, 184, 0.22);
	--rse-heading: #0f172a;
	--rse-text: #475569;
	--rse-muted: #64748b;
	--rse-icon-bg: transparent;
	--rse-icon-color: #475569;
}

.rse-section--preset-minimal .rse-section__header {
	margin-bottom: 1rem;
}

.rse-section--preset-minimal .rse-section__icon {
	width: 2.1rem;
	height: 2.1rem;
	border-color: transparent;
}

.rse-section--preset-minimal .rse-section__list {
	border-top: 0;
}

.rse-section--preset-minimal .rse-section__item:first-child {
	border-top: 1px solid var(--rse-border);
}

.rse-section--preset-glass {
	--rse-border: rgba(255, 255, 255, 0.16);
	--rse-heading: #ffffff;
	--rse-text: rgba(255, 255, 255, 0.86);
	--rse-muted: rgba(255, 255, 255, 0.62);
	--rse-surface: rgba(15, 23, 42, 0.7);
	--rse-surface-alt: rgba(30, 41, 59, 0.54);
	--rse-icon-bg: rgba(255, 255, 255, 0.08);
	--rse-icon-color: rgba(255, 255, 255, 0.8);
	padding: 1.4rem 1.5rem 0;
	border: 1px solid var(--rse-border);
	background: linear-gradient(180deg, var(--rse-surface), var(--rse-surface-alt));
	backdrop-filter: blur(14px);
}

.rse-section--preset-glass .rse-section__list {
	border-top-color: rgba(255, 255, 255, 0.14);
}

.rse-section--preset-glass .rse-section__item {
	border-bottom-color: rgba(255, 255, 255, 0.12);
}

.rse-section--preset-glass .rse-section__link:hover .rse-section__text,
.rse-section--preset-glass .rse-section__link:focus-visible .rse-section__text,
.rse-section--preset-glass .rse-note__link:hover,
.rse-section--preset-glass .rse-note__link:focus-visible {
	color: #ffffff;
}

@media (max-width: 720px) {
	.rse-section {
		margin-top: 3rem;
		padding-top: 1.2rem;
	}

	.rse-section__header {
		gap: 0.72rem;
		margin-bottom: 1.15rem;
	}

	.rse-section__icon {
		width: 2.35rem;
		height: 2.35rem;
	}

	.rse-section__title {
		font-size: 1rem;
		letter-spacing: 0.1em;
	}

	.rse-section__item {
		grid-template-columns: 1fr;
		gap: 0.4rem;
		padding: 0.85rem 0;
	}

	.rse-section__index {
		padding-top: 0;
	}

	.rse-section--preset-glass {
		padding: 1.15rem 1rem 0;
	}
}
