/* ===================== Daily Horoscope ===================== */
.dh-app {
	--dh-purple: #6d28d9;
	--dh-bg: #f4f4f8;
	--dh-line: #ececf2;
	--dh-text: #1f1f29;
	--dh-muted: #6b6b78;
	display: grid;
	grid-template-columns: 260px 1fr;
	gap: 20px;
	background: var(--dh-bg);
	padding: 18px;
	border-radius: 16px;
	color: var(--dh-text);
	font-family: inherit;
}

/* Sidebar */
.dh-sidebar {
	background: #fff;
	border-radius: 14px;
	padding: 10px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	box-shadow: 0 2px 10px rgba(0,0,0,.04);
	align-self: start;
	max-height: 720px;
	overflow-y: auto;
}
.dh-sidebar__item {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	border: 0;
	background: transparent;
	text-align: left;
	padding: 10px 12px;
	border-radius: 10px;
	cursor: pointer;
	font: inherit;
	color: var(--dh-text);
	transition: background .15s ease;
}
.dh-sidebar__item:hover { background: #f6f4fe; }
.dh-sidebar__item.is-active { background: var(--dh-purple); color: #fff; }
.dh-sidebar__item.is-active .dh-sidebar__english { color: rgba(255,255,255,.75); }
.dh-sidebar__icon {
	width: 36px; height: 36px;
	border-radius: 50%;
	background: var(--dh-accent, #999);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	flex-shrink: 0;
}
.dh-sidebar__names { display: flex; flex-direction: column; line-height: 1.3; }
.dh-sidebar__hindi { font-weight: 700; font-size: 14.5px; }
.dh-sidebar__english { font-size: 12px; color: var(--dh-muted); }

/* Main */
.dh-main { min-width: 0; }
.dh-header { text-align: center; margin-bottom: 16px; }
.dh-header__title { margin: 0 0 6px; font-size: 24px; font-weight: 800; color: var(--dh-purple); }
.dh-header__date { margin: 0; color: var(--dh-muted); font-size: 14px; }

.dh-content.is-loading { opacity: .5; pointer-events: none; transition: opacity .15s ease; }

.dh-card {
	background: #fff;
	border-radius: 14px;
	padding: 20px;
	box-shadow: 0 2px 10px rgba(0,0,0,.04);
}
.dh-card--top {
	display: grid;
	grid-template-columns: 180px 1fr;
	gap: 24px;
	margin-bottom: 18px;
}
.dh-empty { text-align: center; color: var(--dh-muted); padding: 40px 20px; }

.dh-zodiac-badge {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	gap: 6px;
	border-right: 1px solid var(--dh-line);
	padding-right: 18px;
}
.dh-zodiac-badge__icon {
	width: 110px; height: 110px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 52px;
	color: #fff;
	margin-bottom: 6px;
	box-shadow: 0 6px 18px rgba(0,0,0,.12);
}
.dh-zodiac-badge__hindi { font-size: 20px; font-weight: 800; color: var(--dh-purple); }
.dh-zodiac-badge__english { font-size: 14px; color: var(--dh-muted); }

.dh-top-right { min-width: 0; }

.dh-info-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
	margin-bottom: 14px;
}
.dh-info-card {
	background: #faf9fd;
	border: 1px solid var(--dh-line);
	border-radius: 10px;
	padding: 10px 12px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.dh-info-card__label { font-size: 12px; font-weight: 700; color: var(--dh-purple); }
.dh-info-card__value { font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.dh-color-dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; flex-shrink: 0; }

.dh-overall {
	background: #faf9fd;
	border: 1px solid var(--dh-line);
	border-radius: 10px;
	padding: 14px 16px;
	font-size: 14.5px;
	line-height: 1.8;
	color: #2c2c38;
	margin-bottom: 14px;
}
.dh-overall p:last-child { margin-bottom: 0; }

.dh-ratings-row {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px;
}
.dh-rating {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	background: #faf9fd;
	border: 1px solid var(--dh-line);
	border-radius: 10px;
	padding: 10px 8px;
	text-align: center;
}
.dh-rating__icon { font-size: 18px; }
.dh-rating__label { font-size: 12.5px; font-weight: 700; color: var(--dh-text); }
.dh-rating__stars { color: #f5a623; font-size: 14px; letter-spacing: 1px; }

/* Six info tiles */
.dh-cards-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin-bottom: 18px;
}
.dh-info-tile {
	background: #fff;
	border-radius: 14px;
	padding: 18px;
	box-shadow: 0 2px 10px rgba(0,0,0,.04);
	display: flex;
	gap: 12px;
	transition: transform .15s ease, box-shadow .15s ease;
}
.dh-info-tile:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.08); }
.dh-info-tile__icon {
	width: 40px; height: 40px;
	border-radius: 50%;
	background: #f6f4fe;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	flex-shrink: 0;
}
.dh-info-tile__title { margin: 4px 0 6px; font-size: 15px; font-weight: 700; color: var(--dh-purple); }
.dh-info-tile__desc { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--dh-muted); }

/* Notice */
.dh-notice {
	background: #fff8e6;
	border: 1px solid #f5dca0;
	border-radius: 14px;
	padding: 16px 20px;
	display: flex;
	align-items: center;
	gap: 14px;
}
.dh-notice__icon { font-size: 26px; flex-shrink: 0; }
.dh-notice__body { flex: 1; min-width: 0; }
.dh-notice__title { margin: 0 0 4px; font-size: 15px; font-weight: 700; color: #92650a; }
.dh-notice__text { margin: 0; font-size: 13.5px; color: #7a5b1e; line-height: 1.6; }
.dh-notice__btn {
	flex-shrink: 0;
	border: 1px solid #e0a92f;
	color: #92650a !important;
	background: #fff;
	border-radius: 8px;
	padding: 10px 18px;
	font-weight: 700;
	font-size: 13.5px;
	text-decoration: none;
	white-space: nowrap;
	transition: background .15s ease;
}
.dh-notice__btn:hover { background: #fdeec4; }

/* ===================== Responsive ===================== */
@media (max-width: 900px) {
	.dh-card--top { grid-template-columns: 1fr; }
	.dh-zodiac-badge { border-right: 0; border-bottom: 1px solid var(--dh-line); padding-right: 0; padding-bottom: 16px; }
	.dh-cards-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
	.dh-app { grid-template-columns: 1fr; }
	.dh-sidebar {
		flex-direction: row;
		overflow-x: auto;
		max-height: none;
		gap: 8px;
	}
	.dh-sidebar__item { flex-direction: column; gap: 6px; flex: 0 0 auto; text-align: center; padding: 8px 10px; }
	.dh-sidebar__names { align-items: center; }
	.dh-info-grid { grid-template-columns: repeat(2, 1fr); }
	.dh-ratings-row { grid-template-columns: repeat(2, 1fr); }
	.dh-cards-grid { grid-template-columns: 1fr; }
	.dh-notice { flex-wrap: wrap; }
}
