2026-01-28 21:44:47 +08:00
|
|
|
.daily-insight-card {
|
2026-01-29 10:01:41 +08:00
|
|
|
background: rgba(255, 255, 255, 0.75);
|
|
|
|
|
backdrop-filter: blur(24px);
|
|
|
|
|
-webkit-backdrop-filter: blur(24px);
|
|
|
|
|
border: 1px solid rgba(255, 255, 255, 0.6);
|
2026-01-28 21:44:47 +08:00
|
|
|
border-radius: var(--radius-xl);
|
2026-01-29 10:01:41 +08:00
|
|
|
padding: 1.5rem;
|
|
|
|
|
/* More padding */
|
2026-01-28 21:44:47 +08:00
|
|
|
margin-bottom: 2rem;
|
2026-01-29 01:15:16 +08:00
|
|
|
box-shadow:
|
2026-01-29 10:01:41 +08:00
|
|
|
0 15px 35px -5px rgba(0, 0, 0, 0.05),
|
|
|
|
|
0 5px 15px -5px rgba(0, 0, 0, 0.02),
|
|
|
|
|
inset 0 0 0 1px rgba(255, 255, 255, 0.8);
|
2026-01-29 01:15:16 +08:00
|
|
|
animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
|
2026-01-28 21:44:47 +08:00
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
2026-01-29 07:39:46 +08:00
|
|
|
gap: 0;
|
|
|
|
|
/* Let internal content handle gaps */
|
2026-01-28 21:44:47 +08:00
|
|
|
position: relative;
|
|
|
|
|
overflow: hidden;
|
2026-01-29 10:01:41 +08:00
|
|
|
transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
|
2026-01-29 01:15:16 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.daily-insight-card:hover {
|
2026-01-29 10:01:41 +08:00
|
|
|
transform: translateY(-4px);
|
2026-01-29 01:15:16 +08:00
|
|
|
box-shadow:
|
2026-01-29 10:01:41 +08:00
|
|
|
0 25px 45px -5px rgba(0, 0, 0, 0.08),
|
|
|
|
|
0 10px 15px -3px rgba(0, 0, 0, 0.03);
|
2026-01-29 01:15:16 +08:00
|
|
|
}
|
|
|
|
|
|
2026-01-29 10:01:41 +08:00
|
|
|
/* AI Glowing Border Effect - Subtler */
|
2026-01-29 01:15:16 +08:00
|
|
|
.daily-insight-card--ai::before {
|
|
|
|
|
content: '';
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
right: 0;
|
|
|
|
|
height: 3px;
|
2026-01-29 10:01:41 +08:00
|
|
|
background: linear-gradient(90deg, #fbbf24, #f59e0b, #fbbf24);
|
|
|
|
|
opacity: 0.9;
|
2026-01-28 21:44:47 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.daily-insight-card--ai::after {
|
2026-01-29 10:01:41 +08:00
|
|
|
/* Kept the scan effect but maybe lighter? */
|
2026-01-28 21:44:47 +08:00
|
|
|
content: '';
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
right: 0;
|
|
|
|
|
height: 1px;
|
2026-01-29 10:01:41 +08:00
|
|
|
background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.6), transparent);
|
2026-01-29 01:15:16 +08:00
|
|
|
animation: scan 4s infinite ease-in-out;
|
2026-01-29 10:01:41 +08:00
|
|
|
filter: drop-shadow(0 0 4px rgba(251, 191, 36, 0.4));
|
2026-01-28 21:44:47 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@keyframes scan {
|
|
|
|
|
0% {
|
|
|
|
|
transform: translateX(-100%);
|
|
|
|
|
}
|
|
|
|
|
|
2026-01-29 01:15:16 +08:00
|
|
|
50%,
|
2026-01-28 21:44:47 +08:00
|
|
|
100% {
|
|
|
|
|
transform: translateX(100%);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.daily-insight__header {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
2026-01-29 01:15:16 +08:00
|
|
|
gap: 0.75rem;
|
|
|
|
|
color: #d97706;
|
2026-01-29 10:01:41 +08:00
|
|
|
font-weight: 700;
|
|
|
|
|
/* Reduced from 800 */
|
|
|
|
|
font-size: 0.9rem;
|
|
|
|
|
/* Slightly bigger */
|
|
|
|
|
text-transform: none;
|
|
|
|
|
/* Remove uppercase */
|
|
|
|
|
letter-spacing: 0.02em;
|
|
|
|
|
padding-bottom: 1rem;
|
|
|
|
|
border-bottom: 1px solid rgba(245, 158, 11, 0.15);
|
2026-01-28 21:44:47 +08:00
|
|
|
}
|
|
|
|
|
|
2026-01-29 07:39:46 +08:00
|
|
|
/* ... */
|
|
|
|
|
|
2026-01-28 21:44:47 +08:00
|
|
|
.daily-insight__content {
|
|
|
|
|
display: grid;
|
|
|
|
|
grid-template-columns: 1fr 1px 1fr;
|
2026-01-29 10:01:41 +08:00
|
|
|
gap: 2rem;
|
|
|
|
|
/* Wider gap */
|
2026-01-29 07:39:46 +08:00
|
|
|
align-items: stretch;
|
2026-01-29 10:01:41 +08:00
|
|
|
padding-top: 1.25rem;
|
2026-01-28 21:44:47 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.daily-insight__divider {
|
|
|
|
|
width: 1px;
|
2026-01-29 10:01:41 +08:00
|
|
|
height: 100%;
|
|
|
|
|
background: linear-gradient(to bottom, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.02));
|
2026-01-28 21:44:47 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.daily-insight__section {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
2026-01-29 01:15:16 +08:00
|
|
|
gap: 0.75rem;
|
2026-01-28 21:44:47 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.daily-insight__title {
|
2026-01-29 10:01:41 +08:00
|
|
|
font-size: 0.8rem;
|
|
|
|
|
color: var(--color-text-tertiary);
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
letter-spacing: 0.02em;
|
2026-01-29 01:15:16 +08:00
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 0.5rem;
|
2026-01-28 21:44:47 +08:00
|
|
|
}
|
|
|
|
|
|
2026-01-29 01:15:16 +08:00
|
|
|
.daily-insight__title::before {
|
|
|
|
|
content: '';
|
|
|
|
|
display: block;
|
|
|
|
|
width: 6px;
|
|
|
|
|
height: 6px;
|
|
|
|
|
border-radius: 50%;
|
2026-01-29 10:01:41 +08:00
|
|
|
background: #fcd34d;
|
|
|
|
|
/* Lighter amber */
|
|
|
|
|
box-shadow: 0 0 0 2px rgba(251, 191, 36, 0.2);
|
2026-01-28 21:44:47 +08:00
|
|
|
}
|
|
|
|
|
|
2026-01-29 01:15:16 +08:00
|
|
|
.daily-insight__text {
|
|
|
|
|
font-family: 'Outfit', sans-serif;
|
|
|
|
|
font-size: 1rem;
|
|
|
|
|
color: var(--color-text);
|
2026-01-29 10:01:41 +08:00
|
|
|
line-height: 1.7;
|
|
|
|
|
/* More breathing room */
|
2026-01-29 01:15:16 +08:00
|
|
|
letter-spacing: 0.01em;
|
2026-01-28 21:44:47 +08:00
|
|
|
}
|
|
|
|
|
|
2026-01-29 01:15:16 +08:00
|
|
|
@media (max-width: 768px) {
|
2026-01-29 07:39:46 +08:00
|
|
|
.daily-insight-card {
|
|
|
|
|
padding: 1.25rem;
|
|
|
|
|
margin-bottom: 1.5rem;
|
|
|
|
|
}
|
|
|
|
|
|
2026-01-28 21:44:47 +08:00
|
|
|
.daily-insight__content {
|
|
|
|
|
grid-template-columns: 1fr;
|
|
|
|
|
grid-template-rows: auto auto auto;
|
2026-01-29 07:39:46 +08:00
|
|
|
gap: 1.25rem;
|
2026-01-28 21:44:47 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.daily-insight__divider {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 1px;
|
2026-01-29 01:15:16 +08:00
|
|
|
min-height: 1px;
|
|
|
|
|
background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.06), transparent);
|
2026-01-29 07:39:46 +08:00
|
|
|
margin: 0.5rem 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.daily-insight__text {
|
|
|
|
|
font-size: 0.95rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.daily-insight__tip {
|
|
|
|
|
padding: 0.875rem 1rem;
|
|
|
|
|
font-size: 0.85rem;
|
2026-01-28 21:44:47 +08:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.daily-insight__loading-badge {
|
|
|
|
|
font-size: 0.7rem;
|
2026-01-29 01:15:16 +08:00
|
|
|
color: #d97706;
|
|
|
|
|
background: rgba(251, 191, 36, 0.1);
|
|
|
|
|
padding: 2px 8px;
|
|
|
|
|
border-radius: 12px;
|
2026-01-28 21:44:47 +08:00
|
|
|
margin-left: auto;
|
2026-01-29 01:15:16 +08:00
|
|
|
font-weight: 600;
|
|
|
|
|
animation: pulse 2s infinite ease-in-out;
|
2026-01-28 21:44:47 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@keyframes pulse {
|
|
|
|
|
|
|
|
|
|
0%,
|
|
|
|
|
100% {
|
|
|
|
|
opacity: 0.6;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
50% {
|
|
|
|
|
opacity: 1;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.animate-fade-in {
|
2026-01-29 01:15:16 +08:00
|
|
|
animation: fadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1);
|
2026-01-28 21:44:47 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.section-header-row {
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
align-items: center;
|
2026-01-29 07:39:46 +08:00
|
|
|
margin-bottom: 4px;
|
2026-01-28 21:44:47 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.week-diff-badge {
|
|
|
|
|
font-size: 0.7rem;
|
2026-01-29 01:15:16 +08:00
|
|
|
padding: 2px 8px;
|
|
|
|
|
border-radius: 12px;
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
letter-spacing: -0.01em;
|
2026-01-29 07:39:46 +08:00
|
|
|
white-space: nowrap;
|
2026-01-28 21:44:47 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.week-diff-badge.green {
|
2026-01-29 01:15:16 +08:00
|
|
|
background: rgba(16, 185, 129, 0.15);
|
|
|
|
|
color: #059669;
|
|
|
|
|
/* Emerald 600 */
|
2026-01-28 21:44:47 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.week-diff-badge.red {
|
|
|
|
|
background: rgba(239, 68, 68, 0.1);
|
2026-01-29 01:15:16 +08:00
|
|
|
color: #DC2626;
|
|
|
|
|
/* Red 600 */
|
2026-01-29 00:11:14 +08:00
|
|
|
}
|
|
|
|
|
|
2026-01-29 01:15:16 +08:00
|
|
|
/* Emoji badge */
|
2026-01-29 00:11:14 +08:00
|
|
|
.daily-insight__emoji {
|
2026-01-29 01:15:16 +08:00
|
|
|
font-size: 1.5rem;
|
2026-01-29 00:11:14 +08:00
|
|
|
margin-left: auto;
|
2026-01-29 07:39:46 +08:00
|
|
|
filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
|
2026-01-29 01:15:16 +08:00
|
|
|
animation: bounce 1s cubic-bezier(0.34, 1.56, 0.64, 1);
|
2026-01-29 00:11:14 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@keyframes bounce {
|
|
|
|
|
|
|
|
|
|
0%,
|
|
|
|
|
100% {
|
|
|
|
|
transform: scale(1);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
50% {
|
2026-01-29 01:15:16 +08:00
|
|
|
transform: scale(1.2) rotate(10deg);
|
2026-01-29 00:11:14 +08:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Tip section at bottom */
|
2026-01-29 07:39:46 +08:00
|
|
|
.daily-insight__footer {
|
2026-01-29 10:01:41 +08:00
|
|
|
margin-top: 0;
|
|
|
|
|
/* Remove margin relative to content, let padding handle it */
|
2026-01-29 07:39:46 +08:00
|
|
|
position: relative;
|
2026-01-29 10:01:41 +08:00
|
|
|
padding-top: 1.5rem;
|
|
|
|
|
border-top: none;
|
|
|
|
|
/* Remove dashed line */
|
2026-01-29 07:39:46 +08:00
|
|
|
}
|
|
|
|
|
|
2026-01-29 00:11:14 +08:00
|
|
|
.daily-insight__tip {
|
|
|
|
|
display: flex;
|
2026-01-29 10:01:41 +08:00
|
|
|
align-items: flex-start;
|
|
|
|
|
/* Align top for multi-line */
|
|
|
|
|
gap: 0.75rem;
|
|
|
|
|
font-size: 0.9rem;
|
2026-01-29 01:15:16 +08:00
|
|
|
color: #92400e;
|
|
|
|
|
font-weight: 500;
|
2026-01-29 10:01:41 +08:00
|
|
|
padding: 1rem 1.25rem;
|
|
|
|
|
background: linear-gradient(135deg, rgba(255, 251, 235, 0.8), rgba(254, 243, 199, 0.4));
|
|
|
|
|
border: 1px solid rgba(251, 191, 36, 0.2);
|
2026-01-29 07:39:46 +08:00
|
|
|
border-radius: var(--radius-lg);
|
2026-01-29 10:01:41 +08:00
|
|
|
width: 100%;
|
|
|
|
|
/* Full width */
|
|
|
|
|
line-height: 1.6;
|
|
|
|
|
box-shadow: 0 2px 6px -2px rgba(245, 158, 11, 0.05);
|
2026-01-29 00:11:14 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.daily-insight__tip svg {
|
2026-01-29 01:15:16 +08:00
|
|
|
color: #d97706;
|
|
|
|
|
/* Amber 600 */
|
2026-01-29 00:11:14 +08:00
|
|
|
flex-shrink: 0;
|
2026-01-28 21:44:47 +08:00
|
|
|
}
|