.index-dashboard {
	display: flex;
	flex-direction: column;
	gap: 1.1rem;
	min-width: 0;
	max-width: 100%;
}

.index-hero-card {
	position: relative;
	border-radius: 1.1rem;
	min-height: 0;
	padding: 1.25rem 1.35rem 1rem;
	background-image:
		linear-gradient(120deg, rgba(20, 27, 55, 0.34), rgba(16, 19, 42, 0.54)),
		var(--portal-bg-image, none),
		linear-gradient(140deg, #87618b 0%, #6d669f 45%, #4d5f96 100%);
	background-size: cover;
	background-position: center;
	color: #fff;
	overflow: hidden;
	box-shadow: 0 16px 34px rgba(48, 65, 120, 0.22);
}

.index-hero-overlay {
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.18) 0%, transparent 52%);
	pointer-events: none;
}

.index-hero-layout {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	min-height: 0;
}

.index-hero-portal-top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.65rem 1rem;
	flex-shrink: 0;
}

.index-hero-portal-center {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.85rem;
	width: 100%;
	max-width: 760px;
	margin-inline: auto;
	flex: 0 0 auto;
}

.index-hero-portal-bottom {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 0.75rem;
	align-items: start;
	margin-top: 0.15rem;
}

.index-hero-portal-bottom > .index-hero-panel {
	grid-column: span 4;
	min-width: 0;
}

.index-hero-portal-bottom--guest > .index-hero-calendar {
	grid-column: span 6;
}

.index-hero-portal-bottom--guest > .index-hero-hot {
	grid-column: span 6;
}

.index-hero-datetime {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.5rem;
	font-size: 0.92rem;
	color: rgba(255, 255, 255, 0.92);
}

.index-hero-date {
	font-weight: 500;
}

.index-hero-portal-center .index-engine-picker {
	display: flex;
	justify-content: center;
}

.index-hero-time {
	font-weight: 650;
	letter-spacing: 0.03em;
	font-variant-numeric: tabular-nums;
	font-size: 1.05rem;
}

.index-hero-tz {
	font-size: 0.84rem;
	opacity: 0.82;
}

.index-hero-intro {
	margin-top: 0;
	text-align: center;
	width: 100%;
}

.index-greeting {
	font-size: clamp(1.35rem, 3vw, 1.85rem);
	margin: 0;
	line-height: 1.45;
	font-weight: 650;
}

.index-greeting-tenure {
	margin: 0.3rem 0 0;
	font-size: clamp(0.95rem, 2vw, 1.08rem);
	font-weight: 500;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.9);
}

.index-hero-weather {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 0.55rem;
	margin-top: 0;
	font-size: 0.86rem;
	color: rgba(255, 255, 255, 0.88);
}

.index-hero-weather-icon {
	flex: 0 0 auto;
	font-size: 1.2rem;
	line-height: 1;
	color: #fff;
}

.index-hero-weather-temp {
	flex: 0 0 auto;
	font-size: 1.05rem;
	line-height: 1.2;
	font-weight: 700;
	color: #fff;
}

.index-hero-weather-desc {
	flex: 0 0 auto;
	color: rgba(255, 255, 255, 0.92);
}

.index-hero-weather-sep {
	flex: 0 0 auto;
	opacity: 0.45;
}

.index-hero-weather-city {
	flex: 0 0 auto;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.92);
}

.index-hero-weather-meta {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	white-space: nowrap;
	color: rgba(255, 255, 255, 0.78);
}

.index-hero-portal-center .index-search-card {
	width: 100%;
	max-width: 100%;
	margin-top: 0;
	flex-shrink: 0;
}

.index-search-card {
	position: relative;
	z-index: 1;
	margin-top: 0;
	width: 100%;
	border-radius: 1.25rem;
	background: rgba(255, 255, 255, 0.78);
	padding: 0.65rem;
	border: 1px solid rgba(255, 255, 255, 0.55);
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.65) inset,
		0 18px 40px rgba(22, 32, 68, 0.14);
	backdrop-filter: blur(16px);
	--engine-accent: #246bff;
}

.index-engine-picker {
	margin-bottom: 0.62rem;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	padding-bottom: 0.1rem;
}

.index-engine-picker::-webkit-scrollbar {
	display: none;
}

.index-engine-picker-track {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 0.18rem;
	min-width: min(100%, max-content);
	padding: 0.22rem;
	border-radius: 999px;
	background: rgba(15, 23, 42, 0.045);
	border: 1px solid rgba(15, 23, 42, 0.06);
}

.index-engine-indicator {
	position: absolute;
	top: 0;
	left: 0;
	border-radius: 999px;
	background: #fff;
	box-shadow:
		0 1px 2px rgba(15, 23, 42, 0.06),
		0 6px 18px color-mix(in srgb, var(--engine-accent, #246bff) 18%, transparent);
	border: 1px solid rgba(255, 255, 255, 0.9);
	transition: transform 0.28s cubic-bezier(0.34, 1.2, 0.64, 1), width 0.28s cubic-bezier(0.34, 1.2, 0.64, 1), height 0.28s cubic-bezier(0.34, 1.2, 0.64, 1);
	pointer-events: none;
	z-index: 0;
}

.index-engine-btn {
	position: relative;
	z-index: 1;
	border: 0;
	background: transparent;
	color: #64748b;
	border-radius: 999px;
	padding: 0.38rem 0.72rem;
	font-size: 0.76rem;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 0.38rem;
	white-space: nowrap;
	cursor: pointer;
	transition: color 0.18s ease, transform 0.18s ease;
}

.index-engine-btn img {
	width: 1.05rem;
	height: 1.05rem;
	border-radius: 999px;
	flex-shrink: 0;
	object-fit: contain;
}

.index-engine-btn:hover {
	color: #334155;
	transform: translateY(-1px);
}

.index-engine-btn.active {
	color: color-mix(in srgb, var(--engine-accent, #246bff) 72%, #0f172a);
}

.index-engine-btn.active img {
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.85);
}

.index-search-form {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 999px;
	padding: 0.42rem 0.45rem 0.42rem 0.55rem;
	background: rgba(255, 255, 255, 0.92);
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.75) inset;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.index-search-form:focus-within {
	border-color: color-mix(in srgb, var(--engine-accent, #246bff) 42%, #ffffff);
	box-shadow:
		0 0 0 4px color-mix(in srgb, var(--engine-accent, #246bff) 14%, transparent),
		0 10px 28px color-mix(in srgb, var(--engine-accent, #246bff) 12%, transparent);
	transform: translateY(-1px);
}

.index-search-engine-mark {
	flex: 0 0 auto;
	width: 2rem;
	height: 2rem;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: color-mix(in srgb, var(--engine-accent, #246bff) 10%, #ffffff);
	border: 1px solid color-mix(in srgb, var(--engine-accent, #246bff) 16%, transparent);
}

.index-search-engine-mark img {
	width: 1.15rem;
	height: 1.15rem;
	border-radius: 999px;
	object-fit: contain;
}

.index-search-form input {
	flex: 1;
	min-width: 0;
	border: 0;
	outline: none;
	font-size: 0.95rem;
	color: #1e293b;
	background: transparent;
}

.index-search-form input::placeholder {
	color: #94a3b8;
}

.index-search-form .index-search-submit {
	flex: 0 0 auto;
	width: 2.45rem;
	height: 2.45rem;
	border: 0;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: #fff;
	font-size: 1.55rem;
	line-height: 1;
	background: linear-gradient(
		135deg,
		color-mix(in srgb, var(--engine-accent, #246bff) 88%, #ffffff 12%),
		var(--engine-accent, #246bff)
	);
	box-shadow: 0 8px 20px color-mix(in srgb, var(--engine-accent, #246bff) 32%, transparent);
	transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.index-search-form .index-search-submit:hover {
	transform: scale(1.04);
	filter: brightness(1.04);
	box-shadow: 0 10px 24px color-mix(in srgb, var(--engine-accent, #246bff) 38%, transparent);
}

.index-search-form .index-search-submit:active {
	transform: scale(0.97);
}

.index-hero-quick {
	width: 100%;
	padding-top: 0.15rem;
}

.index-hero-quick-head {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	margin-bottom: 0.55rem;
	font-size: 0.78rem;
	font-weight: 600;
	color: rgba(238, 244, 255, 0.88);
}

.index-hero-quick-head a {
	color: rgba(200, 218, 255, 0.82);
	font-size: 0.74rem;
	font-weight: 500;
	text-decoration: none;
}

.index-hero-quick-head a:hover {
	text-decoration: underline;
}

.index-quick-grid--hero {
	justify-content: center;
	gap: 0.55rem 0.65rem;
}

.index-quick-grid--hero .index-quick-item {
	color: rgba(244, 248, 255, 0.94);
	padding: 0.42rem 0.5rem 0.48rem;
}

.index-quick-grid--hero .index-quick-item:hover {
	opacity: 1;
	transform: translateY(-2px);
}

.index-quick-grid--hero .index-quick-icon-wrap {
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(216, 228, 255, 0.22);
	backdrop-filter: blur(4px);
	transition: background-color 0.16s ease, border-color 0.16s ease;
}

.index-quick-grid--hero .index-quick-item:hover .index-quick-icon-wrap {
	background: rgba(255, 255, 255, 0.2);
	border-color: rgba(216, 228, 255, 0.38);
}

.index-quick-grid--hero .index-quick-title {
	color: rgba(244, 248, 255, 0.92);
	max-width: 4.8rem;
}

.index-hero-quick-empty {
	width: 100%;
	text-align: center;
}

.index-grid-bottom {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 1.1rem;
}

.index-grid-bottom .index-panel {
	grid-column: span 6;
}

.index-grid-bottom .index-panel.index-panel-articles,
.index-grid-bottom .index-panel.index-panel-rss {
	grid-column: span 12;
}

.index-articles-cols {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 1rem;
	align-items: start;
}

.index-articles-cols > .index-list {
	grid-column: span 6;
	min-width: 0;
}

.index-panel {
	background: #fff;
	border: 1px solid #e4e9f5;
	border-radius: 1rem;
	padding: 1rem;
	box-shadow: 0 8px 22px rgba(76, 99, 167, 0.08);
	min-width: 0;
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.index-panel:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 30px rgba(72, 92, 155, 0.13);
	border-color: #d8e1f4;
}

.index-panel-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 0.7rem;
}

.index-panel-head h2 {
	font-size: 1rem;
	margin: 0;
	color: #2c3a59;
}

.index-panel-head a {
	text-decoration: none;
	font-size: 0.8rem;
	color: #6a7eb6;
}

.index-quick-grid {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 0.5rem 0.55rem;
}

.index-quick-item {
	width: fit-content;
	max-width: 100%;
	box-sizing: border-box;
	border: 0;
	background: transparent;
	border-radius: 0.65rem;
	padding: 0.45rem 0.42rem 0.5rem;
	text-decoration: none;
	color: #36466e;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.28rem;
	font-size: 0.76rem;
	transition: transform 0.16s ease, opacity 0.16s ease;
}

.index-quick-item:hover {
	transform: translateY(-1px);
	opacity: 0.88;
}

.index-quick-icon {
	width: 100%;
	height: 100%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.index-quick-icon-wrap {
	width: fit-content;
	max-width: 56px;
	height: 44px;
	min-width: 44px;
	padding: 0 0.2rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 0.55rem;
	background: transparent;
	border: 0;
}

.index-quick-icon img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
}

.index-quick-title {
	max-width: 5.5rem;
	text-align: center;
	line-height: 1.25;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 0.72rem;
}

.index-fallback-badge {
	width: 1.45rem;
	height: 1.45rem;
	border-radius: 0.42rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 0.64rem;
	font-weight: 700;
	color: #fff;
}

.index-todo-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.48rem;
}

.index-todo-list li {
	display: flex;
	align-items: flex-start;
	gap: 0.48rem;
}

.index-dot {
	width: 0.58rem;
	height: 0.58rem;
	border-radius: 999px;
	background: #5268e8;
	margin-top: 0.35rem;
}

.index-todo-main p {
	margin: 0;
	font-size: 0.86rem;
	color: #33425e;
}

.index-todo-main small {
	color: #8b9abd;
}

.index-mini-month {
	font-size: 0.8rem;
	color: rgba(228, 238, 255, 0.92);
	margin-bottom: 0.35rem;
}

.index-hero-panel {
	border: 1px solid rgba(216, 228, 255, 0.28);
	background: rgba(28, 40, 78, 0.2);
	backdrop-filter: blur(5px);
	border-radius: 0.9rem;
	padding: 0.55rem 0.62rem;
	display: flex;
	flex-direction: column;
}

.index-hero-calendar.index-hero-panel {
	background: rgba(34, 47, 86, 0.22);
	border-color: rgba(216, 228, 255, 0.3);
}

.index-hero-panel-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	margin-bottom: 0.45rem;
	font-size: 0.8rem;
	font-weight: 600;
	color: rgba(238, 244, 255, 0.95);
}

.index-hero-panel-head a {
	color: rgba(200, 218, 255, 0.88);
	font-size: 0.74rem;
	font-weight: 500;
	text-decoration: none;
}

.index-hero-panel-head a:hover {
	text-decoration: underline;
}

.index-hero-panel-action {
	border: 0;
	background: rgba(255, 255, 255, 0.08);
	color: rgba(200, 218, 255, 0.9);
	width: 1.65rem;
	height: 1.65rem;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	cursor: pointer;
	transition: background-color 0.16s ease, transform 0.16s ease, color 0.16s ease;
}

.index-hero-panel-action:hover {
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
}

.index-hero-panel-action.is-loading {
	pointer-events: none;
	opacity: 0.72;
}

.index-hero-panel-action.is-loading i {
	animation: index-hot-spin 0.75s linear infinite;
}

@keyframes index-hot-spin {
	to {
		transform: rotate(360deg);
	}
}

.index-mini-week-head,
.index-mini-calendar {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 0.22rem;
}

.index-mini-week-head span {
	text-align: center;
	font-size: 0.72rem;
	color: rgba(215, 228, 255, 0.84);
}

.index-mini-day {
	min-height: 1.5rem;
	border: 1px solid rgba(212, 225, 255, 0.24);
	border-radius: 0.42rem;
	text-decoration: none;
	color: rgba(244, 248, 255, 0.9);
	background: rgba(255, 255, 255, 0.08);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	position: relative;
	font-size: 0.74rem;
	transition: border-color 0.16s ease, background-color 0.16s ease;
}

.index-mini-day:hover {
	border-color: rgba(212, 225, 255, 0.44);
	background: rgba(255, 255, 255, 0.14);
}

.index-mini-day.is-muted {
	opacity: 0.45;
}

.index-mini-day.is-today {
	border-color: rgba(255, 255, 255, 0.78);
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.44) inset;
	font-weight: 700;
}

.index-mini-day em {
	font-style: normal;
	position: absolute;
	right: 0.22rem;
	top: 0.14rem;
	background: #5d74ee;
	color: #fff;
	border-radius: 999px;
	font-size: 0.62rem;
	padding: 0 0.24rem;
	line-height: 1.2;
}

.index-hero-calendar {
	padding-bottom: 0.35rem;
}

.index-hero-calendar .index-mini-calendar {
	overflow: visible;
}

.index-hero-todos,
.index-hero-hot {
	min-height: 0;
	overflow: hidden;
}

.index-hero-todos-head {
	align-items: flex-start;
}

.index-hero-todos-head-main {
	display: flex;
	flex-direction: column;
	gap: 0.12rem;
	min-width: 0;
}

.index-hero-todos-label {
	font-size: 0.8rem;
	font-weight: 600;
	color: rgba(238, 244, 255, 0.95);
}

.index-hero-todos-date {
	font-size: 0.72rem;
	font-weight: 500;
	color: rgba(200, 214, 246, 0.82);
}

.index-hero-todos-add {
	flex: 0 0 auto;
	width: 1.65rem;
	height: 1.65rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 1px solid rgba(200, 218, 255, 0.28);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.1);
	color: rgba(238, 244, 255, 0.96);
	font-size: 0.95rem;
	line-height: 1;
	cursor: pointer;
	transition: background-color 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.index-hero-todos-add:hover {
	background: rgba(255, 255, 255, 0.18);
	border-color: rgba(200, 218, 255, 0.42);
	transform: translateY(-1px);
}

.index-hero-todo-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.18rem;
	flex: 1;
	min-height: 0;
	max-height: 11.5rem;
	overflow-y: auto;
	overscroll-behavior: contain;
}

.index-hero-todo-item {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.08rem 0;
	min-height: 1.35rem;
}

.index-hero-todo-item.is-completing {
	opacity: 0.72;
}

.index-hero-todo-main {
	flex: 1;
	min-width: 0;
	display: flex;
	align-items: center;
	gap: 0.38rem;
	cursor: pointer;
	border-radius: 0.35rem;
	transition: background-color 0.16s ease;
}

.index-hero-todo-main:hover,
.index-hero-todo-main:focus-visible {
	background: rgba(255, 255, 255, 0.06);
	outline: none;
}

.index-hero-todo-title {
	flex: 1;
	min-width: 0;
	font-size: 0.78rem;
	line-height: 1.25;
	color: rgba(244, 248, 255, 0.94);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.index-hero-todo-inline-meta {
	display: inline-flex;
	align-items: center;
	gap: 0.28rem;
	flex-shrink: 0;
}

.index-hero-todo-item.is-done .index-hero-todo-title {
	color: rgba(200, 214, 246, 0.68);
	text-decoration: line-through;
	text-decoration-color: rgba(167, 139, 250, 0.5);
}

.index-hero-todo-meta {
	display: none;
}

.index-hero-todo-priority {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.15rem;
	padding: 0 0.28rem;
	border-radius: 999px;
	font-size: 0.58rem;
	font-weight: 700;
	line-height: 1.35;
}

.index-hero-todo-priority.is-p1 {
	background: rgba(248, 113, 113, 0.22);
	color: rgba(254, 202, 202, 0.98);
}

.index-hero-todo-priority.is-p2 {
	background: rgba(251, 191, 36, 0.2);
	color: rgba(254, 243, 199, 0.98);
}

.index-hero-todo-priority.is-p3 {
	background: rgba(96, 165, 250, 0.18);
	color: rgba(219, 234, 254, 0.98);
}

.index-hero-todo-due {
	color: rgba(200, 214, 246, 0.72);
	font-size: 0.62rem;
	white-space: nowrap;
}

.index-hero-todo-item.is-done .index-hero-todo-due,
.index-hero-todo-item.is-done .index-hero-todo-priority {
	opacity: 0.65;
}

.index-hero-todo-due.is-overdue {
	color: rgba(254, 202, 202, 0.92);
}

.index-hero-todo-check {
	flex: 0 0 auto;
	width: 1.15rem;
	height: 1.15rem;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.index-hero-todo-check-ring {
	width: 0.88rem;
	height: 0.88rem;
	border-radius: 999px;
	border: 1.5px solid rgba(200, 218, 255, 0.72);
	background: transparent;
	transition: background-color 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.index-hero-todo-check:hover .index-hero-todo-check-ring {
	border-color: rgba(167, 139, 250, 0.95);
	box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.18);
}

.index-hero-todo-check.is-done .index-hero-todo-check-ring {
	border-color: rgba(167, 139, 250, 0.95);
	background: linear-gradient(135deg, #a78bfa 0%, #7c3aed 100%);
	box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.16);
}

.index-todo-modal-dialog {
	max-width: 420px;
}

.index-todo-modal {
	position: relative;
	overflow: hidden;
	border: 1px solid rgba(139, 92, 246, 0.18);
	border-radius: 1.15rem;
	background: linear-gradient(180deg, rgba(18, 24, 44, 0.98) 0%, rgba(10, 14, 28, 0.98) 100%);
	box-shadow: 0 28px 60px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
	color: #e8efff;
}

.index-todo-modal-glow {
	position: absolute;
	inset: -30% auto auto -20%;
	width: 220px;
	height: 220px;
	background: radial-gradient(circle, rgba(139, 92, 246, 0.28), transparent 68%);
	pointer-events: none;
}

.index-todo-modal-head {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	padding: 1.15rem 1.15rem 0.85rem;
}

.index-todo-modal-icon {
	width: 2.35rem;
	height: 2.35rem;
	border-radius: 0.85rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, rgba(167, 139, 250, 0.28), rgba(6, 182, 212, 0.16));
	border: 1px solid rgba(167, 139, 250, 0.22);
	color: #ddd6fe;
	font-size: 1.05rem;
	flex-shrink: 0;
}

.index-todo-modal-title {
	margin: 0;
	font-size: 1.02rem;
	font-weight: 700;
	color: #f8fbff;
}

.index-todo-modal-subtitle {
	margin: 0.18rem 0 0;
	font-size: 0.74rem;
	color: rgba(200, 214, 246, 0.72);
}

.index-todo-modal-close {
	margin-left: auto;
	width: 2rem;
	height: 2rem;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.06);
	color: rgba(200, 214, 246, 0.88);
	cursor: pointer;
	transition: background-color 0.16s ease, color 0.16s ease;
}

.index-todo-modal-close:hover {
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
}

.index-todo-modal-body {
	position: relative;
	padding: 0 1.15rem 0.85rem;
}

.index-todo-field-label {
	display: block;
	margin-bottom: 0.35rem;
	font-size: 0.72rem;
	font-weight: 600;
	color: rgba(200, 214, 246, 0.82);
}

.index-todo-input {
	width: 100%;
	height: 2.65rem;
	padding: 0 0.85rem;
	border: 1px solid rgba(148, 163, 184, 0.18);
	border-radius: 0.8rem;
	background: rgba(255, 255, 255, 0.04);
	color: #f1f5ff;
	font-size: 0.88rem;
	transition: border-color 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

.index-todo-input:focus {
	outline: none;
	border-color: rgba(167, 139, 250, 0.45);
	background: rgba(255, 255, 255, 0.06);
	box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.16);
}

.index-todo-input[type="date"],
.index-todo-input[type="time"] {
	color-scheme: dark;
}

.index-todo-priority-pick {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.45rem;
}

.index-todo-priority-btn {
	border: 1px solid rgba(148, 163, 184, 0.16);
	border-radius: 999px;
	padding: 0.42rem 0.5rem;
	background: rgba(255, 255, 255, 0.04);
	color: rgba(200, 214, 246, 0.82);
	font-size: 0.78rem;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.index-todo-priority-btn.is-active {
	color: #fff;
	border-color: transparent;
	box-shadow: 0 8px 18px rgba(124, 58, 237, 0.22);
}

.index-todo-priority-btn[data-priority="1"].is-active {
	background: linear-gradient(135deg, #f87171, #dc2626);
}

.index-todo-priority-btn[data-priority="2"].is-active {
	background: linear-gradient(135deg, #fbbf24, #d97706);
}

.index-todo-priority-btn[data-priority="3"].is-active {
	background: linear-gradient(135deg, #60a5fa, #2563eb);
}

.index-todo-datetime-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.65rem;
	margin-top: 0.85rem;
}

.index-todo-form-error {
	min-height: 1.1rem;
	margin: 0.55rem 0 0;
	font-size: 0.74rem;
	color: #fca5a5;
}

.index-todo-modal-foot {
	display: flex;
	justify-content: flex-end;
	gap: 0.55rem;
	padding: 0.85rem 1.15rem 1.15rem;
	border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.index-todo-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 5.5rem;
	height: 2.35rem;
	padding: 0 1rem;
	border-radius: 999px;
	border: 0;
	font-size: 0.84rem;
	font-weight: 600;
	cursor: pointer;
	transition: transform 0.16s ease, box-shadow 0.16s ease, opacity 0.16s ease;
}

.index-todo-btn--ghost {
	background: rgba(255, 255, 255, 0.06);
	color: rgba(200, 214, 246, 0.88);
	border: 1px solid rgba(148, 163, 184, 0.16);
}

.index-todo-btn--ghost:hover {
	background: rgba(255, 255, 255, 0.1);
}

.index-todo-btn--primary {
	background: linear-gradient(135deg, #a78bfa 0%, #7c3aed 48%, #06b6d4 100%);
	color: #fff;
	box-shadow: 0 12px 28px rgba(124, 58, 237, 0.28);
}

.index-todo-btn--primary:hover {
	transform: translateY(-1px);
	box-shadow: 0 16px 32px rgba(124, 58, 237, 0.34);
}

.index-hero-today,
.index-hero-hot {
	min-height: 0;
	overflow: hidden;
}

.index-hero-hot-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem 0.55rem;
	margin-bottom: 0.38rem;
	flex-shrink: 0;
	min-width: 0;
}

.index-hero-hot-sources {
	display: inline-flex;
	align-items: center;
	gap: 0.28rem;
	flex-shrink: 0;
}

.index-hero-hot-source {
	border: 0;
	background: rgba(255, 255, 255, 0.08);
	color: rgba(200, 218, 255, 0.82);
	border-radius: 999px;
	padding: 0.16rem 0.52rem;
	font-size: 0.68rem;
	font-weight: 600;
	line-height: 1.3;
	cursor: pointer;
	transition: background-color 0.16s ease, color 0.16s ease;
}

.index-hero-hot-source:hover {
	background: rgba(255, 255, 255, 0.14);
	color: rgba(238, 244, 255, 0.96);
}

.index-hero-hot-source.active {
	background: rgba(255, 255, 255, 0.2);
	color: #fff;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16) inset;
}

.index-hero-hot-meta {
	margin: 0;
	font-size: 0.68rem;
	color: rgba(200, 214, 246, 0.72);
	flex: 1;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.index-hero-hot-list {
	list-style: none;
	margin: 0;
	padding: 0 0.45rem 0 0;
	display: flex;
	flex-direction: column;
	gap: 0.34rem;
	flex: 1;
	min-width: 0;
	min-height: 0;
	overflow-x: hidden;
	overflow-y: auto;
	overscroll-behavior: contain;
	scrollbar-gutter: stable;
}

.index-hero-hot-list li {
	display: flex;
	align-items: flex-start;
	gap: 0.35rem;
	min-width: 0;
	padding-right: 0.1rem;
}

.index-hero-hot-rank {
	flex: 0 0 auto;
	width: 1.15rem;
	margin-top: 0.08rem;
	font-size: 0.72rem;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	color: rgba(200, 214, 246, 0.72);
	text-align: center;
}

.index-hero-hot-list li:nth-child(-n + 3) .index-hero-hot-rank {
	color: rgba(255, 214, 153, 0.96);
}

.index-hero-hot-link {
	min-width: 0;
	flex: 1;
	display: block;
	text-decoration: none;
	color: inherit;
	border-radius: 0.45rem;
	padding: 0.08rem 0;
	transition: background-color 0.16s ease;
}

.index-hero-hot-link:hover {
	background: rgba(255, 255, 255, 0.08);
}

.index-hero-hot-link p {
	margin: 0;
	font-size: 0.8rem;
	color: rgba(244, 248, 255, 0.94);
	line-height: 1.35;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	word-break: break-word;
}

.index-hero-hot-tag {
	flex: 0 0 auto;
	margin-top: 0.1rem;
	font-size: 0.62rem;
	font-weight: 700;
	line-height: 1;
	padding: 0.12rem 0.28rem;
	border-radius: 999px;
	background: rgba(255, 118, 118, 0.22);
	color: rgba(255, 214, 214, 0.96);
}

.index-hero-hot-tag.is-new {
	background: rgba(96, 190, 255, 0.2);
	color: rgba(198, 233, 255, 0.96);
}

.index-hero-hot-tag.is-boil {
	background: rgba(255, 166, 76, 0.22);
	color: rgba(255, 228, 198, 0.96);
}

.index-hero-empty {
	font-size: 0.78rem;
	color: rgba(200, 214, 246, 0.75);
	padding: 0.2rem 0;
}

.index-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.42rem;
}

.index-list li {
	border: 1px solid #e7edf8;
	background: #f9fbff;
	border-radius: 0.62rem;
	padding: 0.52rem 0.6rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	transition: border-color 0.16s ease, background-color 0.16s ease;
}

.index-list li:hover {
	border-color: #d6e1f8;
	background: #f3f7ff;
}

.index-list a {
	min-width: 0;
	display: flex;
	flex-direction: column;
	text-decoration: none;
}

.index-list strong {
	color: #2e3f64;
	font-size: 0.83rem;
	font-weight: 600;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.index-list span {
	color: #8d9bb9;
	font-size: 0.74rem;
}

.index-list em {
	font-style: normal;
	font-size: 0.74rem;
	color: #6f82b3;
	white-space: nowrap;
}

.index-tag-cloud {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
}

.index-tag-cloud a {
	text-decoration: none;
	background: #eff3ff;
	border: 1px solid #dee7ff;
	color: #4f63a9;
	padding: 0.28rem 0.52rem;
	border-radius: 999px;
	font-size: 0.76rem;
	transition: transform 0.16s ease, background-color 0.16s ease, border-color 0.16s ease;
}

.index-tag-cloud a:hover {
	transform: translateY(-1px);
	background: #e5edff;
	border-color: #cfdcff;
}

.index-tag-cloud span {
	opacity: 0.8;
}

.index-progress {
	background: #edf2fc;
	height: 0.44rem;
	border-radius: 999px;
	overflow: hidden;
	margin-bottom: 0.7rem;
}

.index-progress-bar {
	height: 100%;
	background: linear-gradient(90deg, #6378f2, #728cfb);
}

.index-list-compact li > div {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

/* RSS：网格卡片，大屏一行 4 个，左图右文，卡片间距由 gap 控制 */
.index-panel.index-panel-rss {
	padding: 0;
	overflow: hidden;
}

.index-panel.index-panel-rss .index-panel-head {
	padding: 1rem 1.05rem 0.72rem;
	margin-bottom: 0;
	border-bottom: 1px solid #e6ecf7;
}

.index-rss-feed {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.85rem;
	padding: 0.85rem 1rem 1rem;
	min-height: 0;
	align-items: stretch;
}

.index-rss-feed-empty {
	grid-column: 1 / -1;
	text-align: center;
	padding: 0.35rem 0 0.15rem;
}

.index-rss-card {
	display: flex;
	align-items: stretch;
	gap: 0.65rem;
	min-width: 0;
	padding: 0.65rem 0.72rem;
	border-radius: 0.85rem;
	border: 1px solid #dde6f4;
	background: #fafcfe;
	text-decoration: none;
	color: inherit;
	transition: border-color 0.14s ease, box-shadow 0.14s ease, background 0.14s ease;
}

.index-rss-card:hover {
	border-color: #c5d3ef;
	background: #fff;
	box-shadow: 0 6px 16px rgba(76, 99, 167, 0.09);
}

.index-rss-card-media {
	flex: 0 0 auto;
	width: 3.85rem;
	min-width: 3.85rem;
	min-height: 4.25rem;
	border-radius: 0.5rem;
	background: #e8f0fc;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.index-rss-card-media--empty {
	background: linear-gradient(145deg, #e6ebf8, #f1f5fd);
}

.index-rss-card-media-fallback {
	display: none;
	font-size: 1.25rem;
	color: #8a9fd4;
}

.index-rss-card-media--empty .index-rss-card-media-fallback {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

.index-rss-card-thumb {
	width: 100%;
	height: 100%;
	min-height: 4.25rem;
	object-fit: cover;
	display: block;
}

.index-rss-card-body {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
}

.index-rss-card-title {
	font-size: 0.88rem;
	font-weight: 650;
	line-height: 1.35;
	color: #2e3f64;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.index-rss-card-summary {
	margin: 0;
	font-size: 0.78rem;
	line-height: 1.45;
	color: #5a6b8f;
	flex: 1;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 0;
}

.index-rss-card-footer {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 0.65rem;
	margin-top: 0.2rem;
}

.index-rss-card-meta {
	font-size: 0.7rem;
	color: #7a8cb8;
}

.index-rss-card-source {
	font-size: 0.7rem;
	font-weight: 600;
	color: #5268c8;
	text-align: right;
}

.index-empty {
	font-size: 0.82rem;
	color: #8f9fbe;
}

@media (max-width: 1100px) {
	.index-hero-portal-bottom > .index-hero-panel {
		grid-column: span 12;
	}
}

@media (max-width: 1199.98px) {
	.index-rss-feed {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 1200px) {
	.index-grid-bottom .index-panel {
		grid-column: span 12;
	}
}

@media (max-width: 768px) {
	.index-hero-card {
		padding: 1rem 0.85rem 0.85rem;
		min-height: 0;
		max-width: 100%;
	}

	.index-hero-layout {
		gap: 0.85rem;
	}

	.index-hero-portal-top {
		flex-direction: column;
		align-items: flex-start;
	}

	.index-hero-weather {
		justify-content: flex-start;
	}

	.index-hero-portal-bottom {
		grid-template-columns: 1fr;
	}

	.index-hero-portal-bottom > .index-hero-panel {
		grid-column: span 1;
	}

	.index-hero-intro .index-greeting {
		font-size: clamp(1.35rem, 5.5vw, 1.85rem);
		word-break: break-word;
	}

	.index-hero-portal-center .index-engine-picker {
		justify-content: flex-start;
		width: 100%;
		max-width: 100%;
	}

	.index-engine-picker-track {
		min-width: max-content;
	}

	.index-engine-btn {
		flex: 0 0 auto;
		padding: 0.36rem 0.62rem;
		font-size: 0.72rem;
	}

	.index-search-form input {
		font-size: 16px;
	}

	.index-search-form .index-search-submit {
		width: 2.35rem;
		height: 2.35rem;
		font-size: 1.45rem;
	}

	.index-quick-grid--hero .index-quick-title {
		max-width: 4.2rem;
		font-size: 0.68rem;
	}

	.index-grid-bottom {
		gap: 0.85rem;
	}

	.index-panel {
		padding: 0.82rem;
	}

	.index-panel.index-panel-rss {
		padding: 0;
	}

	.index-rss-feed {
		grid-template-columns: 1fr;
		padding: 0.75rem 0.82rem 0.9rem;
		gap: 0.75rem;
	}

	.index-articles-cols > .index-list {
		grid-column: span 12;
	}
}

/* 首页暗色主题覆盖（解决白底卡片/输入框） */
[data-bs-theme="dark"] .index-panel {
	background: #171f31;
	border-color: #2b3858;
	box-shadow: 0 8px 22px rgba(8, 12, 22, 0.38);
}

[data-bs-theme="dark"] .index-panel:hover {
	border-color: #3a4d77;
	box-shadow: 0 14px 30px rgba(8, 12, 22, 0.48);
}

[data-bs-theme="dark"] .index-panel-head h2 {
	color: #e6eeff;
}

[data-bs-theme="dark"] .index-panel-head a {
	color: #9fb6ec;
}

[data-bs-theme="dark"] .index-search-card {
	background: rgba(18, 26, 44, 0.72);
	border-color: rgba(148, 163, 184, 0.14);
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.04) inset,
		0 18px 40px rgba(6, 10, 20, 0.42);
}

[data-bs-theme="dark"] .index-engine-picker-track {
	background: rgba(255, 255, 255, 0.04);
	border-color: rgba(148, 163, 184, 0.1);
}

[data-bs-theme="dark"] .index-engine-indicator {
	background: rgba(30, 41, 66, 0.96);
	border-color: rgba(148, 163, 184, 0.14);
	box-shadow:
		0 1px 2px rgba(0, 0, 0, 0.18),
		0 8px 22px color-mix(in srgb, var(--engine-accent, #647fd6) 22%, transparent);
}

[data-bs-theme="dark"] .index-engine-btn {
	color: #94a3b8;
}

[data-bs-theme="dark"] .index-engine-btn:hover {
	color: #cbd5e1;
}

[data-bs-theme="dark"] .index-engine-btn.active {
	color: color-mix(in srgb, var(--engine-accent, #647fd6) 70%, #ffffff);
}

[data-bs-theme="dark"] .index-search-form {
	background: rgba(255, 255, 255, 0.04);
	border-color: rgba(148, 163, 184, 0.16);
	box-shadow: none;
}

[data-bs-theme="dark"] .index-search-form:focus-within {
	background: rgba(255, 255, 255, 0.06);
	border-color: color-mix(in srgb, var(--engine-accent, #647fd6) 42%, transparent);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--engine-accent, #647fd6) 14%, transparent);
}

[data-bs-theme="dark"] .index-search-engine-mark {
	background: color-mix(in srgb, var(--engine-accent, #647fd6) 16%, rgba(15, 23, 42, 0.9));
	border-color: color-mix(in srgb, var(--engine-accent, #647fd6) 22%, transparent);
}

[data-bs-theme="dark"] .index-search-form input {
	color: #e8efff;
	background: transparent;
	caret-color: #e8efff;
}

[data-bs-theme="dark"] .index-search-form input:-webkit-autofill,
[data-bs-theme="dark"] .index-search-form input:-webkit-autofill:hover,
[data-bs-theme="dark"] .index-search-form input:-webkit-autofill:focus {
	-webkit-box-shadow: 0 0 0 1000px rgba(22, 32, 52, 0.96) inset;
	-webkit-text-fill-color: #e8efff;
	transition: background-color 9999s ease-out 0s;
}

[data-bs-theme="dark"] .index-search-form input::placeholder {
	color: #8ea3d1;
}

[data-bs-theme="dark"] .index-list li {
	border-color: #2b3b5e;
	background: #1a2438;
}

[data-bs-theme="dark"] .index-list li:hover {
	border-color: #39507e;
	background: #1e2b44;
}

[data-bs-theme="dark"] .index-list strong {
	color: #dee8ff;
}

[data-bs-theme="dark"] .index-list span {
	color: #8ea2cd;
}

[data-bs-theme="dark"] .index-list em {
	color: #9eb3df;
}

[data-bs-theme="dark"] .index-tag-cloud a {
	background: #24334f;
	border-color: #374b72;
	color: #b8caf5;
}

[data-bs-theme="dark"] .index-tag-cloud a:hover {
	background: #2c3d60;
	border-color: #4a6393;
}

[data-bs-theme="dark"] .index-progress {
	background: #1f2b45;
}

[data-bs-theme="dark"] .index-panel.index-panel-rss .index-panel-head {
	border-bottom-color: #2c3a58;
}

[data-bs-theme="dark"] .index-rss-card {
	border-color: #2f4267;
	background: #171f31;
}

[data-bs-theme="dark"] .index-rss-card:hover {
	border-color: #4a6393;
	background: #1c263b;
	box-shadow: 0 6px 16px rgba(8, 12, 22, 0.35);
}

[data-bs-theme="dark"] .index-rss-card-media {
	background: #24334f;
}

[data-bs-theme="dark"] .index-rss-card-media--empty {
	background: linear-gradient(145deg, #1f2d4a, #24334f);
}

[data-bs-theme="dark"] .index-rss-card-media-fallback {
	color: #7c92d4;
}

[data-bs-theme="dark"] .index-rss-card-title {
	color: #dce7ff;
}

[data-bs-theme="dark"] .index-rss-card-summary {
	color: #90a5d3;
}

[data-bs-theme="dark"] .index-rss-card-meta {
	color: #7d8eb8;
}

[data-bs-theme="dark"] .index-rss-card-source {
	color: #9eb4f5;
}

[data-bs-theme="dark"] .index-empty {
	color: #90a5d3;
}
