.welcome-panel-wrapper {
    width: 100%;
    margin-bottom: 10px;
}

.welcome-panel-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 12px;
}

.welcome-card,
.stat-card,
.clock-card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 16px;
    border: 1px solid var(--border-primary);
}

.welcome-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.welcome-header {
    text-align: center;
}

.date-label {
    display: block;
    font-size: 15px;
    color: var(--text-tertiary);
    margin-bottom: 6px;
    font-weight: 600;
}

.date-text {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.greeting-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.greeting-image {
    max-width: 100%;
    border-radius: var(--border-radius);
}

.weekend-hint {
    text-align: center;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.5;
    font-weight: 600;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

.stats-grid .stat-card:nth-child(1),
.stats-grid .stat-card:nth-child(2) {
    grid-column: span 3;
}

.stats-grid .stat-card:nth-child(3),
.stats-grid .stat-card:nth-child(4),
.stats-grid .stat-card:nth-child(5) {
    grid-column: span 2;
}

.stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon svg {
    width: 20px;
    height: 20px;
}

.stat-icon-pink {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.15), rgba(236, 72, 153, 0.05));
    color: #ec4899;
}

.stat-icon-red {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(239, 68, 68, 0.05));
    color: #ef4444;
}

.stat-icon-orange {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.15), rgba(249, 115, 22, 0.05));
    color: #f97316;
}

.stat-icon-yellow {
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.15), rgba(234, 179, 8, 0.05));
    color: #eab308;
}

.stat-icon-blue {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(59, 130, 246, 0.05));
    color: #3b82f6;
}

.stat-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    word-break: break-all;
    text-align: center;
}

.stat-label {
    text-align: center;
}

.stat-label-bg {
    display: inline-block;
    padding: 3px 10px;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.1), rgba(236, 72, 153, 0.05));
    color: #ec4899;
    border-radius: 16px;
    font-size: 11px;
    font-weight: 500;
}

.clock-card {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 240px;
}

.clock-svg {
    position: absolute;
    width: 100%;
    height: 100%;
    max-width: 240px;
    max-height: 240px;
    transform: rotate(-90deg);
}

.clock-ring-bg,
.clock-ring {
    fill: none;
    stroke-width: 10;
}

.clock-ring-1-bg {
    stroke: rgba(139, 92, 246, 0.3);
}

.clock-ring-2-bg {
    stroke: rgba(59, 130, 246, 0.3);
}

.clock-ring-3-bg {
    stroke: rgba(249, 115, 22, 0.3);
}

.clock-ring-4-bg {
    stroke: rgba(236, 72, 153, 0.3);
}

.clock-ring {
    stroke-linecap: round;
    transition: stroke-dashoffset 0.1s linear;
}

.clock-ring-1 {
    stroke: #8b5cf6;
    transition: none;
}

.clock-ring-2 {
    stroke: #3b82f6;
}

.clock-ring-3 {
    stroke: #f97316;
}

.clock-ring-4 {
    stroke: #ec4899;
}

.clock-center {
    position: relative;
    z-index: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    width: 86px;
    height: 86px;
    border-radius: 50%;
    justify-content: center;
}

.clock-day {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    font-size: 10px;
    color: var(--text-tertiary);
    font-weight: 500;
}

.clock-date {
    font-size: 9px;
    color: var(--text-secondary);
}

.clock-time {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
}

.clock-period {
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: 500;
}

@media (max-width: 1200px) {
    .welcome-panel-grid {
        grid-template-columns: 1fr 1.5fr 1fr;
    }
    
    .clock-card {
        grid-column: span 1;
        min-height: 240px;
    }
}

@media (max-width: 768px) {
    .welcome-panel-grid {
        grid-template-columns: 1fr;
    }
    
    .clock-card {
        display: none;
    }
    
    .stats-grid {
        grid-template-columns: repeat(6, 1fr);
    }
    
    .stats-grid .stat-card:nth-child(1),
    .stats-grid .stat-card:nth-child(2) {
        grid-column: span 3;
    }
    
    .stats-grid .stat-card:nth-child(3),
    .stats-grid .stat-card:nth-child(4),
    .stats-grid .stat-card:nth-child(5) {
        grid-column: span 2;
    }
    
    .clock-time {
        font-size: 18px;
    }
    
    .stat-value {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .stat-value {
        font-size: 18px;
    }
    
    .clock-time {
        font-size: 18px;
    }
}
